Add recipe to favorites

This API avialable only for user access-token integration
POST
/v1beta/recipes

This endpoint allows to add favorite recipe.

It will return 400 error code if a limit of allowed number of saved recipes is exceeded.

Request Body

ATTRIBUTETYPEDESCRIPTION
recipeId*string

Identifier of a Recipe to add.

collectionIdstring

Collection for this recipe. If not specified it will add recipe without collection

Sample Request

curl "https://graph.whisk.com/v1beta/recipes" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <Access-Token>" \ -d '{ "recipeId": "3d4fda8595114a3a9f7b12fd471a4169" }'

Response

Sample Response

{ "ok": true }