POST
/
agent-whitelist-whatsapp

Authorizations

Authorization
string
headerrequired

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

Body

application/json
agentId
string
required

The ID of the agent.

whatsappNumber
required

A single WhatsApp number to whitelist.

Response

200 - application/json
agentId
string

The ID of the agent.

whatsappNumber
string

The whitelisted WhatsApp number.