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.
Clear caller ID name doesn’t delete request records, so this operation can still return one after a clear. Until the carrier confirms the removal, a request that is pending or in_review is still returned unchanged. After confirmation, those requests are canceled and no longer returned, but the most recent earlier request with another status, such as approved, is returned instead. To check whether a clear has taken effect, read cnam on the phone number, which becomes null.
Returns 404 when the phone number is not in your project or has no caller ID name request to return.
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.