Spaces

REST API reference

401 routes on https://api.spacesos.com/v1, with an API key as Authorization: Bearer spc_live_.... Built from the OpenAPI file, which code generators and AI agents can read directly.

accounts

PUT /v1/accounts/{account_id}/post-slots Set the weekly times an account posts at (set_post_slots). Replaces its slots; queued posts keep their time. Sends nothing.
Body fieldType
slots (required)
timezone
Default: the workspace time zone.
string
page_id
Facebook: the Page.
string

200 schedule {account_id, page_id, timezone, slots, next_slots, updated_at}400 401 403 404 409 429 500

Accounts

GET /v1/messaging/accounts Connected accounts
ParameterInType
qquerystring
external_idquerystring
channelquerystring
statusquerystring
sortquerystring
limitqueryinteger
cursorquerystring

200 accounts400 401 403 429 500

GET /v1/messaging/accounts/{accountId} Status of one connected account.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

PATCH /v1/messaging/accounts/{accountId} setAccountExternalId

200 OK400 401 403 404 409 429 500 502

DELETE /v1/messaging/accounts/{accountId} Disconnect one connected account: no more reading or sending from it, and it stops being billed. Cannot be undone; connecting again needs a …

Disconnect one connected account: no more reading or sending from it, and it stops being billed. Cannot be undone; connecting again needs a new connect link. Confirm with the person first, then pass confirm: true. An Instagram account connected two ways can drop just one: route official or full_access; the account stays.

ParameterInType
confirm (required)query
routequery

200 OK400 401 403 404 409 429 500 502

Accounts: attendees

GET /v1/messaging/accounts/{accountId}/attendees People the account can message.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/attendees/{attendeeId} One attendee.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/attendees/{attendeeId}/picture Profile picture for an attendee. Binary.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/attendees/{attendeeId}/chats 1:1 chats with an attendee.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/attendees/{attendeeId}/messages Messages with an attendee.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/attendees/{attendeeId}/sync Sync chats for an attendee.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

Accounts: calendars

GET /v1/messaging/accounts/{accountId}/calendars Calendars on this account.

200 ok401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/calendars/{calendarId} One calendar.

200 ok401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/calendars/{calendarId}/events Events on a calendar.

200 ok401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/calendars/{calendarId}/events Create an event.

200 ok400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/calendars/{calendarId}/events/{eventId} One event.

200 ok401 403 404 429 500 502

PATCH /v1/messaging/accounts/{accountId}/calendars/{calendarId}/events/{eventId} Edit an event.

200 ok400 401 403 404 409 429 500 502

DELETE /v1/messaging/accounts/{accountId}/calendars/{calendarId}/events/{eventId} Delete an event.

200 ok400 401 403 404 409 429 500 502

Accounts: chat requests

GET /v1/messaging/accounts/{accountId}/chat-requests List message requests
ParameterInType
cursor
next_cursor from the previous page.
querystring
limit
Items per page (1-100; Instagram follower pages hold at most 25).
queryinteger

200 done400 401 403 404 429 500 501 502

POST /v1/messaging/accounts/{accountId}/chat-requests/{chatId}/accept Accept a message request
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring
Body fieldType
inbox_id
Optional: the requests inbox id from list_inboxes.
string

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

Accounts: chats

GET /v1/messaging/accounts/{accountId}/chats/{chatId}/attendees People in a chat
ParameterInType
cursor
next_cursor from the previous page.
querystring
limit
Items per page (1-100; Instagram follower pages hold at most 25).
queryinteger

200 done400 401 403 404 429 500 501 502

POST /v1/messaging/accounts/{accountId}/chats/{chatId}/attendees Add someone to a group
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring
Body fieldType
user_id (required)
The person's user id.
string

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

PATCH /v1/messaging/accounts/{accountId}/chats/{chatId} Mark a chat read, mute it, or take another chat action.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

DELETE /v1/messaging/accounts/{accountId}/chats/{chatId} Delete a chat
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

GET /v1/messaging/accounts/{accountId}/chats/{chatId}/tags Tags and owner of a chat

200 tags401 403 404 429 500 502

PUT /v1/messaging/accounts/{accountId}/chats/{chatId}/tags Replace the tags on a chat (at most 20, each up to 40 characters). Sends nothing.
Body fieldType
tags (required)

200 tags400 401 403 404 409 429 500 502

PUT /v1/messaging/accounts/{accountId}/chats/{chatId}/owner Give a chat an owner: a workspace user id, an email or me; null clears it. Sends nothing.
Body fieldType
owner (required)

200 owner400 401 403 404 409 429 500 502

PUT /v1/messaging/accounts/{accountId}/chats/{chatId}/handover Hand a chat to a person: body {reason?, to?}, where to is a member email, a user id or me. While it is handed over, agent writes to the chat…

Hand a chat to a person: body {reason?, to?}, where to is a member email, a user id or me. While it is handed over, agent writes to the chat are refused with HANDED_OVER (409). Sends nothing.

Body fieldType
reasonstring
tostring

200 handed_over, handed_to, handed_over_reason, handed_over_since400 401 403 404 409 429 500 502

DELETE /v1/messaging/accounts/{accountId}/chats/{chatId}/handover Hand the chat back to the agent. Sends nothing.

200 handed_over false, handed_back400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/chats/{chatId}/sync Sync a chat from the start, or read the sync status.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/chats/{chatId}/read Mark a chat as read

200 done400 401 403 404 409 429 500 501 502

POST /v1/messaging/accounts/{accountId}/chats/{chatId}/unread Mark a chat as unread

200 done400 401 403 404 409 429 500 501 502

PUT /v1/messaging/accounts/{accountId}/chats/{chatId}/star Star a chat

200 done400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/chats/{chatId}/star Remove a star

200 done400 401 403 404 409 429 500 501 502

PUT /v1/messaging/accounts/{accountId}/chats/{chatId}/archive Archive a chat

200 done400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/chats/{chatId}/archive Move a chat back to the inbox

200 done400 401 403 404 409 429 500 501 502

PUT /v1/messaging/accounts/{accountId}/chats/{chatId}/pin Pin a chat

200 done400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/chats/{chatId}/pin Unpin a chat

200 done400 401 403 404 409 429 500 501 502

PUT /v1/messaging/accounts/{accountId}/chats/{chatId}/mute Mute a chat

200 done400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/chats/{chatId}/mute Unmute a chat

200 done400 401 403 404 409 429 500 501 502

PATCH /v1/messaging/accounts/{accountId}/chats/{chatId}/name Rename a group chat
Body fieldType
name (required)
The new name.
string

200 done400 401 403 404 409 429 500 501 502

POST /v1/messaging/accounts/{accountId}/chats/{chatId}/typing Show typing

200 done400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/chats/{chatId}/attendees/{userId} Remove someone from a group
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

GET /v1/messaging/accounts/{accountId}/chats/{chatId}/picture Download a chat picture

200 the file401 403 404 429 500 501 502

GET /v1/messaging/accounts/{accountId}/chats/{chatId}/notes Private notes on a chat
ParameterInType
limitqueryinteger

200 ok400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/chats/{chatId}/notes Add a private note. Never sent to the other person
Body fieldType
text (required)string

201 note400 401 403 404 409 429 500 502

POST /v1/messaging/accounts/{accountId}/chats/{chatId}/reminders Bring a chat back later as a chat.reminder_due event
Body fieldType
remind_atstring
in_minutesnumber
in_daysnumber
notestring

201 reminder400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/chats List the conversations of one account, newest first, with tags, owner, star and handover. Filters: unread, unanswered, starred, archived, re…

List the conversations of one account, newest first, with tags, owner, star and handover. Filters: unread, unanswered, starred, archived, requests, handed over, a tag or an owner.

ParameterInType
limitqueryinteger
cursorquerystring
unreadqueryboolean
unansweredqueryboolean
tagquerystring
ownerquerystring
handed_overqueryboolean
starredqueryboolean
archivedqueryboolean
requestsqueryboolean
viewquery
fieldsquerystring

200 OK400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/chats Start a new conversation with someone who expects to hear from you. Runs at most once per Idempotency-Key. 201 sent, 202 held for approval, …

Start a new conversation with someone who expects to hear from you. Runs at most once per Idempotency-Key. 201 sent, 202 held for approval, 200 a replay.

ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
to (required)object
textstring
attachments
inmailboolean

200 A replay: this key already sent it.201 OK202 Held for the owner's approval.400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/chats/{chatId}/messages The messages in one conversation, newest first.
ParameterInType
limitqueryinteger
cursorquerystring
viewquery
fieldsquerystring

200 OK400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/chats/{chatId}/messages Reply in a conversation, with text or attachments. Runs at most once per Idempotency-Key. 201 sent, 202 held for approval, 200 a replay of t…

Reply in a conversation, with text or attachments. Runs at most once per Idempotency-Key. 201 sent, 202 held for approval, 200 a replay of the same key.

ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
textstring
attachments

200 A replay: this key already sent it.201 OK202 Held for the owner's approval.400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/chats/{chatId}/messages/{messageId}/attachments/{attachmentId} A photo, video, voice note or file from a message: the bytes, or with as=link a private link that works for ten minutes.
ParameterInType
linkqueryboolean

200 OK400 401 403 404 429 500 502

Accounts: checkpoint

POST /v1/messaging/accounts/{accountId}/checkpoint Submit a 2FA or OTP code. The code is not stored.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

POST /v1/messaging/accounts/{accountId}/checkpoint/resend Resend a checkpoint code.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

Accounts: email contacts

GET /v1/messaging/accounts/{accountId}/email-contacts Contacts from Gmail or Outlook.

200 ok401 403 404 429 500 502

Accounts: email drafts

POST /v1/messaging/accounts/{accountId}/email-drafts Save an email draft.

200 ok400 401 403 404 409 429 500 502

Accounts: email folders

GET /v1/messaging/accounts/{accountId}/email-folders Mail folders.

200 ok401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/email-folders/{folderId} One mail folder.

200 ok401 403 404 429 500 502

Accounts: emails

GET /v1/messaging/accounts/{accountId}/emails Emails in this account.

200 ok401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/emails Send one email. Not a bulk send.

200 ok400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/emails/{emailId} One email.

200 ok401 403 404 429 500 502

PATCH /v1/messaging/accounts/{accountId}/emails/{emailId} Update flags on an email.

200 ok400 401 403 404 409 429 500 502

DELETE /v1/messaging/accounts/{accountId}/emails/{emailId} Move an email to trash.

200 ok400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/emails/{emailId}/attachments/{attachmentId} Download an email attachment.

200 ok401 403 404 429 500 502

Accounts: follow requests

GET /v1/messaging/accounts/{accountId}/follow-requests List follow requests
ParameterInType
cursor
next_cursor from the previous page.
querystring
limit
Items per page (1-100; Instagram follower pages hold at most 25).
queryinteger

200 done400 401 403 404 429 500 501 502

POST /v1/messaging/accounts/{accountId}/follow-requests/{requestId}/accept Accept a follow request
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

POST /v1/messaging/accounts/{accountId}/follow-requests/{requestId}/decline Decline a follow request
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

Accounts: followers

GET /v1/messaging/accounts/{accountId}/followers List followers
ParameterInType
user_id
Whose followers. Omit for the account itself.
querystring
cursor
next_cursor from the previous page.
querystring
limit
Items per page (1-100; Instagram follower pages hold at most 25).
queryinteger

200 done400 401 403 404 429 500 501 502

Accounts: following

GET /v1/messaging/accounts/{accountId}/following List who an account follows
ParameterInType
user_id
Whose following list. Omit for the account itself.
querystring
cursor
next_cursor from the previous page.
querystring
limit
Items per page (1-100; Instagram follower pages hold at most 25).
queryinteger

200 done400 401 403 404 429 500 501 502

Accounts: health

GET /v1/messaging/accounts/{accountId}/health How one account is doing: status, limits left today, warm-up, resting and what to fix.

200 OK401 403 404 429 500 502

Accounts: inboxes

GET /v1/messaging/accounts/{accountId}/inboxes List inboxes

200 done401 403 404 429 500 501 502

Accounts: invitations

GET /v1/messaging/accounts/{accountId}/invitations/received List received invitations
ParameterInType
cursorquerystring
limitqueryinteger

200 ok400 401 403 404 429 500 501 502

POST /v1/messaging/accounts/{accountId}/invitations/received/{invitationId} Accept or decline an invitation
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring
Body fieldType
response (required)accept | decline

201 done400 401 403 404 409 423 429 500 501 502

GET /v1/messaging/accounts/{accountId}/invitations List sent invitations
ParameterInType
cursorquerystring
limitqueryinteger

200 ok400 401 403 404 429 500 501 502

POST /v1/messaging/accounts/{accountId}/invitations Send an invitation
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring
Body fieldType
to (required)
Profile URL, public id or member id.
string
messagestring

201 done400 401 403 404 409 423 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/invitations/{invitationId} Withdraw an invitation

201 done400 401 403 404 409 423 429 500 501 502

Accounts: limits

GET /v1/messaging/accounts/{accountId}/limits Limits used and left

200 ok401 403 404 429 500 502

Accounts: linkedin

GET /v1/messaging/accounts/{accountId}/linkedin/inmail-balance InMail credits

200 ok401 403 404 429 500 501 502

GET /v1/messaging/accounts/{accountId}/linkedin/companies/{companyId} Look up a company

200 ok401 403 404 429 500 501 502

GET /v1/messaging/accounts/{accountId}/linkedin/search/parameters Ids LinkedIn expects instead of raw search text.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/linkedin/hiring-projects Recruiter hiring projects.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/linkedin/hiring-projects/{projectId} One hiring project.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/linkedin/users/{identifier}/action Recruiter or Sales Navigator action on a profile, such as saving a lead.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/linkedin/jobs Job posts on this LinkedIn account.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/linkedin/jobs Create a job post draft.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/linkedin/jobs/{jobId} One job post.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

PATCH /v1/messaging/accounts/{accountId}/linkedin/jobs/{jobId} Edit a job post.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

POST /v1/messaging/accounts/{accountId}/linkedin/jobs/{jobId}/publish Publish a job draft.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

POST /v1/messaging/accounts/{accountId}/linkedin/jobs/{jobId}/close Close a job post.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/linkedin/jobs/{jobId}/applicants People who applied.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/linkedin/jobs/{jobId}/applicants/{applicantId} One applicant.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

GET /v1/messaging/accounts/{accountId}/linkedin/jobs/{jobId}/applicants/{applicantId}/resume Download an applicant resume.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/linkedin/users/{identifier}/endorse Endorse a skill
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring
Body fieldType
skill_id (required)string

201 done400 401 403 404 409 423 429 500 501 502

GET /v1/messaging/accounts/{accountId}/linkedin/contracts Recruiter or Sales Navigator contracts.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/linkedin/contracts/{contractId}/select Select the contract used by this account.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

POST /v1/messaging/accounts/{accountId}/linkedin/jobs/{jobId}/checkpoint Solve a job publishing checkpoint.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/linkedin/posts/audience Estimated audience for an organization post.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/linkedin/recruiter/sign-out Sign out the current Recruiter session.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

POST /v1/messaging/accounts/{accountId}/linkedin/recruiter/sign-out-others Sign out other Recruiter sessions for this seat.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/linkedin/profile-viewers Who viewed the profile
ParameterInType
cursorquerystring
limitqueryinteger

200 ok400 401 403 404 429 500 501 502

GET /v1/messaging/accounts/{accountId}/linkedin/company-pages Company pages you manage

200 ok401 403 404 429 500 501 502

PATCH /v1/messaging/accounts/{accountId}/linkedin/settings Withdraw old invitations automatically
Body fieldType
auto_withdraw_days (required)integer

200 ok400 401 403 404 409 429 500 502

Accounts: messages

POST /v1/messaging/accounts/{accountId}/messages/{messageId}/forward Forward a message. WhatsApp only.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/messages Messages across chats. Filter with the query string.
ParameterInType
extraqueryobject

200 ok400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/messages/{messageId}/reaction React to a message
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring
Body fieldType
chat_id (required)
The chat the message is in.
string
reaction (required)
One emoji.
string

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/messages/{messageId}/reaction Remove your reaction
ParameterInType
chat_id (required)
The chat the message is in.
querystring
reaction (required)
The emoji to remove.
querystring
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done400 401 403 404 409 429 500 501 502

PATCH /v1/messaging/accounts/{accountId}/messages/{messageId} Edit a sent message
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring
Body fieldType
chat_id (required)
The chat the message is in.
string
text (required)
The new text.
string

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/messages/{messageId} Unsend a message
ParameterInType
chat_id (required)
The chat the message is in.
querystring
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

GET /v1/messaging/accounts/{accountId}/messages/{messageId}/reactions Who reacted to a message
ParameterInType
chat_id (required)
The chat the message is in.
querystring
cursor
next_cursor from the previous page.
querystring
limit
Items per page (1-100; Instagram follower pages hold at most 25).
queryinteger

200 done400 401 403 404 429 500 501 502

POST /v1/messaging/accounts/{accountId}/messages/{messageId}/read Mark a message as read
Body fieldType
chat_id (required)
The chat the message is in.
string

200 done400 401 403 404 409 429 500 501 502

PUT /v1/messaging/accounts/{accountId}/messages/{messageId}/pin Pin a message
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring
Body fieldType
chat_id (required)
The chat the message is in.
string

201 done400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/messages/{messageId}/pin Unpin a message
ParameterInType
chat_id (required)
The chat the message is in.
querystring
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done400 401 403 404 409 429 500 501 502

Accounts: places

GET /v1/messaging/accounts/{accountId}/places Find a place to tag
ParameterInType
query (required)
A place name, such as "Blue Bottle Coffee".
querystring

200 done400 401 403 404 429 500 501 502

Accounts: posts

GET /v1/messaging/accounts/{accountId}/posts/{postId}/reactions Who liked a post
ParameterInType
cursor
next_cursor from the previous page.
querystring
limit
Items per page (1-100; Instagram follower pages hold at most 25).
queryinteger

200 done400 401 403 404 429 500 501 502

POST /v1/messaging/accounts/{accountId}/posts/{postId}/reactions Like an Instagram post, or add a LinkedIn reaction (like, celebrate, support, love, insightful, funny), by its social_id. Instagram only has…

Like an Instagram post, or add a LinkedIn reaction (like, celebrate, support, love, insightful, funny), by its social_id. Instagram only has like. LinkedIn: 20 an hour and 100 a day. Instagram: 10 an hour and 100 a day, inside the shared Instagram budget. Sensitive write: it adds a public reaction to a post. Ask the person to approve every call, with the exact recipient and content.

ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
reaction

200 OK400 401 403 404 409 429 500 502

DELETE /v1/messaging/accounts/{accountId}/posts/{postId}/reactions Unlike a post
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

GET /v1/messaging/accounts/{accountId}/posts/{postId}/comments/{commentId}/reactions Who liked a comment
ParameterInType
cursor
next_cursor from the previous page.
querystring
limit
Items per page (1-100; Instagram follower pages hold at most 25).
queryinteger

200 done400 401 403 404 429 500 501 502

POST /v1/messaging/accounts/{accountId}/posts/{postId}/comments/{commentId}/reactions React to a comment. LinkedIn accepts like, celebrate, support, love, insightful, funny. Instagram uses like. Sensitive write: it adds a publ…

React to a comment. LinkedIn accepts like, celebrate, support, love, insightful, funny. Instagram uses like. Sensitive write: it adds a public reaction to a comment. Ask the person to approve every call, with the exact recipient and content.

ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
reaction

200 OK400 401 403 404 409 429 500 502

DELETE /v1/messaging/accounts/{accountId}/posts/{postId}/comments/{commentId}/reactions Unlike a comment
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

PATCH /v1/messaging/accounts/{accountId}/posts/{postId}/comments/{commentId} Edit your comment
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring
Body fieldType
text (required)
The new text.
string

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/posts/{postId}/comments/{commentId} Delete a comment this account wrote on LinkedIn or Instagram. Counts toward the comment cap. Hiding someone else's comment is not available.

200 OK400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/posts/{postId} One LinkedIn or Instagram post by id or social_id, with text, counts, whether the account liked it, and every photo and video (carousels inc…

One LinkedIn or Instagram post by id or social_id, with text, counts, whether the account liked it, and every photo and video (carousels included). Counts as browsing.

200 OK401 403 404 429 500 502

PATCH /v1/messaging/accounts/{accountId}/posts/{postId} Edit a caption
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring
Body fieldType
text (required)
The new caption.
string

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/posts/{postId} Delete a post

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

GET /v1/messaging/accounts/{accountId}/posts/{postId}/media Get a post's photos and videos
ParameterInType
download
Optional: the item to download (0-19).
queryinteger

200 done400 401 403 404 429 500 501 502

POST /v1/messaging/accounts/{accountId}/posts/{postId}/comments/{commentId}/hide Hide a comment

200 OK400 401 403 404 409 429 500 501 502

GET /v1/messaging/accounts/{accountId}/posts Posts on the connected LinkedIn or Instagram account. Use social_id for comments. Not available on Messenger, X, or WhatsApp. Pass view: 'su…

Posts on the connected LinkedIn or Instagram account. Use social_id for comments. Not available on Messenger, X, or WhatsApp. Pass view: 'summary' or fields for a shorter answer.

ParameterInType
cursorquerystring
limitqueryinteger
viewquery
fieldsquerystring

200 OK400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/posts Publish a post as the account owner on LinkedIn or Instagram. LinkedIn: text up to 3,000 characters, optional images or videos and an extern…

Publish a post as the account owner on LinkedIn or Instagram. LinkedIn: text up to 3,000 characters, optional images or videos and an external_link preview; repost (a post id or social_id) reshares that post, with optional text and no media; as_organization (the numeric id of a company page the account administers) publishes as that page. Instagram: at least one image or video, a caption up to 2,200 characters, post_type feed or story, optional location. Polls are not available. Posts share the account action limits: on Instagram, 10 an hour and 100 a day with likes, comments, follows and new chats; on LinkedIn, about 100 a day with other actions. Images are fitted before publishing: on Instagram padded (never cropped) to between 4:5 and 1.91:1, at most 1440 px wide and 8 MB, stories to 9:16; on LinkedIn scaled down past 6012 px. The answer lists any change in media_adjustments. On LinkedIn, mention someone by writing @ and their profile link (@https://www.linkedin.com/in/jane-doe), or @[Name](link) to choose the name shown; a company page is @[Acme](https://www.linkedin.com/company/12345). Each person mentioned is one profile view, at most 10 per post. A text, comment or reaction counts as 1 action, a photo or file 2, a voice note 3, a video 5 (several attachments: the heaviest plus 1 per extra); the answer says actions_counted. Confirm the post with the person first. Sensitive write: it publishes a post. Ask the person to approve every call, with the exact recipient and content.

ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
textstring
attachments
post_type
locationstring
external_linkstring
repoststring
as_organizationstring

200 OK400 401 403 404 409 429 500 502

GET /v1/messaging/accounts/{accountId}/posts/{postId}/comments Comments on a LinkedIn or Instagram post (pass its social_id). Pass comment_id to list replies under that comment. Not available on Messenge…

Comments on a LinkedIn or Instagram post (pass its social_id). Pass comment_id to list replies under that comment. Not available on Messenger, X, or WhatsApp. Pass view: 'summary' or fields for a shorter answer.

ParameterInType
comment_idquerystring
cursorquerystring
limitqueryinteger
viewquery
fieldsquerystring

200 OK400 401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/posts/{postId}/comments Comment on a LinkedIn or Instagram post, or reply to a comment with comment_id. LinkedIn: 15 an hour and 100 a day. Instagram: 10 an hour an…

Comment on a LinkedIn or Instagram post, or reply to a comment with comment_id. LinkedIn: 15 an hour and 100 a day. Instagram: 10 an hour and 100 a day, inside the shared budget with likes, follows and new chats. These caps are separate from replies to people who wrote in. On LinkedIn, mention someone by writing @ and their profile link (@https://www.linkedin.com/in/jane-doe), or @[Name](link) to choose the name shown; a company page is @[Acme](https://www.linkedin.com/company/12345) with its numeric id. Each person mentioned is one profile view, at most 10 per comment. Confirm the text with the person first. Before you reply to a customer, read the business brief with get_business_brief and follow it: its facts, tone, never-promise rules and when to hand over to a person. Sensitive write: it publishes a comment or a reply to a comment. Ask the person to approve every call, with the exact recipient and content.

ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
text (required)string
comment_idstring

200 OK400 401 403 404 409 429 500 502

POST /v1/messaging/accounts/{accountId}/posts/{postId}/comments/{commentId}/private-reply Instagram only. Sends a direct message to the comment author (author_id from the comment). Uses the message limits, not the comment cap. Lin…

Instagram only. Sends a direct message to the comment author (author_id from the comment). Uses the message limits, not the comment cap. LinkedIn, Messenger, X, and WhatsApp do not support this. Before you reply to a customer, read the business brief with get_business_brief and follow it: its facts, tone, never-promise rules and when to hand over to a person. Sensitive write: it sends a direct message to the person who commented. Ask the person to approve every call, with the exact recipient and content.

ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
author_id (required)string
text (required)string

200 OK400 401 403 404 409 429 500 502

Accounts: presence

PUT /v1/messaging/accounts/{accountId}/presence Set online status
Body fieldType
online (required)
true for online, false for offline.
boolean

200 done400 401 403 404 409 429 500 501 502

Accounts: profile

GET /v1/messaging/accounts/{accountId}/profile Your own profile

200 done401 403 404 429 500 501 502

PATCH /v1/messaging/accounts/{accountId}/profile Edit your profile
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring
Body fieldType
bio
The new bio (Instagram allows 150 characters).
string
picture
A new profile picture: { file_name, mime_type, content_base64 }, a JPEG or PNG.
object

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

Accounts: proxy

PATCH /v1/messaging/accounts/{accountId}/proxy Update the proxy for this account.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

Accounts: reconnect

POST /v1/messaging/accounts/{accountId}/reconnect Start reconnecting an account that needs a sign-in.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

Accounts: relations

GET /v1/messaging/accounts/{accountId}/relations List connections
ParameterInType
cursorquerystring
limitqueryinteger

200 ok400 401 403 404 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/relations/{identifier} Remove a connection
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done400 401 403 404 409 423 429 500 501 502

Accounts: restart

POST /v1/messaging/accounts/{accountId}/restart Restart a frozen account.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

Accounts: scheduled posts

GET /v1/messaging/accounts/{accountId}/scheduled-posts getMessagingAccountsScheduledPosts

200 OK401 403 404 429 500 502

POST /v1/messaging/accounts/{accountId}/scheduled-posts Publish a LinkedIn or Instagram post later: publish_at like 2026-11-03T09:00 in timezone. repeat weekly or monthly at the same local time, u…

Publish a LinkedIn or Instagram post later: publish_at like 2026-11-03T09:00 in timezone. repeat weekly or monthly at the same local time, until a date (2026-12-31) or time. first_comment is posted as a comment right after publishing. Same fields and rules as create_post. LinkedIn: text up to 3,000 characters, optional images or videos and an external_link preview; repost (a post id or social_id) reshares that post, with optional text and no media; as_organization (the numeric id of a company page the account administers) publishes as that page. Instagram: at least one image or video, a caption up to 2,200 characters, post_type feed or story, optional location. Polls are not available. Posts share the account action limits: on Instagram, 10 an hour and 100 a day with likes, comments, follows and new chats; on LinkedIn, about 100 a day with other actions. Images are fitted before publishing: on Instagram padded (never cropped) to between 4:5 and 1.91:1, at most 1440 px wide and 8 MB, stories to 9:16; on LinkedIn scaled down past 6012 px. The answer lists any change in media_adjustments. On LinkedIn, mention someone by writing @ and their profile link (@https://www.linkedin.com/in/jane-doe), or @[Name](link) to choose the name shown; a company page is @[Acme](https://www.linkedin.com/company/12345). Each person mentioned is one profile view, at most 10 per post. A text, comment or reaction counts as 1 action, a photo or file 2, a voice note 3, a video 5 (several attachments: the heaviest plus 1 per extra); the answer says actions_counted. Media goes in the request, at most 8 MB per scheduled post (over MCP keep it under about 1.5 MB; the REST route takes the full 8 MB). Each publish uses the same limits as create_post: a 429 delays it, a paused account stops it, and a retry never publishes twice. Confirm the post and time with the person first. Sensitive write: it schedules a post that is published at the chosen time. Ask the person to approve every call, with the exact recipient and content.

Body fieldType
textstring
attachments
post_type
locationstring
external_linkstring
repoststring
as_organizationstring
publish_at (required)string
timezonestring
repeat
untilstring
first_commentstring

200 OK400 401 403 404 409 429 500 502

Accounts: sync

POST /v1/messaging/accounts/{accountId}/sync Resynchronize a LinkedIn account's messaging data.
ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
extraobject

200 ok400 401 403 404 409 429 500 502

Accounts: users

GET /v1/messaging/accounts/{accountId}/users/{userId}/chat Find the chat with a person

200 done401 403 404 429 500 501 502

POST /v1/messaging/accounts/{accountId}/users/{userId}/follow Follow someone
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/users/{userId}/follow Unfollow someone
ParameterInType
Idempotency-Key (required)
8-128 letters, digits or ._:-. A retry with the same key never acts twice.
headerstring

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

POST /v1/messaging/accounts/{accountId}/users/{userId}/block Block someone

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

DELETE /v1/messaging/accounts/{accountId}/users/{userId}/block Unblock someone

201 done202 held for approval: { approval_id, status: pending }400 401 403 404 409 429 500 501 502

GET /v1/messaging/accounts/{accountId}/users/{userId}/presence Is someone online

200 done401 403 404 429 500 501 502

GET /v1/messaging/accounts/{accountId}/users/{userId}/comments Comments someone wrote
ParameterInType
cursor
next_cursor from the previous page.
querystring
limit
Items per page (1-100; Instagram follower pages hold at most 25).
queryinteger

200 done400 401 403 404 429 500 501 502

GET /v1/messaging/accounts/{accountId}/users/{userId}/reactions Likes someone gave
ParameterInType
cursor
next_cursor from the previous page.
querystring
limit
Items per page (1-100; Instagram follower pages hold at most 25).
queryinteger

200 done400 401 403 404 429 500 501 502

GET /v1/messaging/accounts/{accountId}/users/{identifier} Look up a profile
ParameterInType
sections
Comma-separated: about, experience, education, skills, contact.
querystring
apiqueryclassic | sales_navigator | recruiter

200 ok400 401 403 404 429 500 501 502

GET /v1/messaging/accounts/{accountId}/users/{identifier}/posts Recent posts of a person or LinkedIn company, or an Instagram user by username (id, social_id, text, counts, media). Use social_id for comme…

Recent posts of a person or LinkedIn company, or an Instagram user by username (id, social_id, text, counts, media). Use social_id for comments, likes and get_post_media. Counts as browsing (LinkedIn 30 an hour and 100 a day, Instagram 10 an hour and 100 a day, shared with likes, comments, follows and new chats). Pass view: 'summary' or fields for a shorter answer.

ParameterInType
cursorquerystring
limitqueryinteger
viewquery
fieldsquerystring

200 OK400 401 403 404 429 500 502

ads

POST /v1/ads/accounts/{adAccountId}/rules Create an ad rule (create_ad_rule). A rule that can spend returns 202 confirmation_required and starts paused. Behind FEATURE_AD_RULES (ads …

Create an ad rule (create_ad_rule). A rule that can spend returns 202 confirmation_required and starts paused. Behind FEATURE_AD_RULES (ads early access): answers 404 NOT_ENABLED while it is off.

ParameterInType
Idempotency-Key (required)headerstring
Body fieldType
name (required)string
level (required)campaign | ad_set | ad
object_ids
Default: every object at this level that Spaces created.
string[]
conditions (required)object[]
min_spendnumber
active_hours
In the ad account's time zone.
object
action (required)object
every_minutes30 | 60

201 rule202 rule, status confirmation_required, confirmation400 401 403 404 409 429 500

POST /v1/ads/accounts/{adAccountId}/rules/preview Which objects a rule would act on now, with their readings. Changes nothing (preview_ad_rule). Behind FEATURE_AD_RULES (ads early access): a…

Which objects a rule would act on now, with their readings. Changes nothing (preview_ad_rule). Behind FEATURE_AD_RULES (ads early access): answers 404 NOT_ENABLED while it is off.

Body fieldType
namestring
levelcampaign | ad_set | ad
object_ids
Default: every object at this level that Spaces created.
string[]
conditionsobject[]
min_spendnumber
active_hours
In the ad account's time zone.
object
actionobject
every_minutes30 | 60
rule_idstring

200 summary, currency, in_active_hours, matched, results [{object_id, name, level, readings, matched, outcome, detail}]400 401 403 404 409 429 500

GET /v1/ads/rules Ad rules (list_ad_rules). Behind FEATURE_AD_RULES (ads early access): answers 404 NOT_ENABLED while it is off.
ParameterInType
ad_account_idquerystring

200 rules [{id, ad_account_id, name, level, object_ids, conditions, min_spend, active_hours, action, every_minutes, status, paused_reason, approved, summary, last_run_at, next_run_at}]400 401 403 429 500

PATCH /v1/ads/rules/{ruleId} Pause, turn on or change an ad rule (update_ad_rule). A change to a rule that can spend asks for approval again. Behind FEATURE_AD_RULES (ad…

Pause, turn on or change an ad rule (update_ad_rule). A change to a rule that can spend asks for approval again. Behind FEATURE_AD_RULES (ads early access): answers 404 NOT_ENABLED while it is off.

Body fieldType
namestring
levelcampaign | ad_set | ad
object_ids
Default: every object at this level that Spaces created.
string[]
conditionsobject[]
min_spendnumber
active_hours
In the ad account's time zone.
object
actionobject
every_minutes30 | 60
statusactive | paused

200 rule202 confirmation_required400 401 403 404 409 429 500

DELETE /v1/ads/rules/{ruleId} Delete an ad rule (delete_ad_rule). Behind FEATURE_AD_RULES (ads early access): answers 404 NOT_ENABLED while it is off.

200 id, deleted400 401 403 404 409 429 500

GET /v1/ads/rule-runs Runs of ad rules, newest first (list_ad_rule_runs). Behind FEATURE_AD_RULES (ads early access): answers 404 NOT_ENABLED while it is off.
ParameterInType
rule_idquerystring
limitqueryinteger

200 runs [{id, rule_id, started_at, finished_at, status, matched, acted, note, results}]400 401 403 429 500

GET /v1/ads/conversion-forwarding Whether outcomes go to a Meta pixel (get_ad_conversion_forwarding). Behind FEATURE_ADS_CONVERSIONS (ads early access): answers 404 NOT_ENABL…

Whether outcomes go to a Meta pixel (get_ad_conversion_forwarding). Behind FEATURE_ADS_CONVERSIONS (ads early access): answers 404 NOT_ENABLED while it is off.

200 enabled, ad_account_id, pixel_id, kinds, events, enabled_at, last_sent_at, last_error401 403 429 500

PATCH /v1/ads/conversion-forwarding Send orders and leads won to a Meta pixel as Purchase and Lead, with hashed email and phone (set_ad_conversion_forwarding). Turning it on ne…

Send orders and leads won to a Meta pixel as Purchase and Lead, with hashed email and phone (set_ad_conversion_forwarding). Turning it on needs confirm: true. Behind FEATURE_ADS_CONVERSIONS (ads early access): answers 404 NOT_ENABLED while it is off.

Body fieldType
ad_account_idstring
pixel_idstring
kindsorder | lead_won[]
enabled (required)boolean
confirmboolean

200 the forwarding setting400 401 403 409 429 500

POST /v1/ads/accounts/{adAccountId}/click-to-chat A Meta ad whose button opens a WhatsApp, Messenger or Instagram Direct chat with one of your connected accounts (launch_click_to_chat_ad). C…

A Meta ad whose button opens a WhatsApp, Messenger or Instagram Direct chat with one of your connected accounts (launch_click_to_chat_ad). Checks the account can be the chat (CHAT_DESTINATION_INVALID otherwise), builds the campaign, ad set and ad paused, then answers 202 confirmation_required: nothing spends until confirm_ad_change, inside your caps. Behind FEATURE_CLICK_TO_CHAT_ADS (ads early access): answers 404 NOT_ENABLED while it is off.

ParameterInType
Idempotency-Key (required)headerstring
Body fieldType
destination (required)whatsapp | messenger | instagram
account_id (required)
The connected account the chat opens with.
string
page_id (required)
A Page from list_ad_pages.
string
name (required)string
objective
Default engagement. Instagram has no leads.
engagement | leads | sales | traffic
daily_budgetnumber
lifetime_budgetnumber
start_timestring
end_timestring
targeting (required)object
image_hash (required)string
message (required)string
headlinestring
greetingstring
ice_breakersstring[]
prefill_text
WhatsApp only: the message typed in for the person.
string
special_ad_categoriesstring[]
dsa_beneficiarystring
dsa_payorstring

202 {campaign_id, ad_set_id, ad_id, creative_id, destination, account_id, status: confirmation_required, confirmation, next}400 401 403 404 409 429 500

agents

GET /v1/agents Every AI agent with access to this workspace (each sign-in or API key): its name, status (active, paused or revoked), last use, permissions,…

Every AI agent with access to this workspace (each sign-in or API key): its name, status (active, paused or revoked), last use, permissions, the accounts it may use, its daily share and what it used today. Read-only.

200 OK401 403 429 500

PATCH /v1/agents/{keyId} Change another agent’s permissions (read is always on; reply, post, accounts, ads; post needs reply), the accounts it may use (account_ids, …

Change another agent’s permissions (read is always on; reply, post, accounts, ads; post needs reply), the accounts it may use (account_ids, or null for every account) and its daily share (daily_caps: messages and actions a day, null for no extra limit; the account caps always apply too). You can only give permissions you have yourself, never agents, and never change your own access. Confirm the change with the person first.

Body fieldType
permissionsobject
account_ids
daily_caps

200 OK400 401 403 404 409 429 500

DELETE /v1/agents/{keyId} Remove another agent for good: its key stops working and its sign-in tokens are deleted, so it cannot refresh. It has to be connected again …

Remove another agent for good: its key stops working and its sign-in tokens are deleted, so it cannot refresh. It has to be connected again to come back. Confirm with the person first.

200 OK400 401 403 404 409 429 500

POST /v1/agents/{keyId}/pause Stop another agent right away: everything it asks for, reads included, is refused with AGENT_PAUSED until resume_agent. Its scheduled work w…

Stop another agent right away: everything it asks for, reads included, is refused with AGENT_PAUSED until resume_agent. Its scheduled work waits. Confirm with the person first.

200 OK400 401 403 404 409 429 500

POST /v1/agents/{keyId}/resume Undo pause_agent: the agent works again within its permissions and daily share. Confirm with the person first.

200 OK400 401 403 404 409 429 500

GET /v1/agents/{keyId}/activity The last 20 things one agent did: replies, new chats, posts, comments, likes, invitations, account links and settings, newest first. No mess…

The last 20 things one agent did: replies, new chats, posts, comments, likes, invitations, account links and settings, newest first. No message text. Read-only.

200 OK401 403 404 429 500

analytics

GET /v1/analytics/overview Replies, conversations, new contacts, posts, link clicks, actions used and outcomes by day or week, with totals and per-post timelines, from…

Replies, conversations, new contacts, posts, link clicks, actions used and outcomes by day or week, with totals and per-post timelines, from Spaces' own records (get_analytics_overview). Untracked metrics are null, never 0.

ParameterInType
account_ids
Comma list of account ids.
querystring
from
A date, inclusive.
querystring
to
A date, inclusive.
querystring
group_byqueryday | week
tags
Comma list: chats and contacts with any of these tags.
querystring
sourcequeryagent | automation
timezone
Default: the workspace time zone, then UTC.
querystring
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 from, to, timezone, group_by, totals {replies, conversations, new_contacts, posts, link_clicks, actions_used, outcomes}, series [{start, ...metrics}], untracked {metric: reason}, posts [{post_id, account_id, channel, posted_at, timeline [{day, reactions, comments, reposts, impressions, clicks}]}], inbox {messages_received, median_first_response_seconds, ai_agent_median_first_response_seconds, person_median_first_response_seconds, ai_agent_share, waiting}400 401 403 429 500

GET /v1/analytics/changes Only the metric rows that changed since the cursor (get_analytics_changes).
ParameterInType
since_cursor
next_cursor of the last answer; leave out the first time.
querystring
account_idquerystring
limitqueryinteger

200 changes [{kind daily: account_id, day, metric, value} or {kind post: account_id, day, post_id, channel, stats}], next_cursor, has_more400 401 403 429 500

GET /v1/analytics/inbox Messages by day and hour, median first-response time for the AI agent, people and automations, the share the AI agent handled, and who is wa…

Messages by day and hour, median first-response time for the AI agent, people and automations, the share the AI agent handled, and who is waiting, from Spaces' own copy of the inbox (get_inbox_analytics). null when there is nothing to measure.

ParameterInType
from
A date, inclusive.
querystring
to
A date, inclusive.
querystring
account_idquerystring
timezone
Default: the workspace time zone, then UTC.
querystring
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 from, to, timezone, volume {by_day [{day, messages, conversations}], by_hour [{hour, messages}], messages_received}, first_response {median_seconds, ai_agent {median_seconds, count}, person {...}, automation {...}}, handled {conversations_answered, ai_agent_share}, waiting {count, oldest [{account_id, chat_id, waiting_since, waiting_seconds}]}400 401 403 429 500

GET /v1/messaging/analytics/posts getPostAnalytics

200 OK401 403 429 500

approvals

GET /v1/messaging/approvals Writes waiting for approval
ParameterInType
statusquerypending | approving | sent | rejected | failed
limitqueryinteger

200 approvals400 401 403 429 500

POST /v1/messaging/approvals/{approval_id}/approve Send a pending approval through the normal path, optionally with edited text. Needs accounts:manage.
Body fieldType
textstring

200 sent400 401 403 404 409 429 500

POST /v1/messaging/approvals/{approval_id}/reject Close a pending approval without sending it. Needs accounts:manage.
Body fieldType
reasonstring

200 rejected400 401 403 404 409 429 500

best posting times

GET /v1/best-posting-times The weekdays and hours that worked best for an account's own posts, in the owner's time zone, each with the posts behind it and a reason. Wi…

The weekdays and hours that worked best for an account's own posts, in the owner's time zone, each with the posts behind it and a reason. With too few posts it says so and names no times. Instagram, LinkedIn, a Facebook Page and TikTok. Read only.

ParameterInType
account_id (required)querystring
daysqueryinteger
timezonequerystring
page_id
Facebook: the Page, when the connection manages several.
querystring

200 enough_data, best_days [{day, posts, relative_engagement, reason}], best_hours [{hour, window, posts, relative_engagement, reason}], summary, fallback400 401 403 429 500

billing

GET /v1/messaging/billing Plan status

200 billing401 403 429 500

POST /v1/messaging/billing/checkout Get a link to add a card (Pay as you go)
Body fieldType
success_url (required)string
cancel_url (required)string
plan
interval
spend_cap_usd

201 url: a Stripe link where the person adds a card; adding it moves the workspace to Pay as you go ($19 a month per account, 6,000 actions a month per account (200 a day) included and pooled, then $0.005 per action). Body: plan payg, interval month or year, success_url, cancel_url, and optional spend_cap_usd (a monthly limit for usage, or null for no limit). An existing subscription changes plan instead: 200 with updated true and url null. Coming soon (503 NOT_CONFIGURED) until the price exists.400 401 403 409 429 500

PUT /v1/messaging/billing/spend-cap Set or remove the monthly limit for usage on Pay as you go, after the owner says yes
Body fieldType
spend_cap_usd (required)
owner_confirmed (required)

200 The set_spend_cap tool. Body: spend_cap_usd, a dollar amount of at least 1, or null for no limit, and owner_confirmed true, sent only after the workspace owner said yes (otherwise 400 OWNER_CONFIRMATION_REQUIRED and nothing changes). The key must be made by someone who manages billing (otherwise 403 FORBIDDEN_ROLE). Answers spend_cap_usd. Account fees never count toward it; at the limit, billable actions answer 402 SPEND_CAP_REACHED until the month resets. get_messaging_billing shows the current limit as spend_cap.cap_usd.400 401 403 409 429 500

POST /v1/messaging/billing/promo-code postMessagingBillingPromoCode

200 OK400 401 403 409 429 500

POST /v1/messaging/billing/card postMessagingBillingCard

200 OK400 401 403 409 429 500

POST /v1/messaging/billing/card/confirm postMessagingBillingCardConfirm

200 OK400 401 403 409 429 500

POST /v1/messaging/billing/free/keep postMessagingBillingFreeKeep

200 OK400 401 403 409 429 500

POST /v1/billing/cancel/start Start the cancel flow. It has three steps: the reason (with the one offer that fits it, if any), decline (what happens), then confirm_cancel…

Start the cancel flow. It has three steps: the reason (with the one offer that fits it, if any), decline (what happens), then confirm_cancel. Returns the end date and the reasons. Ask the workspace owner and wait for their answer before every call. Pass owner_confirmed true only after they answer this step. There is no tool that cancels in one step. The next call is submit_cancel_step with action reason.

Body fieldType
owner_confirmed (required)

200 OK400 401 403 409 429 500

GET /v1/billing/cancel/{flowId} The step this cancel flow is on (loss, reason or confirm), and the one offer to show. Read-only. Confirm is refused until the offer has been…

The step this cancel flow is on (loss, reason or confirm), and the one offer to show. Read-only. Confirm is refused until the offer has been declined.

200 OK401 403 404 429 500

POST /v1/billing/cancel/{flowId}/step Send the owner's answer for the current step only. action reason needs reason (details is an optional note) and returns the one offer that f…

Send the owner's answer for the current step only. action reason needs reason (details is an optional note) and returns the one offer that fits, if any; send it again to change the reason. action decline turns the offer down and moves to confirm. action accept_discount, pause (months), extend_trial, or downgrade (plan) takes that offer and ends the flow. action message sends a note to the team when the offer is help. action follow_up (text) is still accepted and stores a note. Ask the workspace owner and wait for their answer before every call. Pass owner_confirmed true only after they answer this step. There is no tool that cancels in one step.

Body fieldType
owner_confirmed (required)
action (required)
reason
detailsstring
textstring
months
plan

200 OK400 401 403 404 409 429 500

POST /v1/billing/cancel/{flowId}/confirm Cancel only when get_cancel_flow says can_confirm. The plan keeps working until the period ends, accounts stay connected and nothing is dele…

Cancel only when get_cancel_flow says can_confirm. The plan keeps working until the period ends, accounts stay connected and nothing is deleted. They can undo until then. Ask the workspace owner and wait for their answer before every call. Pass owner_confirmed true only after they answer this step. There is no tool that cancels in one step.

Body fieldType
owner_confirmed (required)

200 OK400 401 403 404 409 429 500

broadcasts

GET /v1/messaging/broadcasts Broadcasts
ParameterInType
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 ok401 403 429 500

POST /v1/messaging/broadcasts Draft one message to a tag audience. Sends nothing; returns audience_count
Body fieldType
account_id (required)string
name (required)string
text (required)string
audience (required)object
send_atstring
timezonestring

201 broadcast400 401 403 409 429 500

GET /v1/messaging/broadcasts/{broadcastId} Broadcast with pending, sent, failed and skipped counts, problems by error category with what to do, and delivery (sent, delivered, read, re…

Broadcast with pending, sent, failed and skipped counts, problems by error category with what to do, and delivery (sent, delivered, read, replied, failed)

200 broadcast {..., recipients {pending, sent, failed, skipped}, delivery {sent, delivered, read, replied, failed, since}}, problems [{category, count, next}]401 403 404 429 500

POST /v1/messaging/broadcasts/{broadcastId}/send Send a draft, paced, through the normal limits. Needs confirm: true
Body fieldType
confirm (required)boolean

202 sending400 401 403 404 409 429 500

POST /v1/messaging/broadcasts/{broadcastId}/cancel Stop a broadcast; anyone still waiting is skipped

200 ok400 401 403 404 409 429 500

GET /v1/messaging/broadcasts/{broadcastId}/recipients Each person of a broadcast, failed and skipped first, with status, error_category, reason and what to do next (list_broadcast_recipients)
ParameterInType
statusquerypending | sent | failed | skipped
error_categoryqueryopted_out | outside_24h_window | not_opted_in | limit | account_unavailable | platform_refused | …
limitqueryinteger
offsetqueryinteger
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 broadcast_id, recipients [{contact_id, name, status, error_category, reason, next, updated_at}], next_offset400 401 403 404 429 500

clients

GET /v1/clients List an agency's clients

200 agency, clients401 403 404 429 500

POST /v1/clients Add a client
Body fieldType
name (required)string
external_idstring

201 client400 401 403 409 429 500

GET /v1/clients/usage Usage per client
ParameterInType
monthquerystring

200 month, clients (accounts, actions)400 401 403 429 500

PATCH /v1/clients/{client_id} Rename a client or change its external_id
Body fieldType
namestring
external_idstring

200 client400 401 403 404 409 429 500

POST /v1/clients/{client_id}/archive Archive a client

200 client {id, name, external_id, archived_at}, accounts, note400 401 403 404 409 429 500

POST /v1/clients/{client_id}/restore Restore an archived client

200 client {id, name, external_id, archived_at}, accounts, note400 401 403 404 409 429 500

comment triggers

POST /v1/messaging/comment-triggers Instagram comment-to-DM: someone comments a keyword (on chosen posts or all_posts), replies to your story with it, or DMs it (start_from), a…

Instagram comment-to-DM: someone comments a keyword (on chosen posts or all_posts), replies to your story with it, or DMs it (start_from), and gets a DM once. exclude_keywords never trigger. follow_gate asks people who do not follow the account to follow first. Creates a routine

Body fieldType
account_id (required)string
keywords (required)string[]
dm_text (required)string
post_idsstring[]
all_posts
Every post, now and later. Not with post_ids.
boolean
exclude_keywords
A comment or message with one of these never triggers.
string[]
start_from
What starts it. Default comment.
comment | story_reply | dm[]
matchwhole_word | contains
repliesstring[]
repeat_for_new_commentsboolean
namestring
timezonestring
follow_gate
Only followers get dm_text; anyone else first gets follow_gate_message, and gets dm_text after replying follow_gate_keyword once Spaces sees the follow. When the follow cannot be read, dm_text is sent.
boolean
follow_gate_message
Default: follow us, then reply DONE.
string
follow_gate_keyword
Default DONE.
string

201 routine400 401 403 409 429 500

contacts

GET /v1/messaging/contacts Contacts, created automatically from DMs and comments or by hand. Filter by tag, search, opted_out or clicked_link
ParameterInType
clicked_link
The label or code of a tracked link: the people who opened it from a DM.
querystring
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 ok400 401 403 429 500

POST /v1/messaging/contacts Add a contact with tags and custom fields
Body fieldType
account_id (required)string
namestring
phonestring
external_idstring
usernamestring
chat_idstring
emailstring
tags
fieldsobject

201 contact400 401 403 409 429 500

GET /v1/messaging/contacts/{contactId} One contact

200 ok401 403 404 429 500

PATCH /v1/messaging/contacts/{contactId} Change details, fields, tags (tags, add_tags, remove_tags) or opted_out
Body fieldType
name
phone
username
email
fieldsobject
tags
add_tagsobject
remove_tagsobject
opted_outboolean

200 ok400 401 403 404 409 429 500

DELETE /v1/messaging/contacts/{contactId} Delete a contact and end their sequences

200 ok400 401 403 404 409 429 500

POST /v1/messaging/contacts/import Import up to 5,000 contacts of one account, from rows or CSV text. Upserts by external_id, then username, then phone. Returns totals and a r…

Import up to 5,000 contacts of one account, from rows or CSV text. Upserts by external_id, then username, then phone. Returns totals and a result per row (row number and reason for errors). dry_run saves nothing. Never messages anyone; opted-out contacts stay opted out.

Body fieldType
account_id (required)string
rowsobject[]
csv
CSV text with a header line, instead of rows. tags are split on ; and any other column becomes a field.
string
dry_run
true checks and matches every row and saves nothing.
boolean

200 the same, for a dry run201 dry_run, totals {rows, created, updated, errors, opted_out}, results [{row, status, contact_id, matched_by, opted_out, reason}]400 401 403 409 429 500

conversions

GET /v1/conversions/webhook Read the conversion webhook

200 url, stripe_connected, last_received_at (no secret)401 403 429 500

POST /v1/conversions/webhook Create or replace the conversion webhook

201 url and secret400 401 403 409 429 500

PUT /v1/conversions/webhook/stripe Save the Stripe signing secret
Body fieldType
signing_secret (required)
The whsec_ value Stripe shows for the endpoint, or null.
string

200 stripe_connected400 401 403 409 429 500

POST /v1/conversions/{token} Report a conversion from another tool
Body fieldType
kindbooked | order | lead_won | resolved | other
amountnumber
currencystring
emailstring
phonestring
notestring
idstring
occurred_atstring

200 received, recorded, duplicate, matched_contact400 401 403 404 409 429 500

events

GET /v1/events New messages and events, without polling the platform. Returns at once when there are events after the cursor, and otherwise waits up to wai…

New messages and events, without polling the platform. Returns at once when there are events after the cursor, and otherwise waits up to wait seconds (at most 50) for the first one. Never touches the platform. Needs read.

ParameterInType
after
next_cursor from the last answer, or now to skip the backlog. Without it the stream continues from where this key got to (the first time, the last 24 hours).
querystring
wait
Seconds to wait for the first event.
querynumber
types
Comma list of event types: message.received, message.read, message.reaction, message.edited, message.deleted, comment.received, invitation.received, invitation.accepted, follower.new, account.status, account.resting, post.published, post.failed, post.deleted.
querystring
account_id
Only this account's events.
querystring
limit
Events per page.
queryinteger

200 events400 401 403 429 500 503

GET /v1/events/webhooks The event webhooks of this key, without secrets.

200 webhooks401 403 429 500

POST /v1/events/webhooks Send each new event this key may read to your URL as a signed POST (Spacesos-Signature). The secret is shown once. Retried with backoff for …

Send each new event this key may read to your URL as a signed POST (Spacesos-Signature). The secret is shown once. Retried with backoff for about a day; turned off after 50 events fail in a row. At most 3 per key. Needs read.

Body fieldType
url (required)
An https URL on a public host.
string
eventsmessage.received | message.read | message.reaction | message.edited | message.deleted | comment.received | …[]
account_idstring

201 webhook, with its secret400 401 403 409 429 500

DELETE /v1/events/webhooks/{webhookId} Remove one event webhook of this key.

200 deleted400 401 403 404 409 429 500

POST /v1/events/webhooks/{webhookId}/test Send one signed example event to one of this key's webhooks now, in the event-stream shape with test: true, and get the status your server a…

Send one signed example event to one of this key's webhooks now, in the event-stream shape with test: true, and get the status your server answered with. Needs read.

Body fieldType
type
An event type this webhook can follow. Default message.received.
string

200 OK400 401 403 404 409 429 500

GET /v1/events/webhooks/{webhookId}/deliveries The delivery log of one of this key's webhooks for the past week, newest first: event, status, your server's status code and attempts. Never…

The delivery log of one of this key's webhooks for the past week, newest first: event, status, your server's status code and attempts. Never a message body. Needs read.

ParameterInType
limit
How many, 1 to 200.
queryinteger
cursor
The next_cursor of the last page.
querystring

200 OK400 401 403 404 429 500

feedback

POST /v1/feedback Tell the Spaces team about a bug, a gap or an idea.
Body fieldType
message (required)string
kindstring
request_idstring

200 OK400 401 403 409 429 500

firewall

GET /v1/messaging/firewall Prompt-injection firewall: mode, last 7 days and whether this caller can change it (people only)

200 status401 403 429 500

GET /v1/messaging/firewall/events Messages and text the firewall blocked or flagged, with reasons and never the original text
ParameterInType
statusquery
verdictquery
limitqueryinteger
offsetqueryinteger

200 events400 401 403 429 500

POST /v1/messaging/firewall/check Dry run: would this text be blocked? Returns a verdict and reasons, logs nothing
Body fieldType
text (required)string

200 verdict400 401 403 409 429 500

inbox

GET /v1/messaging/inbox Chats across all accounts in one list, from Spaces' own copy
ParameterInType
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 ok401 403 429 500

integrations

GET /v1/integrations/{account_id}/tiktok/account Your TikTok account: its name, followers, total likes and videos. Give a date range to also see views, likes, comments and new followers ove…

Your TikTok account: its name, followers, total likes and videos. Give a date range to also see views, likes, comments and new followers over those days.

ParameterInType
start_date
First day, like 2026-10-01. Optional, with end_date.
querystring
end_date
Last day, like 2026-10-31. Optional, with start_date.
querystring

200 account, and totals when a date range is given400 401 403 404 429 500

GET /v1/integrations/{account_id}/tiktok/videos Your TikTok videos, newest first, with the caption, link, views, likes and comments.
ParameterInType
limitqueryinteger
cursorquerystring

200 videos and next_cursor400 401 403 404 429 500

POST /v1/integrations/{account_id}/tiktok/videos Post a video to TikTok from a public link, with a caption. Checks the account's current settings (creator info) first and refuses a post tha…

Post a video to TikTok from a public link, with a caption. Checks the account's current settings (creator info) first and refuses a post that does not fit them. The owner chooses who can see it and approves the exact post first.

ParameterInType
Idempotency-Key (required)headerstring
Body fieldType
video_url (required)
A public https:// link to the video file (MP4 or MOV).
string
captionstring
privacy_level (required)
Who can see the post, chosen by the owner. Only options the account allows are accepted.
PUBLIC_TO_EVERYONE | MUTUAL_FOLLOW_FRIENDS | FOLLOWER_OF_CREATOR | SELF_ONLY
promotes_own_businessboolean
paid_partnershipboolean
allow_commentsboolean
ai_generatedboolean
allow_duet
Off unless the owner asks; refused when the account has Duet off.
boolean
allow_stitch
Off unless the owner asks; refused when the account has Stitch off.
boolean
video_duration_sec
The video length; a video longer than the account may post is refused.
integer
cover_timestamp_ms
The frame used as the cover, in milliseconds from the start.
integer
owner_approved (required)
Must be true after the owner has seen the exact post or reply. Nothing is sent otherwise.
boolean

200 publish_id and status processing400 401 403 404 409 429 500

POST /v1/integrations/{account_id}/tiktok/photos Post up to 35 photos to TikTok as one swipeable post, with a title and caption. The owner chooses who can see it and approves the exact post…

Post up to 35 photos to TikTok as one swipeable post, with a title and caption. The owner chooses who can see it and approves the exact post first.

ParameterInType
Idempotency-Key (required)headerstring
Body fieldType
photo_urls (required)string[]
titlestring
captionstring
privacy_level (required)
Who can see the post, chosen by the owner. Only options the account allows are accepted.
PUBLIC_TO_EVERYONE | MUTUAL_FOLLOW_FRIENDS | FOLLOWER_OF_CREATOR | SELF_ONLY
promotes_own_businessboolean
paid_partnershipboolean
allow_commentsboolean
add_musicboolean
owner_approved (required)
Must be true after the owner has seen the exact post or reply. Nothing is sent otherwise.
boolean
cover_index
Which photo is the cover (0 is the first).
integer

200 publish_id and status processing400 401 403 404 409 429 500

POST /v1/integrations/{account_id}/tiktok/scheduled-posts Post a TikTok video or photos later. Spaces keeps the post and publishes it at publish_at through the TikTok video or photo post, with the s…

Post a TikTok video or photos later. Spaces keeps the post and publishes it at publish_at through the TikTok video or photo post, with the same limits and action counting.

Body fieldType
video_urlstring
photo_urlsstring[]
captionstring
titlestring
privacy_level (required)PUBLIC_TO_EVERYONE | MUTUAL_FOLLOW_FRIENDS | FOLLOWER_OF_CREATOR | SELF_ONLY
promotes_own_businessboolean
paid_partnershipboolean
allow_commentsboolean
ai_generatedboolean
add_musicboolean
publish_at (required)
Local time like 2026-11-20T09:00 in timezone.
string
timezonestring
owner_approved (required)
Must be true after the owner has approved the exact post, its time and the privacy choice. Nothing is scheduled otherwise.
boolean

201 scheduled_post400 401 403 404 409 429 500

GET /v1/integrations/{account_id}/tiktok/creator-info What this TikTok account may post right now: privacy options, whether comments, Duet and Stitch can be turned on, and the longest video. Eve…

What this TikTok account may post right now: privacy options, whether comments, Duet and Stitch can be turned on, and the longest video. Every post is checked against it.

200 creator, privacy_level_options, comments_allowed, duet_allowed, stitch_allowed, max_video_duration_sec401 403 404 429 500

POST /v1/integrations/{account_id}/facebook/pages/{page_id}/comments/{comment_id}/hide Hide a comment on a Page post (no approval needed; counts as an action).
ParameterInType
Idempotency-Key (required)headerstring

200 hidden true400 401 403 404 409 429 500

DELETE /v1/integrations/{account_id}/facebook/pages/{page_id}/comments/{comment_id}/hide Show a hidden comment again.
ParameterInType
Idempotency-Key (required)headerstring

200 hidden false400 401 403 404 409 429 500

DELETE /v1/integrations/{account_id}/facebook/pages/{page_id}/comments/{comment_id} Delete a comment on a Page post for good.
ParameterInType
Idempotency-Key (required)headerstring

200 deleted true400 401 403 404 409 429 500

POST /v1/integrations/{account_id}/facebook/pages/{page_id}/comments/{comment_id}/likes Like a comment as the Page.
ParameterInType
Idempotency-Key (required)headerstring

200 liked true400 401 403 404 409 429 500

POST /v1/integrations/{account_id}/facebook/pages/{page_id}/comments/{comment_id}/replies Reply to a comment as the Page with text, an image, or both. The Page owner approves the exact reply first.
ParameterInType
Idempotency-Key (required)headerstring
Body fieldType
textstring
image_url
A public https address of an image.
string
owner_approved (required)
Must be true after the owner has seen the exact post or reply. Nothing is sent otherwise.
boolean

200 id400 401 403 404 409 429 500

PATCH /v1/integrations/{account_id}/facebook/pages/{page_id}/posts/{post_id} Change the text of a Page post. The Page owner approves the exact new text first.
ParameterInType
Idempotency-Key (required)headerstring
Body fieldType
text (required)string
owner_approved (required)
Must be true after the owner has seen the exact post or reply. Nothing is sent otherwise.
boolean

200 edited true400 401 403 404 409 429 500

DELETE /v1/integrations/{account_id}/facebook/pages/{page_id}/posts/{post_id} Delete a Page post for good. Sends post.deleted.
ParameterInType
Idempotency-Key (required)headerstring

200 deleted true400 401 403 404 409 429 500

POST /v1/integrations/{account_id}/facebook/pages/{page_id}/posts/{post_id}/pin Pin a post to the top of the Page.
ParameterInType
Idempotency-Key (required)headerstring

200 pinned true400 401 403 404 409 429 500

DELETE /v1/integrations/{account_id}/facebook/pages/{page_id}/posts/{post_id}/pin Unpin a post.
ParameterInType
Idempotency-Key (required)headerstring

200 pinned false400 401 403 404 409 429 500

POST /v1/integrations/{account_id}/facebook/pages/{page_id}/posts Post to a Page now or at a set time: text with an optional link, photo, video or Reel, a video cover and a first comment. The Page owner app…

Post to a Page now or at a set time: text with an optional link, photo, video or Reel, a video cover and a first comment. The Page owner approves the exact post first. A video or Reel counts 5 actions and answers status processing with video_id; post.published (or post.failed) follows once Facebook has processed it

ParameterInType
Idempotency-Key (required)headerstring
Body fieldType
text (required)
The post text, or the video or Reel description.
string
link
A web page to share (https).
string
photo_url
A public https address of a photo. One of link, photo_url or video_url.
string
video_url
A public https address of an MP4 or MOV video. Facebook fetches it.
string
format
With video_url: feed_video (default, up to 20 minutes) or reel (9:16, 3 to 90 seconds).
feed_video | reel
cover_url
With video_url: a public https address of a JPEG or PNG cover.
string
first_comment
A comment the Page posts under the post as soon as it is live.
string
publish_at
A date and time with a time zone, 10 minutes to 30 days ahead. Leave out to publish now.
string
owner_approved (required)
Must be true after the owner has seen the exact post. Nothing is sent otherwise.
boolean

201 id, status (published, scheduled or processing), video_id, format, job_id, first_comment_id, warnings, actions_counted400 401 403 404 409 429 500

POST /v1/integrations/{account_id}/facebook/pages/{page_id}/comments/{comment_id}/private-reply Answer a comment on a Page post with one private Messenger message to the person who wrote it. Facebook allows one private reply per comment…

Answer a comment on a Page post with one private Messenger message to the person who wrote it. Facebook allows one private reply per comment, within 7 days of the comment. Needs the pages_messaging permission (Pages connected before it was added reconnect once). Counts as an action

ParameterInType
Idempotency-Key (required)headerstring
Body fieldType
text (required)
The message, sent privately in Messenger.
string

201 message_id, recipient_id, actions_counted400 401 403 404 409 429 500

POST /v1/integrations/{account_id}/facebook/pages/{page_id}/comment-to-dm Facebook comment-to-DM: someone comments a keyword on a Page post (chosen posts or all_posts) and gets one private Messenger reply, once per…

Facebook comment-to-DM: someone comments a keyword on a Page post (chosen posts or all_posts) and gets one private Messenger reply, once per person. exclude_keywords never trigger. New comments are picked up within about two minutes. Creates a routine

Body fieldType
keywords (required)string[]
dm_text (required)string
post_idsstring[]
all_posts
The Page's newest posts, now and later (the default). Not with post_ids.
boolean
exclude_keywords
A comment with one of these never triggers.
string[]
matchwhole_word | contains
repliesstring[]
namestring

201 routine400 401 403 404 409 429 500

keys

GET /v1/keys getKeys

200 OK401 403 429 500

POST /v1/keys postKeys

200 OK400 401 403 409 429 500

DELETE /v1/keys/{keyId} deleteKeys

200 OK400 401 403 404 409 429 500

POST /v1/keys/{keyId}/pause postKeysPause

200 OK400 401 403 404 409 429 500

POST /v1/keys/{keyId}/resume postKeysResume

200 OK400 401 403 404 409 429 500

logs

GET /v1/logs/requests This key's own API and MCP calls of the last 14 days (list_request_logs). No bodies, message text or tokens are kept.
ParameterInType
errors_onlyqueryboolean
toolquerystring
limitqueryinteger
cursorquerystring

200 requests [{at, via, method, route, tool, status, ok, error_code, error_category, duration_ms}], next_cursor400 401 403 429 500

GET /v1/logs/posts Every attempt to publish a post in the last 30 days, and how it ended (list_post_logs).
ParameterInType
account_idquerystring
outcomequerypublished | held_for_approval | failed | unknown | skipped
limitqueryinteger
cursorquerystring

200 posts [{at, account_id, channel, source, outcome, post_id, error_code, error_category, error}], next_cursor400 401 403 429 500

GET /v1/logs/connections Connects, reconnects, status changes and owner disconnects of the accounts this key may see, with reasons (list_connection_logs). Spaces nev…

Connects, reconnects, status changes and owner disconnects of the accounts this key may see, with reasons (list_connection_logs). Spaces never disconnects an account on its own.

ParameterInType
account_idquerystring
limitqueryinteger
cursorquerystring

200 connections [{at, account_id, channel, event, reason, from_status, to_status}], next_cursor400 401 403 429 500

me

GET /v1/me Who is calling (whoami): the workspace, this key with its scopes and permissions, who made it and the plan. Read only.

200 workspace {id, name}, key {id, name, prefix, scopes, permissions, account_ids, created_at, last_used_at}, created_by {user_id, email, name}, plan {id, status, paying}401 403 429 500

media

POST /v1/media/check Check a public photo or video link against each platform's limits (format, size, dimensions, aspect ratio, video length). Per target: ok, wi…

Check a public photo or video link against each platform's limits (format, size, dimensions, aspect ratio, video length). Per target: ok, will_be_changed (photos Spaces sends itself are compressed, converted or padded) or refused with code media_too_large, bad_aspect_ratio, unsupported_format, video_too_long, video_too_short or image_too_small, the limit and the actual value. Posts nothing

Body fieldType
url (required)
A public https link to a photo or video.
string
targets (required)instagram | instagram_story | linkedin | facebook | facebook_reel | tiktok | …[]

200 media { kind, format, bytes, width, height, duration_seconds }, targets [{ target, status, changes, errors [{ code, message, limit, actual }], notes }]400 401 403 409 429 500

notes

DELETE /v1/messaging/notes/{noteId} Delete a private note

200 ok400 401 403 404 409 429 500

object types

GET /v1/messaging/object-types Custom object types the agent defined

200 ok401 403 429 500

POST /v1/messaging/object-types Define a record type with typed fields
Body fieldType
slug (required)string
name (required)string
fields

201 object_type400 401 403 409 429 500

GET /v1/messaging/object-types/{typeId} One type, by id or slug

200 ok401 403 404 429 500

PATCH /v1/messaging/object-types/{typeId} Rename or replace fields (add fields; a type cannot change)
Body fieldType
namestring
fields

200 ok400 401 403 404 409 429 500

DELETE /v1/messaging/object-types/{typeId} Delete a type; confirm: true if it has records
ParameterInType
confirmqueryboolean

200 ok400 401 403 404 409 429 500

objects

GET /v1/messaging/objects Records, filter by type, contact_id or where
ParameterInType
typequerystring
contact_idquerystring
account_idquerystring
chat_idquerystring
wherequerystring
limitqueryinteger
offsetqueryinteger

200 ok400 401 403 429 500

POST /v1/messaging/objects Create a record, optionally linked to a contact
Body fieldType
type (required)string
data (required)object
contact_idstring
chatobject

201 object400 401 403 409 429 500

GET /v1/messaging/objects/{objectId} One record

200 ok401 403 404 429 500

PATCH /v1/messaging/objects/{objectId} Merge data into a record or relink it
Body fieldType
dataobject
contact_id
chat

200 ok400 401 403 404 409 429 500

DELETE /v1/messaging/objects/{objectId} Delete a record

200 ok400 401 403 404 409 429 500

outcomes

GET /v1/outcomes List outcomes
ParameterInType
sincequerystring
kindquerybooked | order | lead_won | resolved | other
contact_idquerystring
account_idquerystring
chat_idquerystring
limitqueryinteger

200 outcomes and totals (count, by kind, revenue by currency)400 401 403 429 500

POST /v1/outcomes Record an outcome
Body fieldType
kind (required)booked | order | lead_won | resolved | other
account_idstring
chat_idstring
contact_idstring
amountnumber
currencystring
notestring
occurred_atstring
external_idstring

200 duplicate: the same external_id was recorded before201 outcome400 401 403 404 409 429 500

partner

GET /v1/partner Your partner account

200 OK401 403 429 500

GET /v1/partner/users List your users
ParameterInType
limitqueryinteger
beforequerystring
external_user_idquerystring

200 OK400 401 403 429 500

POST /v1/partner/users Create a user, or return the one with this external_user_id
Body fieldType
external_user_id (required)
Your own id for this user.
string
emailstring
namestring
caps
Per-user caps. Each can only be lower than Spaces' own limits. null removes one.
object

201 Created (200 when the user already existed)400 401 403 409 429 500

GET /v1/partner/users/{id} One user

200 OK401 403 404 429 500

PATCH /v1/partner/users/{id} Change a user
Body fieldType
emailstring
namestring
caps
Per-user caps. Each can only be lower than Spaces' own limits. null removes one.
object
pausedboolean
paused_reasonstring

200 OK400 401 403 404 409 429 500

DELETE /v1/partner/users/{id} Delete a user
ParameterInType
confirm (required)queryboolean

200 OK400 401 403 404 409 429 500

POST /v1/partner/users/{id}/pause Pause a user
Body fieldType
reasonstring

200 OK400 401 403 404 409 429 500

POST /v1/partner/users/{id}/resume Resume a user

200 OK400 401 403 404 409 429 500

GET /v1/partner/users/{id}/keys List a user's keys

200 OK401 403 404 429 500

POST /v1/partner/users/{id}/keys Create a key for one user
Body fieldType
namestring
scopesread | messages:send | messages:draft[]

201 key400 401 403 404 409 429 500

DELETE /v1/partner/users/{id}/keys/{keyId} Revoke a user's key

200 OK400 401 403 404 409 429 500

DELETE /v1/partner/users/{id}/accounts/{accountId} Disconnect one account of a user

200 OK400 401 403 404 409 429 500

GET /v1/partner/usage Usage per user for a month
ParameterInType
month
YYYY-MM, UTC. Default: this month.
querystring

200 OK400 401 403 429 500

GET /v1/partner/webhooks List your webhooks

200 OK401 403 429 500

POST /v1/partner/webhooks One webhook for all your users
Body fieldType
url (required)string
eventsstring[]

201 Created400 401 403 409 429 500

DELETE /v1/partner/webhooks/{webhookId} Delete a webhook

200 OK400 401 403 404 409 429 500

GET /v1/partner/events One event stream for all your users
ParameterInType
afterquerystring
waitqueryinteger
typesquerystring
limitqueryinteger

200 events and next_cursor400 401 403 429 500

GET /v1/partner/events/webhooks List your event-stream webhooks

200 OK401 403 429 500

POST /v1/partner/events/webhooks Push the partner event stream to a webhook
Body fieldType
url (required)string
eventsstring[]

201 Created400 401 403 409 429 500

DELETE /v1/partner/events/webhooks/{webhookId} Delete an event-stream webhook

200 OK400 401 403 404 409 429 500

pause

POST /v1/messaging/pause Pause every outbound action in the workspace. Reads keep working. The reason is optional. Needs accounts:manage.
Body fieldType
reasonstring

200 pause400 401 403 404 409 429 500

post slots

GET /v1/post-slots Each account's posting slots and the next slot times (get_post_slots). suggest=true with account_id adds the best posting times.
ParameterInType
account_idquerystring
page_idquerystring
suggestqueryboolean

200 schedules [{account_id, page_id, timezone, slots, next_slots}], default_timezone, suggestion400 401 403 429 500

posts

POST /v1/posts/cross Publish one post on several accounts at once (Instagram, LinkedIn, Facebook Pages and TikTok), adapted to each platform, now or at send_at. …

Publish one post on several accounts at once (Instagram, LinkedIn, Facebook Pages and TikTok), adapted to each platform, now or at send_at. Each account goes through the same limits, approvals and action counting as a single post, and one failure does not stop the others.

ParameterInType
Idempotency-Key (required)headerstring
Body fieldType
targets (required)
The accounts to post on. A Facebook Page target is the Facebook connection id plus page_id.
object[]
text
The post text. Each platform gets it adapted to its limits.
string
media
Public https links to photos, or to one video. Give type when a link has no file extension.
any[]
link
A web page to share (https).
string
overrides
Text for one platform instead of text. TikTok needs privacy, the owner's choice of who can see the post.
object
send_at
Post later instead of now: local time like 2026-11-20T09:00 in timezone, or next_slot to put each target in its account's next free posting slot.
string
timezonestring
owner_approved
true once the owner has approved this exact post. TikTok and Facebook Page targets need it.
boolean
subtitles_url
A public https link to an .srt or .vtt subtitle file for the video. Facebook Page videos and Reels take it; Instagram, LinkedIn and TikTok do not, so there the video goes without and a warning says so.
string
subtitles_locale
The subtitles' language, like en_US (default) or fr_FR.
string

200 The same Idempotency-Key again: the first answer, with replay true. Nothing is posted again.201 One result per target: account_id, channel, status (published, scheduled, waiting_for_owner, skipped or failed), post_id or job_id, url, warnings, error and actions_counted.400 401 403 409 429 500

POST /v1/posts/cross/preview What POST /v1/posts/cross would do with the same body, without sending anything: the adapted text per account, the media, the actions it wou…

What POST /v1/posts/cross would do with the same body, without sending anything: the adapted text per account, the media, the actions it would count, warnings and skips.

Body fieldType
targets (required)
The accounts to post on. A Facebook Page target is the Facebook connection id plus page_id.
object[]
text
The post text. Each platform gets it adapted to its limits.
string
media
Public https links to photos, or to one video. Give type when a link has no file extension.
any[]
link
A web page to share (https).
string
overrides
Text for one platform instead of text. TikTok needs privacy, the owner's choice of who can see the post.
object
send_at
Post later instead of now: local time like 2026-11-20T09:00 in timezone.
string
timezonestring
owner_approved
true once the owner has approved this exact post. TikTok and Facebook Page targets need it.
boolean

200 targets: one entry per account with status would_publish, would_schedule, waiting_for_owner, skipped or failed, tool, text, media, warnings and reason. sent is false.400 401 403 409 429 500

queue

GET /v1/queue Posts in the queue, soonest first (list_queue).
ParameterInType
account_idquerystring
page_idquerystring
statusqueryqueued | publishing | published | awaiting_approval | failed | skipped | …
limitqueryinteger
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 items [{id, account_id, page_id, channel, slot_at, status, text, media, link, attempts, post_id, approval_id, url, warnings, last_error, created_at, published_at}]400 401 403 429 500

POST /v1/queue Put a post in the next free slot of one account (queue_post). Checked now like preview_cross_post; published at its slot through the same li…

Put a post in the next free slot of one account (queue_post). Checked now like preview_cross_post; published at its slot through the same limits, pause, approvals and action counting.

ParameterInType
Idempotency-Key (required)
A unique key per action (8 to 128 characters). A retry with the same key never acts twice.
headerstring
Body fieldType
account_id (required)string
page_idstring
textstring
media
Public https links to photos, or to one video.
any[]
linkstring
overrides
Text for one platform, as in cross_post.
object
owner_approved
TikTok and Facebook Pages need it.
boolean
subtitles_url
A public https link to an SRT or VTT file, for a video post where the platform takes captions.
string
idempotency_keystring
subtitles_locale
The subtitles' language, like en_US (default).
string

201 queued true with item {id, account_id, channel, slot_at, status, warnings}, or queued false with status waiting_for_owner and reason400 401 403 409 429 500

POST /v1/queue/reorder A new order for an account's queued posts (reorder_queue). The slot times stay; the posts swap times.
Body fieldType
account_id (required)string
page_idstring
item_ids (required)
Every queued post of the account, once, in the new order.
string[]

200 items in their new order400 401 403 409 429 500

DELETE /v1/queue/{item_id} Take a post out of the queue before it goes out (remove_from_queue).

200 item with status removed400 401 403 404 409 429 500

referral status

GET /v1/referral-status How the owner's referrals are going: friends who joined, how many paid, months earned and months still pending (credited when the workspace …

How the owner's referrals are going: friends who joined, how many paid, months earned and months still pending (credited when the workspace starts Pay as you go). Read-only.

200 OK401 403 429 500

reminders

GET /v1/messaging/reminders Chat reminders
ParameterInType
statusquery
account_idquerystring
chat_idquerystring
limitqueryinteger

200 ok400 401 403 429 500

DELETE /v1/messaging/reminders/{reminderId} Cancel a waiting reminder

200 ok400 401 403 404 409 429 500

resume

POST /v1/messaging/resume Resume sending after a pause. Needs accounts:manage.

200 pause400 401 403 409 429 500

review reward

GET /v1/review-reward Spaces gives a month on us for an honest review on G2, good or bad. Call this when the owner seems happy with Spaces, or when they ask. It r…

Spaces gives a month on us for an honest review on G2, good or bad. Call this when the owner seems happy with Spaces, or when they ask. It returns what to ask them, the G2 link, the disclosure to say first ("Spaces gives a free month for any honest review, good or bad.") and the rules: ask for their honest opinion, never suggest a rating or praise, help them put their own answers in order only if they want, and the owner writes and submits the review on G2 themselves. Never submit or post a review for them. Read-only: it contacts nobody.

200 OK401 403 429 500

POST /v1/review-reward/claims After the owner has submitted their review on G2 themselves, send its link (review_url, on g2.com) for the month on us, and a screenshot of …

After the owner has submitted their review on G2 themselves, send its link (review_url, on g2.com) for the month on us, and a screenshot of it if they gave you one (screenshot_base64: PNG, JPG, WebP or GIF, under 1 MB); without one, ask them to add it in Settings, under Billing. Spaces checks it and emails the owner: on Pay as you go a credit of one month of account fees on the next invoice, on the Free plan 30 days at 200 actions a day. Once per workspace. Pass owner_confirmed true only after they agree. It posts nothing on G2 and contacts nobody.

Body fieldType
owner_confirmed (required)
review_url (required)string
screenshot_base64string

200 OK400 401 403 409 429 500

reviews

GET /v1/reviews The review and optional case study this workspace has left with Spaces, or null. Read-only.

200 OK401 403 429 500

POST /v1/reviews Save a short review of Spaces, and optionally what they use it for and the result, after the owner agrees. feature true means Spaces may sho…

Save a short review of Spaces, and optionally what they use it for and the result, after the owner agrees. feature true means Spaces may show it as a case study. Ask first. Pass owner_confirmed true only after they agree to this exact text.

Body fieldType
owner_confirmed (required)
rating (required)integer
body (required)string
use_casestring
resultsstring
featureboolean

200 OK400 401 403 409 429 500

routines

GET /v1/messaging/routines Routines
ParameterInType
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 routines401 403 429 500

POST /v1/messaging/routines Create a recurring or event routine. Sends use the same limits.
Body fieldType
account_id (required)string
name (required)string
timezone (required)string
trigger_type (required)
daily_timestring
every_minutesinteger
cronstring
event
keywords
after_hoursinteger
action_type (required)
sequence_idstring
textstring
chat_idstring
tagstring
webhook_urlstring
email_tostring
snippets
work_start_hourinteger
work_end_hourinteger
also_dmboolean
post_ids
match
replies
repeat_for_new_commentsboolean

201 routine400 401 403 409 429 500

PATCH /v1/messaging/routines/{routineId} Pause, resume or edit a routine
Body fieldType
status
namestring

200 routine400 401 403 404 409 429 500

DELETE /v1/messaging/routines/{routineId} Delete a routine

200 deleted400 401 403 404 409 429 500

GET /v1/messaging/routines/{routineId}/runs Run history and errors
ParameterInType
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 runs401 403 404 429 500

saved replies

GET /v1/messaging/saved-replies Saved replies

200 ok401 403 429 500

POST /v1/messaging/saved-replies Save a reusable message
Body fieldType
name (required)string
text (required)string

201 saved_reply400 401 403 409 429 500

GET /v1/messaging/saved-replies/{replyId} One saved reply; contact_id fills in the text
ParameterInType
contact_idquerystring

200 ok400 401 403 404 429 500

PATCH /v1/messaging/saved-replies/{replyId} Rename or change a saved reply
Body fieldType
namestring
textstring

200 ok400 401 403 404 409 429 500

DELETE /v1/messaging/saved-replies/{replyId} Delete a saved reply

200 ok400 401 403 404 409 429 500

scheduled posts

GET /v1/messaging/scheduled-posts Scheduled posts in this workspace, including published, cancelled and failed ones, with the next publish time and the last error. Pass accou…

Scheduled posts in this workspace, including published, cancelled and failed ones, with the next publish time and the last error. Pass account_id for one account. Pass view: 'summary' or fields for a shorter answer.

ParameterInType
account_idquerystring
viewquery
fieldsquerystring

200 OK400 401 403 429 500

PATCH /v1/messaging/scheduled-posts/{scheduledPostId} Change the text, media, options, time, timezone, repeat, until or first comment of a scheduled post that is still waiting. Pass attachments …

Change the text, media, options, time, timezone, repeat, until or first comment of a scheduled post that is still waiting. Pass attachments to replace all media. Confirm the change with the person first. Sensitive write: it changes a post that will be published. Ask the person to approve every call, with the exact recipient and content.

Body fieldType
textstring
attachments
post_type
locationstring
external_linkstring
repoststring
as_organizationstring
publish_atstring
timezonestring
repeat
untilstring
first_commentstring

200 OK400 401 403 404 409 429 500

DELETE /v1/messaging/scheduled-posts/{scheduledPostId} Cancel a scheduled post, or the rest of a repeating one. Posts already published stay up.

200 OK400 401 403 404 409 429 500

schedules

GET /v1/messaging/schedules Scheduled messages

200 schedules401 403 429 500

POST /v1/messaging/schedules Schedule a message for a local time. The send uses the same account limits.
Body fieldType
account_id (required)string
text (required)string
send_at (required)string
timezonestring
chat_idstring
toobject
work_start_hourinteger
work_end_hourinteger

201 schedule400 401 403 409 429 500

PATCH /v1/messaging/schedules/{scheduleId} Edit a scheduled message
Body fieldType
textstring
send_atstring
timezonestring

200 schedule400 401 403 404 409 429 500

DELETE /v1/messaging/schedules/{scheduleId} Cancel a scheduled message

200 schedule400 401 403 404 409 429 500

segments

GET /v1/messaging/segments Saved audience filters

200 ok401 403 429 500

POST /v1/messaging/segments Save a filter on tags and contact fields; returns contact_count
Body fieldType
account_id (required)string
name (required)string
filter (required)object

201 segment400 401 403 409 429 500

GET /v1/messaging/segments/{segmentId} A segment with its live match count and a sample

200 ok401 403 404 429 500

PATCH /v1/messaging/segments/{segmentId} Rename or change the filter
Body fieldType
namestring
filterobject

200 ok400 401 403 404 409 429 500

DELETE /v1/messaging/segments/{segmentId} Delete a segment

200 ok400 401 403 404 409 429 500

sequences

GET /v1/messaging/sequences Drip sequences
ParameterInType
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 ok401 403 429 500

POST /v1/messaging/sequences Create a drip of DMs: steps of delay_minutes and text. Sends nothing until contacts are enrolled
Body fieldType
account_id (required)string
name (required)string
steps (required)
exit_on_replyboolean

201 sequence400 401 403 409 429 500

GET /v1/messaging/sequences/{sequenceId} Sequence with enrollment counts

200 ok401 403 404 429 500

PATCH /v1/messaging/sequences/{sequenceId} Pause, resume or edit a sequence
Body fieldType
status
namestring
steps
exit_on_replyboolean

200 ok400 401 403 404 409 429 500

DELETE /v1/messaging/sequences/{sequenceId} Delete a sequence and cancel waiting steps

200 ok400 401 403 404 409 429 500

POST /v1/messaging/sequences/{sequenceId}/enroll Enrol contact_ids or a tag. Ends for anyone who replies STOP or, by default, any reply
Body fieldType
contact_ids
tagstring
segment_idstring

202 enrolled400 401 403 404 409 429 500

GET /v1/messaging/sequences/{sequenceId}/enrollments Who is in a sequence and why anyone stopped
ParameterInType
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 ok401 403 404 429 500

settings

GET /v1/messaging/settings Approvals setting and pause state

200 settings401 403 429 500

PATCH /v1/messaging/settings Set approvals to off, posts or all_writes. Needs accounts:manage.
Body fieldType
approvals (required)off | posts | all_writes

200 settings400 401 403 409 429 500

setup

GET /v1/setup/next Next setup step

200 next_step, todo, steps, accounts401 403 429 500

GET /v1/setup/test Check the setup test

200 status and next401 403 429 500

POST /v1/setup/test Start the setup test
Body fieldType
account_id (required)string

200 status waiting, ask_person400 401 403 404 409 429 500

share reward

GET /v1/share-reward Spaces gives a month on us when the owner posts about Spaces on their own LinkedIn, Instagram, X, Facebook, TikTok or Threads account and se…

Spaces gives a month on us when the owner posts about Spaces on their own LinkedIn, Instagram, X, Facebook, TikTok or Threads account and sends the post link and a screenshot. This returns whether it is still available, the latest claim and the rules. The owner posts it themselves: never post it for them, on any account. Read-only: it contacts nobody.

200 OK401 403 429 500

POST /v1/share-reward/claims After the owner has posted about Spaces themselves, on their own account, send the post link (post_url: LinkedIn, Instagram, X, Facebook, Ti…

After the owner has posted about Spaces themselves, on their own account, send the post link (post_url: LinkedIn, Instagram, X, Facebook, TikTok or Threads) and a screenshot of the post (screenshot_base64: PNG, JPG, WebP or GIF, under 1 MB) for the month on us. Spaces checks it by hand and emails the owner. Once per workspace. Pass owner_confirmed true only after they agree. Never post on their accounts for this: this tool posts nothing anywhere and contacts nobody.

Body fieldType
owner_confirmed (required)
post_url (required)string
screenshot_base64 (required)string

200 OK400 401 403 409 429 500

signup

POST /v1/signup Email a 6-digit code
Body fieldType
email (required)string
account_type
personal is "just me": creators, coaches, professionals, job seekers.
business | personal | agency
goalsales | time | both
detail
business: an industry or a few words; personal: audience, network or dms; agency: 1-5, 6-20, 21-100 or 100+.
string
heard_from
Ask the person "Where did you hear about Spaces?" and pass the answer. ai_assistant is an AI agent such as ChatGPT or Claude; other needs heard_from_detail. Without it the owner is asked when they first open the dashboard.
search | ai_assistant | linkedin | x | youtube | reddit | …
heard_from_detail
Their own words, required when heard_from is other.
string

201 signup_id and expires_at400 401 403 409 429 500

POST /v1/signup/verify Exchange the code for an API key
Body fieldType
signup_id (required)string
code (required)string
refstring
account_type
personal is "just me": creators, coaches, professionals, job seekers.
business | personal | agency
goalsales | time | both
detail
business: an industry or a few words; personal: audience, network or dms; agency: 1-5, 6-20, 21-100 or 100+.
string
heard_from
Ask the person "Where did you hear about Spaces?" and pass the answer. ai_assistant is an AI agent such as ChatGPT or Claude; other needs heard_from_detail. Without it the owner is asked when they first open the dashboard.
search | ai_assistant | linkedin | x | youtube | reddit | …
heard_from_detail
Their own words, required when heard_from is other.
string

200 api_key shown once400 401 403 409 429 500

suggestions

GET /v1/suggestions Suggest what to do next

200 quiet, suggestions, how, and review_request when there is one401 403 429 500

survey

GET /v1/survey Read the product survey

200 survey (id, questions, requested_at) or null, and how to answer401 403 404 429 500

POST /v1/survey/answers Answer the product survey
Body fieldType
survey_id (required)
The id from GET /survey.
string
disappointment (required)
How would you feel if you could no longer use Spaces?
very_disappointed | somewhat_disappointed | not_disappointed
who_benefits (required)
What type of people do you think would most benefit from Spaces?
string
main_benefit (required)
What is the main benefit you receive from Spaces?
string
improve (required)
How can we improve Spaces for you?
string
answered_by (required)
agent: your own view. agent_confirmed_by_owner: the owner read your answers and agreed. owner: the owner's own words.
agent | agent_confirmed_by_owner | owner

201 survey (id, status answered, answered_by) and a thank-you message400 401 403 404 409 429 500

tiktok

GET /v1/tiktok/scheduled-posts Scheduled TikTok posts, with status, publish time, publish_id and the last error.
ParameterInType
account_idquerystring

200 scheduled_posts400 401 403 429 500

PATCH /v1/tiktok/scheduled-posts/{scheduled_post_id} Change a scheduled TikTok post that is still waiting. Any change needs owner_approved: true again.
Body fieldType
video_urlstring
photo_urlsstring[]
captionstring
titlestring
privacy_levelPUBLIC_TO_EVERYONE | MUTUAL_FOLLOW_FRIENDS | FOLLOWER_OF_CREATOR | SELF_ONLY
promotes_own_businessboolean
paid_partnershipboolean
allow_commentsboolean
ai_generatedboolean
add_musicboolean
publish_at
Local time like 2026-11-20T09:00 in timezone.
string
timezonestring
owner_approved (required)
Must be true after the owner has approved the exact post, its time and the privacy choice. Nothing is scheduled otherwise.
boolean

200 scheduled_post400 401 403 404 409 429 500

DELETE /v1/tiktok/scheduled-posts/{scheduled_post_id} Cancel a scheduled TikTok post. Nothing is sent.

200 scheduled_post with status cancelled400 401 403 404 409 429 500

trigger types

GET /v1/messaging/trigger-types What can start an agent: slugs, filters and sample data

200 ok401 403 429 500

triggers

GET /v1/messaging/triggers Every trigger, made by a person or an agent

200 ok401 403 429 500

POST /v1/messaging/triggers Start an agent on an event: a signed POST to your URL. The secret is returned once
Body fieldType
slug (required)string
url (required)string
namestring
account_idstring
filtersobject

201 trigger400 401 403 409 429 500

GET /v1/messaging/triggers/{triggerId} One trigger with recent deliveries

200 ok401 403 404 429 500

PATCH /v1/messaging/triggers/{triggerId} Pause, resume or edit a trigger you may manage
Body fieldType
status
namestring
urlstring
account_id
filtersobject

200 ok400 401 403 404 409 429 500

DELETE /v1/messaging/triggers/{triggerId} Delete a trigger you may manage

200 ok400 401 403 404 409 429 500

POST /v1/messaging/triggers/{triggerId}/test Send one signed sample event to the URL

200 ok400 401 403 404 409 429 500

GET /v1/messaging/triggers/{triggerId}/deliveries Recent deliveries and what the URL answered
ParameterInType
limitqueryinteger

200 ok400 401 403 404 429 500

usage

GET /v1/messaging/usage Send limits for each account

200 usage401 403 429 500

GET /v1/messaging/usage/export Usage per account per day (CSV or JSON). No message text.
ParameterInType
fromquerystring
toquerystring
formatquerycsv | json

200 usage rows400 401 403 429 500

webhooks

GET /v1/messaging/webhooks The workspace's webhooks, without secrets, with the last delivery status.

200 OK401 403 429 500

POST /v1/messaging/webhooks Send events for the workspace to your URL as signed POSTs (Spacesos-Signature: t=<unix seconds>,v1=<HMAC-SHA256 of "<t>.<raw body>">). The a…

Send events for the workspace to your URL as signed POSTs (Spacesos-Signature: t=<unix seconds>,v1=<HMAC-SHA256 of "<t>.<raw body>">). The answer holds the signing secret once. Retried with backoff for about a day; turned off after 50 events fail in a row. Needs accounts:manage.

Body fieldType
url (required)
An https URL on a public host.
string
events
Default: message.received and account.status.
message.received | conversation.started | message.read | message.delivered | message.edited | message.deleted | …[]
account_id
Only this account's events.
string

201 OK400 401 403 409 429 500

DELETE /v1/messaging/webhooks/{webhookId} Delete a webhook. Nothing more is sent to it.

200 OK400 401 403 404 409 429 500

POST /v1/messaging/webhooks/{webhookId}/test Send one signed example event to this webhook now, and get the status your server answered with. The event has test: true.
Body fieldType
type
Default message.received.
message.received | conversation.started | message.read | message.delivered | message.edited | message.deleted | …

200 OK400 401 403 404 409 429 500

GET /v1/messaging/webhooks/{webhookId}/deliveries The delivery log of the past week, newest first: event, status, your server's status code and attempts. Never a message body.
ParameterInType
limit
How many, 1 to 200.
queryinteger
before
Deliveries created before this time: the next_before of the last page.
querystring
cursor
The next_cursor of the last page (the same as before).
querystring

200 OK400 401 403 404 429 500

POST /v1/messaging/webhooks/{webhookId}/deliveries/{deliveryId}/redeliver Send one delivery again now, with the same event id and the header Spacesos-Redelivery: 1. A message event comes without its text.

200 OK400 401 403 404 409 429 500

workflow runs

GET /v1/messaging/workflow-runs/{runId} One run with its step log. No message text.

200 ok401 403 404 429 500

POST /v1/messaging/workflow-runs/{runId}/resume Answer an ask_agent step (workflow.agent_requested) with an answer and/or a branch.
Body fieldType
answerstring
branchstring

200 run400 401 403 404 409 429 500

POST /v1/messaging/workflow-runs/{runId}/cancel Stop one run now.

200 ok400 401 403 404 409 429 500

workflows

GET /v1/messaging/workflows Workflows, with status, version, runs this week and the last run.
ParameterInType
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 ok401 403 429 500

POST /v1/messaging/workflows Create a workflow on one account: a trigger and a graph of steps. A draft unless publish is true. 400 INVALID_WORKFLOW lists problems per no…

Create a workflow on one account: a trigger and a graph of steps. A draft unless publish is true. 400 INVALID_WORKFLOW lists problems per node.

Body fieldType
account_id (required)string
name (required)string
graph (required)
{nodes, edges}. One trigger node; see llms-full.txt#workflows for every step type and its branches.
object
timezonestring
publishboolean

201 workflow and its signing secret (shown once)400 401 403 409 429 500

POST /v1/messaging/workflows/test Dry run of a graph not saved yet. Sends nothing, counts nothing.
Body fieldType
message (required)string
graph
{nodes, edges}. One trigger node; see llms-full.txt#workflows for every step type and its branches.
object
repliesstring[]
agentobject[]
contactobject
varsobject
webhook_responsesobject
abobject
atstring

200 path400 401 403 409 429 500

GET /v1/messaging/workflows/{workflowId} One workflow with its graph.

200 ok401 403 404 429 500

PATCH /v1/messaging/workflows/{workflowId} Save a new version of the graph, or rename it.
Body fieldType
graph
{nodes, edges}. One trigger node; see llms-full.txt#workflows for every step type and its branches.
object
namestring
timezonestring
notestring

200 workflow400 401 403 404 409 429 500

DELETE /v1/messaging/workflows/{workflowId} Delete a workflow and its runs.

200 ok400 401 403 404 409 429 500

POST /v1/messaging/workflows/{workflowId}/publish Turn a workflow on.

200 ok400 401 403 404 409 429 500

POST /v1/messaging/workflows/{workflowId}/pause Turn a workflow off. Runs already going wait.

200 ok400 401 403 404 409 429 500

POST /v1/messaging/workflows/{workflowId}/test Dry run against a sample message: the path taken and the text it would send. Sends nothing, counts nothing.
Body fieldType
message (required)string
graph
{nodes, edges}. One trigger node; see llms-full.txt#workflows for every step type and its branches.
object
repliesstring[]
agentobject[]
contactobject
varsobject
webhook_responsesobject
abobject
atstring

200 path400 401 403 404 409 429 500

GET /v1/messaging/workflows/{workflowId}/runs Recent runs with status, the path taken and why each stopped.
ParameterInType
view
summary: a compact item shape (ids, names, times, status, text cut to 160 characters) to save tokens. full (default): everything.
querysummary | full
fields
Comma-separated item fields to keep, such as id,name,last_message (a.b reaches one level down). id is always kept.
querystring

200 ok401 403 404 429 500

GET /v1/messaging/workflows/{workflowId}/versions Every saved version.

200 ok401 403 404 429 500

POST /v1/messaging/workflows/{workflowId}/versions/{version}/restore Copy an old version into a new current version.

200 ok400 401 403 404 409 429 500

workspace

GET /v1/workspace/brief Read the business brief

200 brief, updated_at, complete, missing401 403 429 500

PUT /v1/workspace/brief Replace the business brief
Body fieldType
business_namestring
what_you_sellstring
hoursstring
locationsstring[]
prices_and_linksstring
faqsobject[]
tonestring
languagesstring[]
never_promisestring[]
hand_over_whenstring[]
urgent_contactstring

200 the saved brief400 401 403 409 429 500

PATCH /v1/workspace/brief Change part of the business brief
Body fieldType
business_namestring
what_you_sellstring
hoursstring
locationsstring[]
prices_and_linksstring
faqsobject[]
tonestring
languagesstring[]
never_promisestring[]
hand_over_whenstring[]
urgent_contactstring

200 the saved brief400 401 403 409 429 500

GET /v1/workspace/setup What the whole team shares: accounts, saved replies, routines, sequences, triggers, budget and members

200 summary401 403 429 500

GET /v1/workspace/profile Read the account type and goal

200 account_type, goal, detail, use_cases, success, complete, missing401 403 429 500

PUT /v1/workspace/profile Save the account type and goal
Body fieldType
account_type (required)
personal is "just me": creators, coaches, professionals, job seekers.
business | personal | agency
goalsales | time | both
detail
business: an industry or a few words; personal: audience, network or dms; agency: 1-5, 6-20, 21-100 or 100+.
string
use_cases
What the owner wants their AI agent to help with most, any of these. Replaces the list, and sets the goal it points to unless goal is given.
answer_dms | book_appointments | qualify_leads | follow_up | take_orders | support_faqs | …[]
successstring
owner_confirmed (required)
true only after the owner said yes.
true
heard_from
The owner's answer to "Where did you hear about Spaces?". ai_assistant is an AI agent such as ChatGPT or Claude; other needs heard_from_detail. Kept if the owner already answered.
search | ai_assistant | linkedin | x | youtube | reddit | …
heard_from_detail
Their own words, required when heard_from is other.
string

200 The saved profile400 401 403 409 429 500

GET /v1/workspace/goal Read the goal

200 goal, stated, success401 403 429 500

PUT /v1/workspace/goal Save the goal
Body fieldType
goal (required)sales | time | both
success
What counts as a win, for example a booked call.
string
owner_confirmed (required)
true only after the owner said yes.
true

200 The goal400 401 403 409 429 500

GET /v1/workspace/timezone The workspace's default time zone (get_workspace_timezone), used whenever a call passes none.

200 timezone (null when not set)401 403 429 500

PUT /v1/workspace/timezone Set the workspace's default time zone (set_workspace_timezone). Scope accounts:manage.
Body fieldType
timezone (required)
An IANA name such as Europe/Paris, or null to clear it.
string

200 timezone400 401 403 409 429 500

GET /v1/workspace/members Everyone in the workspace with their role (owner, admin, member, viewer), and open invitations when the key belongs to the owner. Read-only.

200 OK401 403 429 500

POST /v1/workspace/members Email an invitation to join this workspace as member (can use accounts, send and build automations) or viewer (read only). Admins are made b…

Email an invitation to join this workspace as member (can use accounts, send and build automations) or viewer (read only). Admins are made by the owner in the dashboard. They join by signing in with that email. confirm must be true, and only after a person has said who to invite and in which role. Only the workspace owner can do this (the key must be one the owner created), and a person should have asked for it. A teammate and their agents see the same accounts they are allowed to use, the same saved replies, routines, sequences and triggers, and the same budget. Sensitive write: it emails an invitation, and the person who joins can use the accounts and read the chats. Ask the person to approve every call, with the exact recipient and content.

Body fieldType
email (required)string
role
confirm (required)

200 OK400 401 403 409 429 500

PATCH /v1/workspace/members/{id} Make a teammate a member or a viewer. member_id comes from list_team. confirm must be true. Only the workspace owner can do this (the key mu…

Make a teammate a member or a viewer. member_id comes from list_team. confirm must be true. Only the workspace owner can do this (the key must be one the owner created), and a person should have asked for it. A teammate and their agents see the same accounts they are allowed to use, the same saved replies, routines, sequences and triggers, and the same budget. Sensitive write: it changes what a teammate can do: a viewer who becomes a member can use the accounts and send. Ask the person to approve every call, with the exact recipient and content.

Body fieldType
role (required)
confirm (required)

200 OK400 401 403 404 409 429 500

DELETE /v1/workspace/members/{id} Remove a teammate (every API key they created stops working) or cancel an open invitation. id is a member id or an invite id from list_team.…

Remove a teammate (every API key they created stops working) or cancel an open invitation. id is a member id or an invite id from list_team. confirm must be true, and only after a person has said so. Only the workspace owner can do this (the key must be one the owner created), and a person should have asked for it. A teammate and their agents see the same accounts they are allowed to use, the same saved replies, routines, sequences and triggers, and the same budget. Sensitive write: it removes a person and stops every API key they created. Ask the person to approve every call, with the exact recipient and content.

ParameterInType
confirm (required)query

200 OK400 401 403 404 409 429 500

POST /v1/workspace/owner postWorkspaceOwner

200 OK400 401 403 409 429 500