Skip to main content
POST
manage social posts

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,
choices,
check,
create,
update,
delete,
retry,
edit,
remove,
create_playlist,
create_board
post_id
string

get, update, delete, retry, edit, remove: an id from create or list. check takes what create takes and returns whether it would pass, making and sending nothing. check, create and update return unset: per account, the options left unset and what the platform then does (a YouTube thumbnail taken from a frame, visibility public).

account_id
string

choices, edit, remove: an account id. remove on YouTube deletes the video for good.

card_id
string

create: the calendar card the post is made from; left out, one is made. list: that card's posts.

caption
string

create, update: the text of the post. edit: the new text.

media
string[]

create, update: library item ids or refs, in the order they are shown.

alt_text
object

create, update: a picture's description for people who cannot see it, by its id or ref as given in media. Up to 1,000 characters.

cover
string

create, update: a library picture shown as the cover of the post's one video (YouTube thumbnail; Instagram reel, Facebook, LinkedIn and Pinterest cover; TikTok takes a frame, cover_at_ms). edit: a published YouTube video's new thumbnail, or a Facebook video's cover.

details
object

edit, a published YouTube video: any of title, tags, category, visibility, playlist_id, made_for_kids, ai_label, language, audio_language, as choices names them.

targets
object[]

create, update: the accounts and their options.

lookup
enum<string>

choices: search what the account offers, with query. locations: a place for a TikTok video. audio: a track for an Instagram reel.

Available options:
locations,
audio
query
string

choices with lookup: the word to search.

title
string

create_playlist: a new private playlist on the YouTube account_id; returns its id for playlist_id. create_board: a new public board on the Pinterest account_id, for board_id.

scheduled_for
string

create, update: YYYY-MM-DDTHH:mm in the user's time zone. Left out on create, the post goes now.

hold
boolean

create: true keeps the post for a person to approve in the app instead of sending it; its status is held until then. A workspace can require this of every post an agent makes.

status
enum<string>

list: only posts in this state, up to 100; failed ones are sent again with retry.

Available options:
held,
scheduled,
published,
partial,
failed
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[]