Create A Recipe

This API available only for user access-token integration

Endpoint allows building recipe from scratch.

Request parameters

Request Body

Recipe Payload

Response

RawIngredient

NormalizedIngredient

RecipeIngredientAnalysis

RecipeInstruction

RecipeInstructions

ProductCategory

ImageContainer

ResponsiveImage

OriginalImage

RecipeSource

RecipeLabels

RecipeLabel

Some RecipeLabel description

RecipeDurations

RecipeConstraints

ConstraintsCollection

RecipeSaved

RecipeAuthor

Sample Request

curl -X POST "https://graph.whisk.com/v1/recipes" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token Access-Token>" \
  -d '{
    "collectionIds": [
      "97f77cceca5d11e7ae7e42010a9a0035"
    ],
    "payload": {
      "name": "Home made pasta",
      "description": "Pasta with tomato souce",
      "ingredients": [
        {
          "text": "Pappardelle pasta"
        },
        {
          "text": "5 tomatoes"
        },
        {
          "text": "3tbs of olive oil"
        }
      ]
    }
  }'

Sample Response

{
  "recipe": {
    "id": "1070c26c320ce194efca97093e72517b4e7",
    "name": "Home made pasta",
    "description": "Pasta with tomato sauce",
    "ingredients": [
      {
        "text": "Pappardelle pasta"
      },
      {
        "text": "5 tomatoes"
      },
      {
        "text": "3tbs of olive oil"
      }
    ],
    "saved": {
      "value": true,
      "collectionIds": [
        "cd037513c9e149a1b707e85eab1fc7f6"
      ],
      "owner": true,
      "type": "manual"
    }
  },
  "status": "success"
}

Last updated