Update an existing post in your publication. The publication is identified by the API key provided in the Authorization header.
Behavior:
markdown is provided, it replaces the full content. Rich blocks (embeds, buttons, callouts) created in the editor will be lost — the markdown to editor conversion is lossy for blocks without a markdown equivalentstatus to "published" to publish a draft, "draft" to unpublish, or "archived" to archiveAPI key for authenticating protected endpoints. Pass as Bearer token in Authorization header.
Unique identifier of the post to update
Body
Post content in Markdown format. Replaces full content — rich blocks created in the editor will be lost
Title of the post
200Optional subtitle or brief summary
300URL-friendly identifier for the post
1 - 256Preview text for the post
500Category tags for the post. Can also be a comma-separated string.
Set to 'published' to publish, 'draft' to unpublish, or 'archived' to archive
draft, published, archived Post updated successfully
Whether the update succeeded
true