Get a WhatsApp number
Retrieves one connected WhatsApp number by SignalWire ID so you can inspect how it is used for outbound and inbound communication. Use List WhatsApp numbers to discover IDs. Standard SMS and MMS phone numbers use Get phone number.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Numbers.
Authentication
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example:
Authorization: Basic base64(project_id:token)
Path parameters
Response
The WhatsApp number, prefixed with whatsapp:. Use this value as the from address when sending messages.
The ID of the resource (Call Flow, AI Agent, SWML script, etc.) that handles inbound calls to this number. Null if no calling handler is configured.
The WhatsApp Business Account ID (WABA ID) assigned by Meta.
Whether calling is enabled for this number. Turn it on from the SIP Calling column of the WhatsApp Numbers tab in your Dashboard, as described in Enable voice on a WhatsApp number.
Whether this number can receive calls — true when voice_enabled is true and a calling handler is attached. See Receive WhatsApp calls.