Skip to main content

CreatePostResponse

idstring<uuid>

The created post ID

post_idstring<uuid>

Alias for id. Kept for back-compat.

statusstring

Possible values: [publishing, scheduled]

contentstring

Echoes the content you sent

account_idsinteger[]

Echoes the account IDs you sent. Same name as the request field — round-trip safe.

scheduled_forstring<date-time>nullable

UTC ISO 8601 timestamp when the post will publish. Same name as the request field. Always Z-suffixed UTC.

timezonestring

IANA timezone for display purposes. Always present, defaults to "UTC".

media_idsstring<uuid>[]

Echoes the media IDs you attached. Same name as the request field.

platform_contentobjectnullable

Echoes the platform_content you sent.

created_atstring<date-time>

When this post record was created (UTC). NOT the same as scheduled_forcreated_at is when you scheduled it, scheduled_for is when it will fire.

updated_atstring<date-time>
accounts_countinteger
messagestring
resultsobject[]

Per-platform publishing results (for immediate publishes)

CreatePostResponse
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"post_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "publishing",
"content": "string",
"account_ids": [
0
],
"scheduled_for": "2024-07-29T15:51:28.071Z",
"timezone": "string",
"media_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"platform_content": {},
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"accounts_count": 0,
"message": "string",
"results": [
{}
]
}