Agent Channels
Update WhatsApp number (profile + agent)
Updates a WhatsApp number's business profile and/or binds it to an agent. Pass agentId to bind, null to unbind, or omit to leave the binding unchanged. Requires a USER API key.
put/public/v1/channels/whatsapp/{integrationId}/numbers/{phoneNumberId}
Path parameters
integrationIdinteger required
Example:12
phoneNumberIdstring required
Example:109876543210123
Request body
Example request
{
"description": "example",
"website": "example",
"secondaryWebsite": "example",
"address": "example",
"email": "user@example.com",
"about": "example",
"category": "AUTO",
"agentId": "asst_123"
}Response
The updated WhatsApp number
Example response
{
"id": 1,
"phoneNumberId": "example",
"assistantId": "example",
"assistant": {
"id": "example",
"name": "example"
},
"status": "CONNECTED",
"wabaId": "example",
"name": "example",
"about": "example",
"description": "example",
"address": "example",
"category": "AUTO",
"displayPhoneNumber": "example",
"website": "example",
"secondaryWebsite": "example",
"verificationStatus": "VERIFIED",
"image": "example",
"email": "example",
"createdAt": "example",
"updatedAt": "example"
}