Skip to main content
PATCH

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The BYON phone number in E.164 format. The leading + is optional.

Body

application/json
connection_id
required

ID of the connection to deliver inbound WhatsApp calls to: a positive integer up to 9223372036854775807, sent as a decimal string or an integer. Send a string to keep large IDs exact. Non-null values are returned as strings. null clears the routing.

Example:

"1234567890"

Response

Update accepted for processing. The body echoes the requested routing; it does not confirm that the routing was applied.

data
object
required