Get phone number address
Retrieves one phone number address from your SignalWire project by ID. Use List phone number addresses to find the ID. The ID must belong to a phone number address in your project whose number you still own; an ID from another project, a different kind of resource address (for example, a SIP address), or a released number returns a 404.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Calling, Fax, Messaging, or Video.
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 object type. Always phone.
The channel this address represents: calling for inbound calls or messaging for inbound messages. A phone number has one address per channel.
ID of the resource that handles this channel. null when no resource is assigned.