PATCH
/v1/content/{contentId}

Rename a piece of content, replace its body, or both.

Replacement, not a merge: body replaces the artifact entirely, in the same shape the kind takes on create. Send the whole thing, not just the part that changed. Media already attached to the draft is the one exception — you can't send it back, so it's carried over rather than dropped.

Scheduled pieces are locked: if a send is queued or already running for this piece, its words go out exactly as written, so an edit to body is refused with an explanation. Cancel the schedule in the app first. Renaming is always allowed — a title isn't published anywhere.

Grouping: bucketId files this piece with the post it was made from. A piece already grouped somewhere else is refused with a 409 rather than moved — ungroup it in the app first.

Authorization

apiKey
headerAuthorizationBearer <token>

API key for authenticating protected endpoints. Pass as Bearer token in Authorization header.

Path Parameters

contentId*string

Unique identifier of the content

Request Body

Body

application/json
  1. body
title?string

New name for this piece in your library

Length1 <= length <= 200
body?

The replacement artifact, in the shape this piece's kind uses

bucketId?string

Group this piece with the post it was made from, so the writer sees them together in Content. Get the id from POST /v1/posts/{postId}/bucket. Omit for standalone work that isn't derived from anything.

Formatuuid

Response Body

Content updated successfully

application/json
  1. response
id*string

Unique identifier for this piece of content

kind*string

What this piece is: tweet, linkedin, newsletter, or x_article

title*string

What this piece is called in your library

excerpt*string

First readable line of the body, for listing views

status*string

Whether this piece has been delivered, is still a draft, or was archived

Value in"draft""published""archived"
scheduled*boolean

Whether a scheduled send is queued against this piece

lockedReason*|

Why this piece can't be edited right now, or null when it can. A queued or in-flight send locks the words, because they go out exactly as written.

publishedAt*|

ISO 8601 timestamp of the first delivery, or null

url*|

Where this piece went live, from the same delivery publishedAt came from. Null when it hasn't been delivered, and null by design for a channel that publishes no page: a custom email renders into the message itself, so there is no address to link to. Never guessed — a delivery whose id isn't shaped like its channel reports null rather than a link that would 404.

archivedAt*|

ISO 8601 timestamp of when this piece was archived, or null

bucketId*|

The bucket grouping this piece with the post it was made from, or null when it stands alone. Read it back with GET /v1/buckets/{bucketId}.

createdAt*string

ISO 8601 timestamp of creation

updatedAt*string

ISO 8601 timestamp of the last change

body*

The artifact itself, in the shape its kind uses

curl -X PATCH "https://example.com/v1/content/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "kind": "string",  "title": "string",  "excerpt": "string",  "status": "draft",  "scheduled": true,  "lockedReason": "string",  "publishedAt": "string",  "url": "string",  "archivedAt": "string",  "bucketId": "string",  "createdAt": "string",  "updatedAt": "string",  "body": {    "property1": null,    "property2": null  }}