Skip to main content
POST
Validate post content

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...

Body

application/json

Content to validate

account_ids
string[]

AccountIDs lists connected account IDs - their platforms are resolved automatically.

media
object[]

Media is the ordered, agnostic media list. Each item is a url, a media_id, or a platform_attachment_id; order and mixing are preserved. Supersedes media_ids.

media_ids
string[]

MediaIDs are media file IDs to validate (checks count and type limits).

Deprecated: use Media with source_type "media_id". Ignored when media is set.

platform_data
object

PlatformData passes platform-specific fields keyed by platform name (e.g. {"instagram": {"content_type": "feed"}}). Folded into each matching target; a target's own platform_data wins on conflicts.

platforms
string[]

Platforms lists platform names to validate against (e.g. ["instagram", "linkedin"]).

scheduled_at
string

ScheduledAt validates the schedule time (must be in the future, within platform limits).

Example:

"2026-04-01T10:00:00Z"

segments
object[]

Segments are continuation posts that publish as a native thread on X. Threads chaining is temporarily unavailable.

targets
object[]

Targets validates per-target overrides if provided.

text
string

Text is the post content to validate against platform constraints.

Example:

"Check out our new product! #launch"

Response

OK

errors
object[]
valid
boolean
warnings
object[]