Assign team member to customer

Assign a customer's chat on a WhatsApp number or Instagram account to a team member.

Before you call

  • assignedUserPhoneNumber is required, with country code.
  • For WhatsApp, customerPhoneNumber and wabaNumber are required, each a valid number with country code. wabaNumber must be connected to your account.
  • For Instagram, set channelType to INSTAGRAM; customerHandle and channelHandle (usernames, without the @) are required. The account must be connected.
  • The team member must belong to your account and have access to that WhatsApp number or Instagram account.

How it works

  • On WhatsApp, if the customer or chat does not exist yet, it is created. An Instagram customer is never created: it must have messaged your account, or the request returns 404.
  • The request fails if the team member is at their chat capacity.
  • The response returns the team member's name, email and phone.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
length between 7 and 15

Phone number of customer. Required for WhatsApp.

string
required
length between 7 and 15

Phone number of user

string
length between 7 and 15

Integration Waba Number with country code. Required for WhatsApp.

string
enum

INSTAGRAM for an Instagram customer. Left out, the customer is on WhatsApp.

Allowed:
string

With channelType INSTAGRAM: the customer's Instagram username, without the @. Required for Instagram.

string

With channelType INSTAGRAM: your connected Instagram account's username, without the @. Required for Instagram.

Responses
201

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json