Assign conversation
Assign a conversation to one or more teammates.
POST https://cotlet.dev/api/v1/podium/conversations/{conversation_id}/assign
write
Sets the assignee of a conversation, as the + Assign icon does in the Inbox. Pass one name, or several to assign more than one teammate. The names are the ones the assign dropdown lists for your account. It reaches no customer and one more call changes the assignment again, so it does not wait for your OK.
Parameters
| Name | Type | Description |
|---|---|---|
| conversation_id string required | string | Conversation ID from list_conversations. |
| users array required | array | Teammate names as the assign dropdown shows them, for example ['Dana Reyes']. |
Request
curl -X POST https://cotlet.dev/api/v1/podium/conversations/conv_91d3/assign \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"users":["Sam Ortiz"]}' result = client.call("podium", "assign_conversation", {"conversation_id":"conv_91d3","users":["Sam Ortiz"]}) const result = await cotlet.call('podium', 'assign_conversation', {"conversation_id":"conv_91d3","users":["Sam Ortiz"]}); cotlet call podium assign_conversation --data '{"conversation_id":"conv_91d3","users":["Sam Ortiz"]}' Example response
{
"conversation_id": "conv_91d3",
"assigned_to": [
"Dana Reyes"
],
"status": "assigned"
}