Skip to main content
POST
cURL
所有目标账号必须属于请求来源。幂等命中也校验已存来源与账号集合;不符返回 409。媒体预签名仍依赖 Zernio,不是官方独立上传链路。 provider 必填,仅允许 tiktok_directzernio,表示操作范围,不能改写已存来源。缺失或未知值返回 400 invalid-provider 使用 OmniMux 用户 access token 和 New-Api-User,不是 sk- 密钥。同时检查 HTTP 状态和 success;部分上游错误仍返回 HTTP 200、success:false

授权

Authorization
string
header
必填

OmniMux user access token, not an sk- API key.

New-Api-User
string
header
必填

Current authenticated user ID.

请求头

Idempotency-Key
string

Replay must match both source and account set. X-Idempotency-Key is also accepted.

请求体

application/json
provider
enum<string>
必填

Required expected source; never changes the stored account or post provider.

可用选项:
tiktok_direct,
zernio
account_ids
integer<int64>[]
必填

Owned OmniMux account IDs, all belonging to the requested source. Official publishing supports one account.

Minimum array length: 1
content
string

Caption. Use content, not text.

publish_now
boolean
默认值:true
scheduled_for
string

Setting this makes publish_now false.

timezone
string
queued
boolean
默认值:false
media_items
object[]

Official TikTok requires media. Existing provider-specific media and scheduling behavior applies.

响应

Check success before reading data. Generic upstream errors may use HTTP 200 with success:false.

success
enum<boolean>
必填
可用选项:
true
data
object
必填