Endpoints
Agent - Update Whitelist
Update the WhatsApp number in the agent’s whitelist by replacing the old number with a new one.
PATCH
/
agent-whitelist-whatsapp
/
{id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
id
string
requiredThe ID of the agent.
Body
application/json
oldWhatsappNumber
string
requiredThe current WhatsApp number in the whitelist.
newWhatsappNumber
string
requiredThe new WhatsApp number to replace the old one.
Response
200 - application/json
agentId
string
requiredThe ID of the agent.
whatsappNumber
string
requiredThe whitelisted WhatsApp number.
Was this page helpful?