Skip to main content
PATCH
/
api
/
telephony_configs
/
plivo
cURL
curl --request PATCH \
  --url https://api.ultravox.ai/api/telephony_configs/plivo \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "callCreationAllowedAgentIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "callCreationAllowAllAgents": false,
  "requestContextMapping": {},
  "authId": "<string>",
  "authToken": "<string>"
}
'
{
  "authId": "<string>",
  "authTokenPrefix": {
    "prefix": "<string>"
  },
  "callCreationAllowedAgentIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "callCreationAllowAllAgents": false,
  "requestContextMapping": {}
}

Authorizations

X-API-Key
string
header
required

API key

Body

application/json
callCreationAllowedAgentIds
string<uuid>[]

List of agents for whom calls may be directly created by this telephony provider to facilitate incoming calls. May not be set if callCreationAllowAllAgents is true.

Maximum array length: 100
callCreationAllowAllAgents
boolean
default:false

If true, calls may be directly created by this telephony provider for all agents. If false, only agents listed in callCreationAllowedAgentIds are allowed.

requestContextMapping
object

Maps (dot separated) request fields to (dot separated) context fields for incoming call creation.

authId
string

Your Plivo Auth ID.

authToken
string

Your Plivo Auth Token.

Response

200 - application/json
authId
string
required

Your Plivo Auth ID.

authTokenPrefix
object
required

The prefix of your Plivo Auth Token.

callCreationAllowedAgentIds
string<uuid>[]

List of agents for whom calls may be directly created by this telephony provider to facilitate incoming calls. May not be set if callCreationAllowAllAgents is true.

Maximum array length: 100
callCreationAllowAllAgents
boolean
default:false

If true, calls may be directly created by this telephony provider for all agents. If false, only agents listed in callCreationAllowedAgentIds are allowed.

requestContextMapping
object

Maps (dot separated) request fields to (dot separated) context fields for incoming call creation.