Skip to main content
PATCH
Update a post

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

post_id
string
required

Post ID

Body

application/json

Updated content

first_comment
string

FirstComment replaces the auto-first-comment.

hidden
boolean

Hidden archives the post from default list views when true.

Example:

false

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 replaces the attached media files.

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.

queue_id
string | null

QueueID moves the post to another Queue, which gives it that Queue's earliest free time and frees its old one. Send null to take the post out of its Queue and keep its time. Send "default" for the Brand's default Queue.

Example:

"que_01J9Z8Y7X6W5V4T3S2R1Q0P9N8"

scheduled_at
string<date-time>

ScheduledAt changes the scheduled publication time (RFC3339).

Example:

"2026-04-02T14:00:00Z"

segments
object[]

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

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 replaces or updates per-platform target configuration.

text
string

Text replaces the post body. Only for draft/scheduled/failed posts.

Example:

"Updated post content"

title
string

Title replaces the post title.

Example:

"Updated Title"

visibility
enum<string>

Visibility changes who can see the post.

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

"public"

Response

Post updated

created_at
string<date-time>
required
Example:

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

hidden
boolean
required
Example:

false

id
string
required
Example:

"p_01HZ9X3Q4R5M6N7P8V2K0W1J"

queue_id
string | null
required

ID of the Queue the post is in. null when the post is not queued.

Example:

"que_01J9Z8Y7X6W5V4T3S2R1Q0P9N8"

retry_count
integer
required
Example:

0

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

"published"

text
string | null
required
Example:

"Check out our new product launch!"

updated_at
string<date-time>
required
Example:

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

media
object[]
media_ids
string[]

Deprecated: use media.

published_at
string<date-time>
Example:

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

scheduled_at
string<date-time>
Example:

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

targets
object[]
title
string
Example:

"Exciting News"

visibility
string

Who can see the post, as set when it was created or last updated: public, private, connections_only or logged_in.

Example:

"public"