Skip to main content
POST
manage auto replies

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:
list,
get,
create,
update,
delete
automation_id
string

get, update, delete: an id from list.

account_id
string

create: the account that answers.

name
string

create, update: its title in the list. Left out: the keywords.

Maximum string length: 120
platform_post_id
string

create, update: the one post it watches, by its platform id (manage_social_inbox commented_posts gives it). Left out: every post on the account.

post_id
string

create: a post made here, by its id from manage_social_posts, scheduled or published, in place of platform_post_id; a scheduled one is answered from when it publishes.

keywords
string[]

create, update: words a comment must contain. Empty: any comment. A keyword also matches inside a longer word (price in priceless). On LinkedIn and YouTube a comment is answered within about ten minutes.

Maximum array length: 50
Maximum string length: 80
dm_text
string

create, update: the direct message (Instagram and Facebook; required there).

Maximum string length: 1000
reply_text
string

create, update: the public reply under the comment (required on TikTok, Threads, LinkedIn and YouTube).

Maximum string length: 1000
attachment
string | null

create, update: a library item sent after the message (Instagram, Facebook); null removes it; get marks file_not_sent where it was held back.

active
boolean

create: false makes it paused. update: false pauses, true resumes.

options
object

create, update: how it is set off, matched and sent, beyond the fields above.

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[]