Chuyển đến nội dung chính
POST

Ủy quyền

Authorization
string
header
bắt buộc

Workspace API key with role viewer (read) or editor (read + write). Example (fake): smk_0a1b2c3d_ExampleFakeKeyForDocsOnly_0123456789abcZ. Created by a workspace admin on the web; shown once.

Nội dung

application/json
channel_ids
string[]
bắt buộc

Platform channel ids of the key's workspace. Duplicates dropped.

Required array length: 1 - 50 elements
Required string length: 1 - 100
content
string
bắt buộc

Not blank. Max 63206 chars; Instagram 2200; Threads 500 (UTF-8 bytes).

id_thirdparty
string
bắt buộc

Your unique id for this post (idempotency). Must not start with retry:.

Required string length: 1 - 200
media
object

type 1 = images (1-10 items, Threads up to 20), 2 = one video. Only these fields are read.

facebook_setting
object
instagram_setting
object
threads_setting
object
youtube_setting
object

Applies to YouTube channels; needs media.type = 2.

scheduled_at
integer | null

Unix seconds. Omitted/null/past = now; max 30 days ahead.

comment_seedings
object

Empty object or empty comments = none.

Phản hồi

id_thirdparty already used - the existing post, duplicate: true. Nothing created.

success
boolean
bắt buộc
message
string
bắt buộc
Ví dụ:

"Operation successful"

data
object
bắt buộc
timestamp
string<date-time>
bắt buộc
meta
object | null