PATCH
/
agent-whitelist-whatsapp
/
{id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the agent.

Body

application/json
oldWhatsappNumber
string
required

The current WhatsApp number in the whitelist.

newWhatsappNumber
string
required

The new WhatsApp number to replace the old one.

Response

200 - application/json
agentId
string
required

The ID of the agent.

whatsappNumber
string
required

The whitelisted WhatsApp number.