Skip to main content
POST
manage social inbox

Authorizations

Authorization
string
header
required

An API key (es_live_…) from Settings, under API keys, or an OAuth access token.

Headers

Idempotency-Key
string

Retry a paid dispatch safely: the same key returns the job already dispatched instead of charging again.

x-workspace-id
string

The workspace this one call acts in, when it is not the default: for a key or a connected agent, one of the workspaces the user allowed it.

Body

application/json
action
enum<string>
required
Available options:
commented_posts,
comments,
reply,
hide,
unhide,
delete,
like,
unlike,
private_reply,
conversations,
messages,
send,
mark_read,
allowance
account_id
string

An account id from manage_social_accounts list. Required on every action but the lists, where it narrows to one account.

post_id
string

comments, reply, hide, unhide, delete, like, unlike, private_reply: the post, as commented_posts gives it.

comment_id
string

The comment acted on; for comments, the one whose replies are read; for reply, the one answered (left out: a reply to the post).

conversation_id
string

messages, send, mark_read: a thread from conversations.

text
string

reply, private_reply, send: the words.

attachment
string

send, reply: a library item sent as its file, 25 MB max. send: Instagram image, video, audio; Facebook also documents; TikTok one JPG/PNG up to 3 MB. reply: Facebook, an image.

attachment_url
string

In place of attachment: a public https address.

cursor
string

Lists: next_cursor from the read before.

context
string

Optional: one sentence shown to the user beside this action.

Maximum string length: 600

Response

Done, or a job started for work that runs longer (follow it with get_jobs).

ok
any
required
data
object
required
meta
object
required
media
object[]