Skip to main content
POST
cURL

Authorizations

X-API-Key
string
header
required

Customer API key created in the Sendora dashboard.

Headers

X-API-Key
string | null
Authorization
string | null

Body

application/json
content
string
required

Content returned by the Sendora API.

Required string length: 1 - 10000
attachments
CopilotAttachment · object[] | null

Pasted/uploaded images sent as vision content blocks.

campaign_id
string | null

The campaign this conversation is about, when there is one: an id from List campaigns.

idempotency_key
string | null

Stable client-generated key for one chat submission; retries reuse the existing run.

Required string length: 8 - 200
mode
string | null

plan | auto | accept-edits | bypass. Default auto.

model
string | null

Model id from the current catalogue; stale or unsupported ids are rejected safely.

profile
string | null

Agent profile: campaign_remix, builder_lead_list, builder_campaign, builder_voice_agent, builder_skill, or agency_billing.

provider
string | null

connected service hint for BYOK key selection.

replace_run_id
string<uuid> | null

Regenerate from this run: the id of a run in Get a Copilot session. That run and every later one are discarded.

thread_id
string | null

The session to continue: the thread_id from the first thread event of an earlier reply. Leave empty to start a new session.

workspace_context
WorkspaceContextIn · object | null

What page + entity the operator is currently viewing. Injected as a system hint.

Response

Successful Response