Skip to main content
PUT
Update post content

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Path Parameters

post_id
string
required

ID of the post, as returned in the content plan. Must be a UUID.

app_id
string
required

ID of the app.

Body

application/json
content
string
required

The post text to save, replacing whatever the post held before. Sanitized before it is stored, so XML or HTML tags, code fences, and lines starting system:, assistant:, or user: are removed.

Maximum string length: 50000
Example:

"Still tracking leads in a spreadsheet? I built the thing I wanted instead."

Response

Successful Response

The app's social content plan after the change.

plan
ContentPlan · object | null

The app's content plan, or null if it has none.