Create a SIP credential
trunk_create_credentialCreate a SIP Digest credential on an owned trunk to enable SIP authentication. Requires DIGEST/EITHER/BOTH auth type and returns the plaintext password once; MFA required.
Instructions
Create a SIP Digest credential on an owned trunk. The trunk's auth_type must be DIGEST, EITHER, or BOTH (check with trunk_get). The plaintext password is returned exactly once — save it immediately. Step-up MFA required. Errors: INVALID_ID, NO_ACTIVE_CUSTOMER, TRUNK_UNOWNED, VALIDATION_ERROR, INVALID_PAYLOAD, CONFLICT, INTERNAL_ERROR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trunk_id | Yes | Trunk group UUID (find it with trunk_list) | |
| username | Yes | SIP auth username for the new credential (required) |