Get caller ID name
Retrieves the most recent caller ID name request for a phone number in your project, including its current review status. After Request a caller ID name, poll this operation until status is approved, rejected, or failed.
The response’s name is the requested name. It can differ from the name call recipients currently see while the request is pending or in_review, or after it is rejected or failed. To retrieve the caller ID name currently applied at the carrier, read cnam on the phone number with Get phone number.
Returns 404 when the phone number is not in your project or has never had a caller ID name requested.
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 type of object. Always cnam.
The current state of the request.
A machine-readable reason the request requires review, was rejected, or failed, or null when
no specific reason was recorded. This value is always null while the request is pending and
after it is approved. It can also be null when a request was held for review or rejected
before SignalWire recorded a concern about the requested name.
An action you can take to address the review, such as changing, verifying, or documenting the
requested name. null when review produced no specific action.