Contents

API reference

Conversations

API reference descriptions are provided in English to preserve the exact published contract.

List customer-controlled bot applications

GET /v1/accounts/{AC}/bot-applications

Required scope: `inboxes:read`.

Parameters

Parameters
NameTypeRequiredDescription
limitquery · integer (1–100)
cursorquery · string (max 2048 chars)
ACpath · string (AC… SID)yesAccount SID

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Create a customer-controlled bot application

POST /v1/accounts/{AC}/bot-applications

Required scope: `inboxes:write`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
Request body (5 fields)
Request body
NameTypeRequiredDescription
fallbackInboxSidstring (IB… SID)yes
namestring (max 128 chars)yes
principalRefstring (max 128 chars)yes
timeoutSecondsinteger (5–3600)
webhookEndpointSidstring (WH… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Update a customer-controlled bot application

PATCH /v1/accounts/{AC}/bot-applications/{BA}

Required scope: `inboxes:write`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
BApath · string (BA… SID)yes
Request body (5 fields)
Request body
NameTypeRequiredDescription
fallbackInboxSidstring (IB… SID)
namestring (max 128 chars)
principalRefstring (max 128 chars)
timeoutSecondsinteger (5–3600)
webhookEndpointSidstring (WH… SID)

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Disable a bot application when it has no active handoff

DELETE /v1/accounts/{AC}/bot-applications/{BA}

Required scope: `inboxes:write`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
BApath · string (BA… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

List authorized conversations and collaboration state

GET /v1/accounts/{AC}/conversations

List conversations you may see, with their state, assignee and service-window expiry. Account-scoped credential: Required scope: `conversations:read`. Alternatively, a normal tenant USER session may use `conversations:read` through actual readable inbox membership in this workspace. Collection results include only accessible inboxes or their conversations; this grants no account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
inboxSidquery · string (IB… SID)
senderSidquery · string (WA… SID)
contactSidquery · string (CT… SID)
statequery · "OPEN" | "IDLE" | "CLOSED" | "ARCHIVED"
assigneequery · string (max 128 chars)
unassignedquery · boolean
unreadquery · boolean
priorityquery · "LOW" | "NORMAL" | "HIGH" | "URGENT"
tagquery · string (pattern ^[a-z0-9][a-z0-9_-]{0,39}$)
campaignSidquery · string (CP… SID)
consentStatequery · "OPTED_IN" | "OPTED_OUT" | "UNKNOWN" | "REVOKED" | "EXPIRED"
riskFlagquery · boolean
slaStatequery · "healthy" | "at_risk" | "breached"
snoozedquery · boolean
waitingquery · booleanOnly open conversations where the customer's last message has not been answered.
sortquery · "recent" | "longest_waiting"`recent` (default): newest activity first. `longest_waiting`: the customer who has waited longest for a reply first; conversations nobody is waiting on come last.
createdAfterquery · string (date-time)
createdBeforequery · string (date-time)
limitquery · integer (1–100)
cursorquery · string (max 2048 chars)
ACpath · string (AC… SID)yesAccount SID

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Search authorized conversations by identifier, contact and metadata

GET /v1/accounts/{AC}/conversations/search

`q` matches the conversation sid, the contact sid and the contact display name. Message bodies are sealed at rest and are not searchable. Required scope: `conversations:read`.

Parameters

Parameters
NameTypeRequiredDescription
qquery · string (max 200 chars)yes
inboxSidquery · string (IB… SID)
senderSidquery · string (WA… SID)
contactSidquery · string (CT… SID)
tagquery · string (max 40 chars)
assigneequery · string (max 128 chars)
fromquery · string (date-time)
toquery · string (date-time)
limitquery · integer (1–100)
cursorquery · string (max 2048 chars)
ACpath · string (AC… SID)yesAccount SID

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Get a conversation

GET /v1/accounts/{AC}/conversations/{CO}

Fetch one conversation with its assignment, tags and version. Account-scoped credential: Required scope: `conversations:read`. Alternatively, a normal tenant USER session may use `conversations:read` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Assign a conversation

POST /v1/accounts/{AC}/conversations/{CO}/assign

Assign a conversation to an available teammate in its inbox, by their principal reference. Send the `conversationVersion` you last read; a stale version is refused so two people cannot overwrite each other. Account-scoped credential: Required scope: `conversations:assign`. Alternatively, a normal tenant USER session may use `conversations:assign` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (3 fields)
Request body
NameTypeRequiredDescription
assigneePrincipalRefstring (max 128 chars)yes
conversationVersioninteger (1–)yes
reasonstring (max 1000 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

List audited assignment and handoff history

GET /v1/accounts/{AC}/conversations/{CO}/assignments

Account-scoped credential: Required scope: `conversations:read`. Alternatively, a normal tenant USER session may use `conversations:read` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
limitquery · integer (1–100)
cursorquery · string (max 2048 chars)
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Acknowledge, activate, complete, or reject a bot handoff

POST /v1/accounts/{AC}/conversations/{CO}/bot-handoffs/{BH}/respond

Required scope: `conversations:write`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
BHpath · string (BH… SID)yes
Request body (2 fields)
Request body
NameTypeRequiredDescription
outcome"ACCEPT" | "ACTIVE" | "COMPLETE" | "FAIL"yes
reasonstring (max 1000 chars)

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Retry a failed or timed-out bot handoff

POST /v1/accounts/{AC}/conversations/{CO}/bot-handoffs/{BH}/retry

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:assign` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
BHpath · string (BH… SID)yes
Request body (1 fields)
Request body
NameTypeRequiredDescription
reasonstring (max 1000 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Take an active bot handoff back to its human fallback inbox

POST /v1/accounts/{AC}/conversations/{CO}/bot-handoffs/{BH}/takeover

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:assign` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
BHpath · string (BH… SID)yes
Request body (1 fields)
Request body
NameTypeRequiredDescription
reasonstring (max 1000 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Acquire the exclusive composer claim

POST /v1/accounts/{AC}/conversations/{CO}/claim

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (3 fields)
Request body
NameTypeRequiredDescription
conversationVersioninteger (1–)yes
leaseSecondsinteger (15–300)
overrideReasonstring (max 1000 chars)

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Release the composer claim

POST /v1/accounts/{AC}/conversations/{CO}/claim/release

Account-scoped credential: Required scope: `conversations:assign`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (2 fields)
Request body
NameTypeRequiredDescription
leaseSecondsinteger (15–300)
leaseTokenstring (uuid)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Renew the composer claim

POST /v1/accounts/{AC}/conversations/{CO}/claim/renew

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (2 fields)
Request body
NameTypeRequiredDescription
leaseSecondsinteger (15–300)
leaseTokenstring (uuid)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Close a conversation

POST /v1/accounts/{AC}/conversations/{CO}/close

Close a conversation. Send the `conversationVersion` you last read. Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (2 fields)
Request body
NameTypeRequiredDescription
conversationVersioninteger (1–)yes
reasonstring (max 1000 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

List conversation collaborators and followers

GET /v1/accounts/{AC}/conversations/{CO}/collaborators

Account-scoped credential: Required scope: `conversations:read`. Alternatively, a normal tenant USER session may use `conversations:read` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Add a conversation collaborator

PUT /v1/accounts/{AC}/conversations/{CO}/collaborators/{principalRef}

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
principalRefpath · string (max 128 chars)yes
Request body (1 fields)
Request body
NameTypeRequiredDescription
role"COLLABORATOR" | "FOLLOWER"yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Remove a conversation collaborator

DELETE /v1/accounts/{AC}/conversations/{CO}/collaborators/{principalRef}

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
principalRefpath · string (max 128 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

List retained message history for an authorized conversation

GET /v1/accounts/{AC}/conversations/{CO}/messages

List the messages of a conversation, oldest first. Account-scoped credential: Required scope: `conversations:read`. Alternatively, a normal tenant USER session may use `conversations:read` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
limitquery · integer (1–100)
cursorquery · string (max 2048 chars)
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

List encrypted internal notes

GET /v1/accounts/{AC}/conversations/{CO}/notes

Account-scoped credential: Required scope: `conversations:read`. Alternatively, a normal tenant USER session may use `conversations:read` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
limitquery · integer (1–100)
cursorquery · string (max 2048 chars)
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Create an encrypted internal note

POST /v1/accounts/{AC}/conversations/{CO}/notes

Account-scoped credential: Required scope: `conversations:note`. Alternatively, a normal tenant USER session may use `conversations:note` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (2 fields)
Request body
NameTypeRequiredDescription
bodystring (max 20000 chars)yes
mentionedPrincipalRefsstring (max 128 chars)[]

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Edit an internal note

PATCH /v1/accounts/{AC}/conversations/{CO}/notes/{NT}

Account-scoped credential: Required scope: `conversations:note`. Alternatively, a normal tenant USER session may use `conversations:note` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
NTpath · string (NT… SID)yes
Request body (2 fields)
Request body
NameTypeRequiredDescription
bodystring (max 20000 chars)yes
mentionedPrincipalRefsstring (max 128 chars)[]

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Delete an internal note

DELETE /v1/accounts/{AC}/conversations/{CO}/notes/{NT}

Account-scoped credential: Required scope: `conversations:note`. Alternatively, a normal tenant USER session may use `conversations:note` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
NTpath · string (NT… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Change conversation priority and recalculate its SLA clocks

POST /v1/accounts/{AC}/conversations/{CO}/priority

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (3 fields)
Request body
NameTypeRequiredDescription
conversationVersioninteger (1–)yes
priority"LOW" | "NORMAL" | "HIGH" | "URGENT"yes
reasonstring (max 1000 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Advance this principal's read cursor

POST /v1/accounts/{AC}/conversations/{CO}/read

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (1 fields)
Request body
NameTypeRequiredDescription
lastReadMessageSidstring (SM… SID)

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Release a conversation assignment

POST /v1/accounts/{AC}/conversations/{CO}/release

Account-scoped credential: Required scope: `conversations:assign`. Alternatively, a normal tenant USER session may use `conversations:assign` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (2 fields)
Request body
NameTypeRequiredDescription
conversationVersioninteger (1–)yes
reasonstring (max 1000 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Reopen a conversation

POST /v1/accounts/{AC}/conversations/{CO}/reopen

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (2 fields)
Request body
NameTypeRequiredDescription
conversationVersioninteger (1–)yes
reasonstring (max 1000 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Snooze a conversation until a durable follow-up time

POST /v1/accounts/{AC}/conversations/{CO}/snooze

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (3 fields)
Request body
NameTypeRequiredDescription
conversationVersioninteger (1–)yes
reasonstring (max 1000 chars)yes
untilstring (date-time)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Add a conversation tag

POST /v1/accounts/{AC}/conversations/{CO}/tags/{tag}

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
tagpath · string (pattern ^[a-z0-9][a-z0-9_-]{0,39}$)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Remove a conversation tag

DELETE /v1/accounts/{AC}/conversations/{CO}/tags/{tag}

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
tagpath · string (pattern ^[a-z0-9][a-z0-9_-]{0,39}$)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Return a snoozed conversation to its queue

POST /v1/accounts/{AC}/conversations/{CO}/unsnooze

Account-scoped credential: Required scope: `conversations:write`. Alternatively, a normal tenant USER session may use `conversations:write` on the exact inbox resolved from this resource. Actual inbox membership, tenant/subaccount visibility and per-operation checks still apply. This does not grant account-wide scopes, API-key permission, staff-delegation authority or platform access.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
COpath · string (CO… SID)yes
Request body (2 fields)
Request body
NameTypeRequiredDescription
conversationVersioninteger (1–)yes
reasonstring (max 1000 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

List account saved replies

GET /v1/accounts/{AC}/saved-replies

Required scope: `conversations:read`.

Parameters

Parameters
NameTypeRequiredDescription
limitquery · integer (1–100)
cursorquery · string (max 2048 chars)
ACpath · string (AC… SID)yesAccount SID

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Create a saved reply

POST /v1/accounts/{AC}/saved-replies

Required scope: `conversations:write`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
Request body (3 fields)
Request body
NameTypeRequiredDescription
bodystring (max 20000 chars)yes
shortcutstring (pattern ^[a-z0-9][a-z0-9_-]{0,39}$)yes
titlestring (max 128 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Update a saved reply

PATCH /v1/accounts/{AC}/saved-replies/{SR}

Required scope: `conversations:write`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
SRpath · string (SR… SID)yes
Request body (3 fields)
Request body
NameTypeRequiredDescription
bodystring (max 20000 chars)yes
shortcutstring (pattern ^[a-z0-9][a-z0-9_-]{0,39}$)yes
titlestring (max 128 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Delete a saved reply

DELETE /v1/accounts/{AC}/saved-replies/{SR}

Required scope: `conversations:write`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
SRpath · string (SR… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

List the immutable versions of a saved reply, newest first

GET /v1/accounts/{AC}/saved-replies/{SR}/versions

Required scope: `conversations:read`.

Parameters

Parameters
NameTypeRequiredDescription
limitquery · integer (1–100)
ACpath · string (AC… SID)yesAccount SID
SRpath · string (SR… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.