library

Search templates

Pick a template for this business, with the fields/slots you must fill.

Mirrors Max's search_template: returns one template (weighted toward least-recently-used) plus every text field and image slot to fill it. When has_image_slot=true but no template has a fillable image slot, returns 200 with error="no_image_slot_templates" (fall back to an image-only post).

Errors: 400 invalid_value: The business_id is not a valid UUID. 401 authentication_required: API key or token is missing, invalid, or revoked. 403 permission_denied: Your plan does not include API access, or this business is not in your org. 404 resource_not_found: No business with that ID exists. 429 rate_limit_exceeded: You sent too many requests this minute.

post/api/businesses/{business_id}/templates/search

Request

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

Path parameters

business_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

is_memeboolean nullable

True = only meme templates, False = only non-meme, None = any.

has_image_slotboolean nullable

True = only templates with a fillable photo slot. Use when you have an image to place.

Response

Successful Response

errorstring nullable

'no_image_slot_templates' when has_image_slot was requested but none exist.

messagestring nullable

Human guidance when error is set (e.g. use an image-only post).

Changes

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