API referencePosts
POST /posts
Create a post (draft, scheduled or published now)
POST
BearerAuthheader
AuthorizationBearer <token>API key sk_...
x-request-id?stringIdempotency key (max 200 chars)
application/json- body
content*stringLength
length <= 40000platforms*array<>Items
1 <= items <= 20scheduledFor?stringISO 8601 with time zone
Format
date-timepublishNow?booleanPublish live now (subject to approval). Without publishNow or scheduledFor the post is a draft
Idempotent replay (same x-request-id)
curl -X POST 'https://example.com/api/v1/posts' \ -H 'Content-Type: application/json' \ -d '{ "content": "string", "platforms": [ { "accountId": "string" } ]}'Example Response
Empty