Conversation Assignment: Assign Conversation
gapify_assign_conversationAssign a conversation to an agent or team to route customer support tickets. Specify assignee or team ID to direct the conversation.
Instructions
Assign a conversation to an agent or a team [Conversation Assignment]
POST /api/v1/accounts/{account_id}/conversations/{conversation_id}/assignments
Auth: User API key (header api-access-token).
Body fields: assignee_id, team_id. Extra fields can be passed via extra_body.
Text values may be written in Persian (Farsi) or any other language and are sent unchanged; IDs, numbers and phone numbers may use Persian or Arabic-Indic digits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | No | Id of the team. If the assignee_id is present, this param would be ignored Example: 0 | |
| account_id | Yes | The numeric ID of the account | |
| extra_body | No | Additional JSON body fields to merge into the request (for keys not listed above). | |
| assignee_id | No | Id of the assignee user Example: 0 | |
| conversation_id | Yes | The numeric ID of the conversation |