Create or update SIP UAC configuration for an agent
Required scope: convai:write
Path Parameters
- Type: stringidrequired
Agent ID
Body·
required
application/json
- Type: stringsip
_domain required - Type: stringsip
_username required - Type: string | nullaor
- Type: string | nullsip
_password - Type: string | nullsip
_registrar
Responses
- application/json
- 400
Invalid request or SIP UAC not supported for this provider
- application/json
- 404
Agent not found
Request Example for put/agents/{id}/sip-uac
curl 'https://api.simwood.com/convai/v1/agents/{id}/sip-uac' \
--request PUT \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"sip_username": "",
"sip_domain": "",
"sip_password": null,
"sip_registrar": null,
"aor": null
}'
{
"aor": "string",
"sip_domain": null,
"sip_username": null,
"sip_registrar": null
}