Execute conversation action
Conversations
Execute conversation action
Execute an action on a conversation.
PUT
Execute conversation action
Required scope:
CONVERSATIONS_WRITEAvailable actions
| Action | Effect |
|---|---|
READ | Mark the conversation as read |
UNREAD | Mark the conversation as unread |
ARCHIVE | Archive the conversation and mark all items as read |
UNARCHIVE | Unarchive the conversation |
400 error with code INVALID_ACTION.
Idempotency
All actions are idempotent — callingREAD on an already-read conversation is a no-op and returns 200.
This endpoint also supports the Idempotency-Key header. See Idempotency.
Scoping to a line
Omitallo_number to apply the action across all Allo numbers. Provide it to scope the action to a specific line.Authorizations
Path Parameters
The external phone number in E.164 format. URL-encode the + as %2B.
Example:
"+14155551234"
Body
application/json
Response
Action executed successfully