Skip to content

Check a caller ID

GET
/v1/Accounts/{auth_id}/CallerIds/{phone_number}
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.

auth_id
required
string

Your Auth ID.

Example

AC000000000000000000
phone_number
required
string

The number to check.

Example

+15555550100

Allowed: the verified record, or null

Media type application/json
object
acc_id

Auth ID of the account the entry belongs to. Set by the service; any value you send is ignored.

string
created_time

When the entry was created (RFC 3339).

string
modified_by

Optional name of the person making the change, recorded in the audit log.

string
phone_number
required

The verified number or sender ID, stored exactly as it was submitted.

string
status

Verification status. Entries created through the API are stored as verified.

string
updated_time

When the entry was last updated (RFC 3339), if ever.

string

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)

Media type application/json
object
message

Human-readable result or error.

string
status

Success or failed.

string

Example

{
"message": "phone number not found",
"status": "failed"
}

Missing or invalid credentials (returned by the API gateway)

Media type application/json
string

Example generated

example

Not allowed: the number on the account has no voice capability

Media type application/json
object
message

Human-readable result or error.

string
status

Success or failed.

string

Example

{
"message": "phone number not found",
"status": "failed"
}