Phone Numbers
Unsubscribe
Clear default routing on this number entirely. Drops both the agent and the webhook.
POST
cURL
Sets
defaultRouting to null (no routing) and drops both the connected
agent and the default webhook. Incoming messages are stored on the
conversation but no agent or webhook is invoked.
When applyToExisting is true, every existing conversation on this
number has its activeAgent and in-flight session cleared too. Phone-
number routing changes do not dispatch subscription.activated /
subscription.revoked webhook events.
Sandbox numbers scope the change to the requesting user’s own
conversation rather than the shared number’s defaults.Authorizations
API key authentication. Pass your API key in the X-API-Key header.
Path Parameters
Body
application/json
Response
200 - application/json
Serializer for WhatsappNumber model.
Maximum string length:
15cURL