Skip to main content
POST
/
api
/
v1
/
whatsapp-tenant-configs
/
type
/
twilio
cURL
curl --request POST \
  --url https://dev-chat-engine.actualize.ae/api/v1/whatsapp-tenant-configs/type/twilio \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "reem-hospital",
  "whatsappNumber": "whatsapp:+14155238886",
  "authToken": "token-from-twilio",
  "accountSid": "AC54a69f9a048bf53c55e545dcc333e03f",
  "agentId": "d7e76fe7-9caf-4fc7-9291-39783143185e"
}
'

Body

application/json
name
string
required

Name of the tenant config

Example:

"reem-hospital"

whatsappNumber
string
required

Whatsapp number of the tenant config

Example:

"whatsapp:+14155238886"

authToken
string
required

Auth token of the tenant config

Example:

"token-from-twilio"

accountSid
string
required

Account sid of the tenant config

Example:

"AC54a69f9a048bf53c55e545dcc333e03f"

agentId
string
required

Agent id of the tenant config

Example:

"d7e76fe7-9caf-4fc7-9291-39783143185e"