Create a post (draft, scheduled, queued, or published now)

Draft by default. Set published: true to publish now, scheduledFor to publish at a time, or queueStatus to add it to the interval queue (pending waits for approval).

post/api/posts

Request

  • Base URL: https://octopost.ink
  • URL: https://octopost.ink/api/posts
  • Auth: HTTP bearer

Request body

contentstring required

Main post text. X counts links as 23 characters.

platformsPlatform[] required
scheduledForstring date-time nullable

ISO 8601 with a timezone offset.

publishedboolean

true = publish now.

queueStatus'queued' | 'pending' | 'null' nullable

queued = interval queue; pending = wait for approval.

Response

Created. publishResults is present when published now.

successboolean

Changes

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