businesses

Update recipe

Update a recipe (preset). PATCH merge — only the fields you send change.

Errors: 400 invalid_request: No fields were given to update. 401 authentication_required: API key or token is missing, invalid, or revoked. 403 permission_denied: Your plan does not include API access, or this recipe is not in your org. 404 resource_not_found: No recipe with that ID exists. 429 rate_limit_exceeded: You sent too many requests this minute.

patch/api/businesses/{business_id}/recipes/{recipe_id}

Request

  • Base URL: https://api.mymarky.ai
  • URL: https://api.mymarky.ai/api/businesses/{business_id}/recipes/{recipe_id}
  • Auth: HTTP bearer

Path parameters

business_idstring required

A UUID identifier.

recipe_idstring required

A UUID identifier.

Headers

Marky-Version'2026-04-08' | '2026-07-17' | '2026-08-02' | '2026-08-04' | '2026-08-06'
Example:2026-08-06

Opt into a dated API version. Omit to stay on the floor (2026-04-08) forever — unpinned clients never break. Pin to a newer date (e.g. 2026-08-06) to receive the newest response shapes. Unknown values fall back to the floor. See https://docs.mymarky.ai for the versioning model.

Request body

namestring nullable

Recipe name.

savedboolean nullable

Whether the preset is saved/pinned.

promptstring nullable

Freeform brief the preset generates from.

creative_typestring nullable

Default creative type (e.g. 'design', 'carousel', 'meme').

template_idsstring[] nullable

Templates the preset generates with.

aspect_ratiostring nullable

Aspect ratio, e.g. '1:1', '9:16', '4:5'.

voicestring nullable

Brand voice override for this preset.

caption_suffixstring nullable

Text appended to every generated caption.

caption_instructionsstring nullable

Extra caption-writing instructions.

custom_caption_promptstring nullable

Custom caption-generation prompt.

custom_meme_promptstring nullable

Custom meme-generation prompt.

custom_carousel_promptstring nullable

Custom carousel-generation prompt.

ctasstring[] nullable

Call-to-action phrases for designs.

include_stockboolean nullable

Whether stock photos may be used.

logo_enabledboolean nullable

Whether the logo is placed on designs.

audio_tagsstring[] nullable

Audio tags for video generation.

ai_image_modelstring nullable

AI image model to use.

post_countinteger nullable

How many posts a run generates.

auto_context_enabledboolean nullable

Whether auto-context is on.

Response

Successful Response

namestring nullable

Recipe name.

savedboolean nullable

Whether the preset is saved/pinned.

promptstring nullable

Freeform brief the preset generates from.

creative_typestring nullable

Default creative type (e.g. 'design', 'carousel', 'meme').

template_idsstring[] nullable

Templates the preset generates with.

aspect_ratiostring nullable

Aspect ratio, e.g. '1:1', '9:16', '4:5'.

voicestring nullable

Brand voice override for this preset.

caption_suffixstring nullable

Text appended to every generated caption.

caption_instructionsstring nullable

Extra caption-writing instructions.

custom_caption_promptstring nullable

Custom caption-generation prompt.

custom_meme_promptstring nullable

Custom meme-generation prompt.

custom_carousel_promptstring nullable

Custom carousel-generation prompt.

ctasstring[] nullable

Call-to-action phrases for designs.

include_stockboolean nullable

Whether stock photos may be used.

logo_enabledboolean nullable

Whether the logo is placed on designs.

audio_tagsstring[] nullable

Audio tags for video generation.

ai_image_modelstring nullable

AI image model to use.

post_countinteger nullable

How many posts a run generates.

auto_context_enabledboolean nullable

Whether auto-context is on.

idstring required

Recipe ID

business_idstring nullable

Business this recipe belongs to

created_atstring required

When the recipe was created

updated_atstring nullable

Last update time

Changes

No recorded changes to this operation across all 1 revision of this API.