Skip to main content
PATCH
Needs posts:update. See Permissions.
Adds the people who comment on the post to CRM lists in the post’s workspace. mode: add_all adds everyone to list_id. mode: keyword_rules adds someone to a rule’s list when their comment has the rule’s keyword. With keyword_case_sensitive: true a keyword matches only with the same upper and lower case, so Coffee doesn’t match coffee; with false, the default, case is ignored. enabled: false turns it off and clears its settings: mode, list_id and keyword_rules are emptied, so turning it on again needs them sent again. (Comment moderation, by contrast, keeps its rules when it’s turned off.) List contacts (GET /contacts) gives the workspace’s lists in lists, with their ids, and Create or rename contact lists (PUT /contact-lists) makes new ones. A list from another workspace is refused with 422. The answer is the post object, with contact_collection_settings as saved.

Free plan

Contact collection is on paid plans. On Free, turning it on or changing it is refused with 403, error: plan_limit_reached, limit: contacts, and nothing is saved. Turning it off works, and so does sending the settings it already has, unchanged.

Errors

Authorizations

Authorization
string
header
required

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

Path Parameters

post
integer
required

The post's id.

Body

application/json
enabled
boolean
required

True to collect contacts. False turns it off and clears settings.

settings
object

Needed with enabled: true.

Response

The post, with the setting saved.

A post: its text and media, when it goes out, and one row per account it goes to (platforms). Times are in the workspace's timezone, as Y-m-d H:i.

id
integer
required

The post's id.

content
object[]
required

The post's parts, in order. One part is a single post; more parts make a thread on X, Threads, Bluesky and Mastodon (the other networks get the parts joined into one text, with two blank lines between them, the first comment left out). A part with is_first_comment is the first comment.

status
enum<string>
required

Where the post stands. DRAFT: saved, not going out. SCHEDULED: goes out at scheduled_at. PENDING_APPROVAL: waiting for someone to approve it. IN_QUEUE: published now and waiting its turn. IN_PROGRESS: being sent. PUBLISHED: out on every account. PARTIALLY_FAILED: out on some accounts, failed on others. FAILED: failed on every account. REJECTED: its approval was turned down.

Available options:
DRAFT,
SCHEDULED,
PENDING_APPROVAL,
IN_QUEUE,
IN_PROGRESS,
PUBLISHED,
PARTIALLY_FAILED,
FAILED,
REJECTED
content_version
integer
required

Goes up by one each time the post's content is saved. Send it back on Update a post to be refused (409) instead of overwriting a change made elsewhere since you read it.

posted_on
string[]
required

When it went out, one entry a time (a repeating post has several). [] until it is published.

scheduled_at
string | null
required

When it goes out (or went out), in the workspace's timezone. Null when the post has no time yet: a draft with none, or a post sent for approval with none, where the approver picks when it goes out. API v1 and MCP never save a SCHEDULED post without one.

repeatable
boolean | null
required

True when the post repeats. false or null when it doesn't.

repeatable_times
integer | null
required

How many times it repeats after the first time.

repeatable_gap
integer | null
required

Time between repeats, in repeatable_gap_unit.

repeatable_gap_unit
enum<string> | null
required

The unit of repeatable_gap.

Available options:
minutes,
hours,
days,
weeks,
months,
null
repeatable_accounts
integer[] | null
required

The accounts the repeats go to; null or [] for every account of the post.

remaining_posts
integer | null
required

Sends still to go, the first one included until it goes out.

comments_settings
object | null
required

The post's comment moderation; null when it was never set. Change it with Update comment moderation.

contact_collection_settings
object | null
required

The post's contact collection; null when it was never set. Change it with Update contact collection.

created_at
string
required

When the post was made, in the workspace's timezone.

updated_at
string
required

When the post last changed, in the workspace's timezone.

workspace
object
required

The post's workspace. It has no accounts or brand_voice here: List workspaces has those.

labels
object[]
required

The post's labels; [] when it has none.

campaign
object | null
required

The post's campaign, or null.

platforms
object[]
required

One row per account the post goes to, in the order the accounts were added. A draft with no accounts has [].

auto_plug
object | null
required

The reply posted when the post reaches a number of likes, reposts, replies or views; null when it's off. Change it with Update auto-plug.

comments
object[]

Only with include_comments=true: the post's comments, with their contact.