Request caller ID name
Requests the caller ID name displayed alongside a project-owned phone number on outbound calls. Caller ID name is available only for numbers whose carrier offers it. This operation sets the outbound name for your own number; to retrieve the name published for another number, use Look up phone number with include=cnam.
A 201 means SignalWire accepted the request, not necessarily that call recipients see the name yet. A new name, or one previously rejected or failed, returns with status set to pending and is queued for compliance review. Poll Get the caller ID name until status is approved, rejected, or failed.
Re-requesting a name already approved for this phone number returns the existing request with 201 and status still approved. SignalWire re-applies that name at the carrier without another compliance review.
A phone number can have only one request awaiting a decision. Submitting a different name supersedes any earlier request with a pending or in_review status.
SignalWire normalizes name before validating it, so apply the length and character rules to the normalized form described on that field. When the phone number’s carrier does not offer caller ID name, the operation returns 422 with an item in errors whose detail is Caller ID name isn't available for this number. Other 422 responses mean name was blank or the normalized name did not meet those rules.
Returns 404 when the phone number is not in your project.
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
Request
The caller ID name you want displayed on outbound calls. SignalWire normalizes the value before
validating and storing it: control characters are removed, leading and trailing whitespace is
trimmed, runs of whitespace collapse to single spaces, and letters are converted to upper case.
For example, Acme Plumbing is stored as ACME PLUMBING.
The normalized name must be 15 characters or fewer, start with a letter or digit, and contain only
letters, digits, spaces, and &, ', ., ,, and -. Because these rules apply after
normalization, surrounding or repeated whitespace does not count against the limit.
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.