REST APIEndpoint reference
Publish or schedule a post
POST
bearerAuthheader
AuthorizationBearer <token>Idempotency-Key*stringapplication/json- body
confirm?booleanMust be true, sent only after the user's explicit yes to this text, these destinations and this time.
destinations*array<>1 to 5 destinations.
offset_minutes?|Minutes east of UTC, only to pick one of the two times a daylight-saving change
repeats (e.g. 120 or 60); omit otherwise.
Format
int32schedule_at?|Local time YYYY-MM-DDTHH:mm to schedule; omit to publish now.
text*stringThe post text.
timezone?|IANA timezone for schedule_at, e.g. Europe/Berlin.
application/json- response
deliveries*array<>post_id*stringPass to get_post for delivery status.
curl -X POST 'https://beta.app.tubeonai.com/v1/ai/posts' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "destinations": [ { "id": "string" } ], "text": "string"}'Example Response
{ "deliveries": [ { "destination_id": "string", "id": "string", "status": "string" } ], "post_id": "string"}