Check a caller ID
const url = 'https://api.siprtc.io/v1/Accounts/AC000000000000000000/CallerIds/%2B15555550100';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siprtc.io/v1/Accounts/AC000000000000000000/CallerIds/%2B15555550100 \ --header 'Authorization: Basic <credentials>'Tells you whether a number may be used as the caller ID (From) of outbound calls from your account. It is allowed when it is on your verified caller-ID list, when it is a number on your account with the voice capability (or no capability recorded), or when caller-ID checks are turned off for the account. A verified number is answered with its verified record; the other allowed cases are answered with null. The number may be written with or without + for the account-number check, but must match the verified list exactly.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Your Auth ID.
Example
AC000000000000000000The number to check.
Example
+15555550100Responses
Section titled “ Responses ”Allowed: the verified record, or null
object
Auth ID of the account the entry belongs to. Set by the service; any value you send is ignored.
When the entry was created (RFC 3339).
Optional name of the person making the change, recorded in the audit log.
The verified number or sender ID, stored exactly as it was submitted.
Verification status. Entries created through the API are stored as verified.
When the entry was last updated (RFC 3339), if ever.
Example
{ "acc_id": "AC000000000000000001", "created_time": "2026-11-20T10:15:00Z", "modified_by": "jane@example.com", "phone_number": "+15555550123", "status": "verified", "updated_time": "2026-11-21T09:00:00Z"}Not allowed: neither verified nor on the account (record not found)
object
Human-readable result or error.
Success or failed.
Example
{ "message": "phone number not found", "status": "failed"}Missing or invalid credentials (returned by the API gateway)
Example generated
exampleNot allowed: the number on the account has no voice capability
object
Human-readable result or error.
Success or failed.
Example
{ "message": "phone number not found", "status": "failed"}