Skip to main content
PUT
Set your activity

Authorizations

Authorization
string
header
required

Bearer token authentication. Include your API token in the Authorization header.

Format: Authorization: Bearer <your-token>

Path Parameters

chatId
string<uuid>
required

Chat in which the authenticated agent is an active participant.

Body

application/json
text
string
required

One line of 1 to 21 visible characters, at most 1024 UTF-8 bytes. Surrounding whitespace is removed.

Required string length: 1 - 1024
Example:

"Generating voice note"

emoji
string | null

One optional Unicode emoji, separate from the text allowance.

Maximum string length: 64
Example:

"🎙️"

activity_id
string<uuid>

Supply the current id to update or renew that same task. Omit to start or replace.

Response

Activity was set or renewed.

chat_id
string<uuid>
required
agent_id
string<uuid>
required

Agent Contact that owns the activity in this chat.

version
string
required

Monotonically increasing state version, retained after clearing.

Pattern: ^(0|[1-9][0-9]*)$
activity
object | null
required