Look up phone number
Returns validity and formatting information for any supplied E.164 phone number, with optional carrier and caller-name data. Use it to normalize or enrich a number before other workflows; it neither searches purchasable inventory nor returns numbers owned by the project. Use Search phone numbers or List phone numbers for those jobs.
Permissions
No API token scope is required to make a successful request to this endpoint.
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
Query parameters
Further number information to include in the response, some of which are billable. You can specify: carrier (Lookup full carrier information for the number), cnam (Lookup Caller ID information for the number). Separate multiple values with a comma: include=carrier,cnam.
Response
Carrier information. Adding include=carrier to your request will do a live lookup to determine the current carrier information about this number.
Caller ID information. Adding include=cnam to your request will do a live lookup to determine the current caller ID information about this number.