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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trunk_id": "<trunk_id>",
"username": "<username>"
},
"name": "trunk_create_credential"
}
}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) |