Get All User Recipes

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

This endpoint allows to get all user saved recipes.

Parameters

ATTRIBUTETYPEDESCRIPTION
limitinteger

This is the maximum number of objects that may be returned

Default value: 16
beforestring

This is the cursor to return data on a page before it.

afterstring

This is the cursor to return data on a page before it.

Sample Request

curl "https://graph.whisk.com/v1beta/recipes" \ -H "Accept: application/json" \ -H "Authorization: Bearer <Access-Token>"

Response

The result is a list of all user recipes.

Sample Response

{ "recipes": [ { "collection": { "id": "97f77cceca5d11e7ae7e42010a9a0035", "name": "My faivorite recipes" }, "content": { "id": "97f77cceca5d11e7ae7e42010a9a0035", "name": "Quick coronation chicken sandwich", "description": "Use leftover roast chicken to make a delicious coronation chicken sandwich ready to pack in your lunchbox.", "images": [ { "url": "http://cdnwp.audiencemedia.com/wp-content/uploads/2015/01/478091-1-eng-GB_coronation-chick-sandwich-470x540.jpg", "responsive": { "url": "https://lh3.googleusercontent.com/crjY_vyxK8kdBYYBd6VVtlGwIXuG3pn9DuCSWP4-_VtURbrYfpKPrYDMmrlCwc8kqSAsgCBtjhqU2C7PEjU0wMDh4FSK", "width": 470, "height": 540 } }, { "url": "http://cdnwp.audiencemedia.com/wp-content/uploads/2015/01/478091-1-eng-GB_coronation-chick-sandwich.jpg", "responsive": { "url": "https://lh3.googleusercontent.com/fz02xdShfu1ax6ZZLhMp2zn7WwGXN7XlVx6ZXR8X_uN-x5DEdCW_Q9tIacitVtyI-yIkxZ6-nqpLCQIrPNijwM4wIPg", "width": 960, "height": 927 } } ], "source": { "name": "deliciousmagazine.co.uk", "displayName": "delicious. magazine", "sourceRecipeUrl": "http://www.deliciousmagazine.co.uk/recipes/quick-coronation-chicken-sandwich/", "license": "Fairuse" }, "numberOfServings": 1, "labels": { "mealType": [], "cuisine": [], "category": [ { "name": "quick-and-easy", "displayName": "Quick and easy" } ] } }, "matchedIngredients": [ { "name": "meat" }, { "name": "bread" } ] }, { "content": { "id": "99a8776cca5d11e7ae7e42010a9a0035", "name": "Club sandwich", "description": "This layered sandwich, a favourite of gastro-pubs across the country, makes a tasty meal for one", "images": [ { "url": "https://www.bbcgoodfood.com/sites/default/files/styles/recipe/public/recipe_images/recipe-image-legacy-id--653594_11.jpg", "responsive": { "url": "https://lh3.googleusercontent.com/ZMk_3U8-5UbbwTFxXhHxuorv1KGB5ll5HG--2Ru1UuAZ9-uFOrNa_fNq5CfyssAAJbUKy8Rpno_-kpi3F_VZI721w6Q", "width": 500, "height": 454 } } ], "source": { "name": "bbcgoodfood.com", "displayName": "BBC Good Food", "sourceRecipeUrl": "https://www.bbcgoodfood.com/recipes/1363639/club-sandwich", "license": "Fairuse" }, "numberOfServings": 1, "durations": { "cookTime": 10, "prepTime": 10, "totalTime": 20 }, "labels": { "mealType": [], "cuisine": [ { "name": "british", "displayName": "British" } ], "category": [ { "name": "dinner", "displayName": "Dinner" }, { "name": "quick-and-easy", "displayName": "Quick and easy" }, { "name": "appetizers-and-snacks", "displayName": "Appetizers and Snacks" }, { "name": "lunch", "displayName": "Lunch" }, { "name": "main-dishes", "displayName": "Main Dishes" } ] } }, "matchedIngredients": [ { "name": "bread" }, { "name": "meat" } ] } ], "paging": { "cursors": { "after": "eyJpZCI6ImNhZjVlOWY3Y2YxNzFkYjBmZTdkYjJmOTM4M2M0ZDIzIiwiaW5kZXgiOjF9" } } }