Skip to content

Get a recipe

GET /v1/recipes/{id}

A recipe.

API key with the read scope.

Request

Terminal window
curl "https://api.formatjet.com/v1/recipes/rcp_01JBXA7M2P4R6T8V0X2Z4B6D8F" \
-H "Authorization: Bearer $FORMATJET_API_KEY"

Path parameters

FieldTypeDescription
id requiredstring

Responses

200 OK

The recipe

FieldTypeDescription
idstring
namestring
stepsobject[]
steps[].op"convert"
steps[].conversionstring
steps[].fromstring
steps[].tostring
steps[].optionsobject (map)
output_namestring | null
created_atstring
updated_atstring
Example
{
"id": "rcp_01JBXA7M2P4R6T8V0X2Z4B6D8F",
"name": "Word documents to Markdown",
"steps": [
{
"op": "convert",
"conversion": "word-to-pdf"
},
{
"op": "convert",
"conversion": "pdf-to-markdown"
}
],
"output_name": "{name}-text",
"created_at": "2026-11-16T09:00:00.000Z",
"updated_at": "2026-11-16T09:00:00.000Z"
}

Errors

Problem documents (application/problem+json); see Errors.

StatusCodeWhen
401unauthorizedNo API key, or one that’s unknown or revoked.
403forbiddenThe key lacks the read scope, or the plan has no API.
404not_foundNo recipe of this organization has this ID.
429rate_limitedMore requests than the plan allows in 10 seconds: wait Retry-After seconds.