Credentials
Create Credential
Add a SIP digest credential to a Vobiz trunk to authenticate softphones, IP phones, or AI voice agents - unique username required, password is write-only.
POST
Create a credential
Authentication required:
X-Auth-ID- Your account Auth IDX-Auth-Token- Your account Auth TokenContent-Type: application/json
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
username | string | Yes | SIP username for authentication. Must be unique within the account. Cannot be changed after creation. Use alphanumeric 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. |
Only
username and password are accepted at creation. The credential is created enabled: true by default. To disable it later, or to add a description, use Update Credential. The response also returns a realm ({account_id}.sip.vobiz.ai) - the SIP authentication realm your softphone or PBX must present alongside the username and password.Response
Returns the complete credential object, including the auto-generatedid UUID. The password is not included in the response for security reasons.
Response - 201 Created
Examples
cURL - Basic Credential
cURL Request
cURL - Credential with Strong Password
cURL Request
Error Response (409 Conflict): If the username already exists on the account:
Error Response
Authorizations
Your Vobiz account Auth ID
Your Vobiz account Auth Token
Path Parameters
Your account Auth ID
Example:
"MA_XXXXXX"