post
https://public.doubletick.io/team-member/assign
Assigns a team member to a customer's chat or to a WhatsApp group chat.
Before you call
- Send
customerPhoneNumber(with country code) orgroupId; at least one is required. If both are sent,groupIdis used. assignedUserPhoneNumber(with country code) is required and must belong to an existing team member.- Pass
wabaNumber(with country code) to assign the chat on one WhatsApp number only.
How it works
- If the customer does not exist yet, it is created.
- Without
wabaNumber, the customer's chat on every connected WhatsApp number is assigned. - If the chat is already assigned and
reassignis nottrue, nothing changes and the current assignee is returned. - Set
assignedUserPhoneNumbertorandomto pick a random online team member who has chat capacity. - Fails if the chosen member is at their chat capacity; pick another member.
- The response contains the assignee's
name,emailandphone.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
201
