Actions37
- Message Actions
- Chat Actions
- Contact Actions
- Channel Actions
- Sector Actions
- Tag Actions
- Bot Actions
- AI Agent Actions
- Member Actions
- Activity Log Actions
Chat → Assign
AI-generatedSummary
Assign a chat to a specific attendant user within an organization by specifying the chat and user IDs.
Inputs
- Organization ID (required) — ID of the organization.
- Chat ID (required) — ID of the chat to assign.
- User ID (required) — ID of the attendant to assign.
Output shape
a single JSON object representing the updated chat resource with assigned user information
Requires valid organizationId, chatId, and userId parameters. The operation sends a PUT request to assign the chat. On error, it throws an exception unless 'Continue on Fail' is enabled.
Examples
Example 1: Assign a chat to an attendant
Specify the organizationId, chatId of the chat to assign, and the userId of the attendant to assign the chat to.