Skip to main content
POST
Create or schedule a post

Authorizations

Authorization
string
header
required

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

Body

application/json

Post content and target accounts

first_comment
string

FirstComment is auto-posted as the first comment after publishing (Instagram, Facebook, YouTube). Ignored by every other platform, and by Facebook Page Stories.

Example:

"Follow us for more updates!"

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 previously uploaded media file IDs to attach.

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.

publish_now
boolean

PublishNow publishes immediately when targets are provided (ignores scheduled_at). Without this flag (and without scheduled_at) the post is saved as a draft; publish it later with POST /posts/{pid}/publish.

Example:

false

scheduled_at
string

ScheduledAt queues the post for future publication (RFC3339). When set, the post is scheduled rather than drafted.

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.

skip_duplicate_check
boolean

SkipDuplicateCheck bypasses the duplicate content detection.

Example:

false

skip_validation
boolean

SkipValidation bypasses pre-publish validation. The post is scheduled/published as-is and may fail at the platform.

Example:

false

targets
object[]

Targets specifies which connected accounts to publish to, with optional per-target overrides.

text
string

Text is the post body content. Required.

Example:

"Check out our new product launch! #newproduct"

title
string

Title is an optional post title (used by LinkedIn, Google).

Example:

"Exciting News from Acme Corp"

visibility
enum<string>

Visibility controls who can see the post. Platform-dependent values: public, private, connections_only, logged_in.

Available options:
public,
private,
connections_only,
logged_in
Example:

"public"

Response

Post accepted (publishing in background), scheduled, or drafted

created_at
string
Example:

"2026-03-14T09:00:00Z"

hidden
boolean
Example:

false

id
string
Example:

"p_01HZ9X3Q4R5M6N7P8V2K0W1J"

media
object[]
media_ids
string[]

Deprecated: use media.

published_at
string
Example:

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

retry_count
integer
Example:

0

scheduled_at
string
Example:

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

status
enum<string>
Available options:
draft,
scheduled,
publishing,
published,
partial,
failed,
cancelled
Example:

"published"

targets
object[]
text
string
Example:

"Check out our new product launch!"

title
string
Example:

"Exciting News"

updated_at
string
Example:

"2026-03-14T09:00:00Z"

visibility
enum<string>
Available options:
public,
private,
connections_only,
logged_in
Example:

"public"