Edit a still-scheduled post: time, text, media, settings, first comment, or the target account (same platform).

patch/api/posts/{id}

Request

  • Base URL: https://shapelessai.com
  • URL: https://shapelessai.com/api/posts/{id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://shapelessai.com/api/auth/mcp/authorize, token URL https://shapelessai.com/api/auth/mcp/token, scopes: write)

Path parameters

idstring required

Request body

scheduledAtstring date-time
postTextstring
mediaKeysstring[]
settingsobject
connectionIdstring

Another connected account on the same platform.

firstCommentstring nullable

null clears it.

Response

OK

idstring required
connectionIdstring nullable
platformstring nullable
postTextstring required
mediaKeysstring[]
scheduledAtstring date-time required
status'proposed' | 'scheduled' | 'publishing' | 'published' | 'handoff' | 'failed' | 'canceled' required
settingsobject nullable
firstCommentstring nullable
firstCommentUrlstring nullable

Where the first comment landed, once it did.

firstCommentErrorstring nullable

Set when the post published but its first comment did not.

publishedLocationstring nullable
errorstring nullable
handoffNotestring nullable
rationalestring nullable
inspirationobject nullable
metricsobject nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.