posts

Edit a post's design

Edit a post's design with a plain-language instruction, then re-render.

Example instructions: "make the headline tan", "center the logo", "shrink the body text". We turn the instruction into typed edits, apply + render + save them, and sync the new image onto the post. Renders synchronously.

Errors: 400 invalid_value: The business_id or post_id is not a valid UUID. 400 invalid_request: This post has no design to edit. 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 or post with that ID exists in this business. 429 rate_limit_exceeded: You sent too many requests this minute.

post/api/businesses/{business_id}/posts/{post_id}/design/edit

Request

  • Base URL: https://api.mymarky.ai
  • URL: https://api.mymarky.ai/api/businesses/{business_id}/posts/{post_id}/design/edit
  • Auth: HTTP bearer

Path parameters

business_idstring required

A UUID identifier.

post_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

instructionstring required

What to change, e.g. 'make the headline tan' or 'center the logo'.

Response

Successful Response

post_idstring required

The post that was edited.

design_idstring required

The design that was edited.

rendered_urlstring nullable

URL of the final rendered design image.

media_urlsstring[]

Full media URLs written back to the post.

summarystring required

Short description of what changed.

appliedinteger required

Number of edits successfully applied.

errorsstring[]

Edits that could not be applied.

Changes

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