Add a sender ID
const url = 'https://api.siprtc.io/v1/Accounts/AC000000000000000000/SenderIds';const options = { method: 'POST', headers: {Authorization: 'Basic <credentials>', 'Content-Type': 'application/json'}, body: '{"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"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.siprtc.io/v1/Accounts/AC000000000000000000/SenderIds \ --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 sender ID (a number or name) to the verified list of the account in the path, with status verified. It is the same list as the verified caller-ID numbers, and the service does not itself prove ownership of what you add. Alphanumeric sender IDs for messaging are approved separately; check a message sender with Check a message sender. The service answers HTTP 400 both on success (status success, message “Verified Number Successfully Added”) and when the entry could not be saved (status failed, message “Bad Request”); check the status field.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Your Auth ID (or a direct child’s).
Example
AC000000000000000000Request Bodyrequired
Section titled “ Request Bodyrequired ”The sender ID to add, in phone_number; only phone_number and modified_by are read
object
Auth ID of the account the entry belongs to. Set by the service; any value you send is ignored.
Example
AC000000000000000001When the entry was created (RFC 3339).
Example
2026-11-20T10:15:00ZOptional name of the person making the change, recorded in the audit log.
Example
jane@example.comThe verified number or sender ID, stored exactly as it was submitted.
Example
+15555550123Verification status. Entries created through the API are stored as verified.
Example
verifiedWhen the entry was last updated (RFC 3339), if ever.
Example
2026-11-21T09:00:00ZResponses
Section titled “ Responses ”Added (status success) or not saved (status failed); see the description
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
exampleBody not valid JSON, or phone_number missing
object
Human-readable result or error.
Success or failed.
Example
{ "message": "phone number not found", "status": "failed"}