Create SIP credentials for trunk authentication.
curl --request POST \
--url https://api.vobiz.ai/api/v1/account/{auth_id}/credentials \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"username": "myuser",
"password": "securepassword123"
}
'{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"username": "acme_sip_user_01",
"password": "<redacted>",
"realm": "MA_XXXXXXXX.sip.vobiz.ai",
"enabled": true,
"created_at": "2026-03-25T10:00:00Z",
"updated_at": "2026-03-25T10:00:00Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
POST https://api.vobiz.ai/api/v1/account/{auth_id}/credentials
X-Auth-ID - Your account Auth IDX-Auth-Token - Your account Auth TokenContent-Type: application/json| Field | Type | Required | Description |
|---|---|---|---|
username | string | Yes | SIP username for authentication. Must be unique within the account. Cannot be changed after creation. Use descriptive names like office_phone_01 or user_john_mobile. |
password | string | Yes | SIP password for authentication. Minimum 8 characters. Recommended: 12+ characters with mixed case, numbers, and special characters. |
enabled | boolean | No | Whether the credential is active. Default: true. Set to false to create a disabled credential. |
description | string | No | Optional description with context about the credential’s purpose, such as “Primary office phone” or “John’s mobile device”. |
id UUID. The password is not included in the response for security reasons.
{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"username": "sipuser_demo",
"password": "<redacted>",
"realm": "MA_XXXXXXXX.sip.vobiz.ai",
"enabled": true,
"created_at": "2026-05-12T05:11:51.635106Z",
"updated_at": "2026-05-12T05:11:51.635106Z"
}
curl -X POST https://api.vobiz.ai/api/v1/account/{auth_id}/credentials \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"username": "trunk_user_001",
"password": "SecurePassword123!",
"enabled": true,
"description": "Primary credential"
}'
curl -X POST https://api.vobiz.ai/api/v1/account/{auth_id}/credentials \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"username": "office_phone_main",
"password": "Vbz!2025$SecureP@ss",
"enabled": true,
"description": "Main office desk phone"
}'
{
"error": "Username already exists for this trunk",
"code": 409
}
id for future operationsYour Vobiz account Auth ID
Your Vobiz account Auth Token
Your account Auth ID
"MA_XXXXXX"
Was this page helpful?
curl --request POST \
--url https://api.vobiz.ai/api/v1/account/{auth_id}/credentials \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"username": "myuser",
"password": "securepassword123"
}
'{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"username": "acme_sip_user_01",
"password": "<redacted>",
"realm": "MA_XXXXXXXX.sip.vobiz.ai",
"enabled": true,
"created_at": "2026-03-25T10:00:00Z",
"updated_at": "2026-03-25T10:00:00Z"
}