Skip to content

Add a verified caller-ID number

POST
/v1/Accounts/{auth_id}/VerifiedPhoneNumbers
curl --request POST \
--url https://api.siprtc.io/v1/Accounts/AC000000000000000000/VerifiedPhoneNumbers \
--header 'Authorization: Basic <credentials>' \
--header 'Content-Type: application/json' \
--data '{ "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" }'

Adds a number to the verified caller-ID list of the account in the path, with status verified, so it can be used as the From of outbound calls. The service stores the number exactly as sent; it does not itself call or text the number to prove ownership, so confirm ownership first (for example with the Verify API) before adding it. The service answers HTTP 400 both on success (status success, message “Verified Number Successfully Added”) and when the number could not be saved (status failed, message “Bad Request”); check the status field.

auth_id
required
string

Your Auth ID (or a direct child’s).

Example

AC000000000000000000

The number to add; only phone_number and modified_by are read

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

Example

AC000000000000000001
created_time

When the entry was created (RFC 3339).

string

Example

2026-11-20T10:15:00Z
modified_by

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

string

Example

jane@example.com
phone_number
required

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

string

Example

+15555550123
status

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

string

Example

verified
updated_time

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

string

Example

2026-11-21T09:00:00Z

Added (status success) or not saved (status failed); see the description

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

Body not valid JSON, or phone_number missing

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"
}