Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Response
Successful Response
The response is of type any
.
curl --request PATCH \
--url http://{api_endpoint}/api/v1/v1/channels/phone/{config_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"service_provider": "<string>",
"custom_invite_headers": [
{
"name": "<string>"
}
],
"put_caller_on_hold_on_transfer": true,
"send_provisional_response": true,
"security": {
"secure_trunking": true,
"authentication": true,
"username": "<string>",
"password": "<string>",
"password_is_set": true
},
"error_handling": {
"fallback_sip_uri": "<string>",
"transfer_failure": {
"reply_message": "<string>",
"disconnect_call": true
},
"call_failure": {
"reply_message": "<string>"
}
},
"phone_numbers": [
{
"phone_number": "<string>",
"description": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}'
"<any>"
curl --request PATCH \
--url http://{api_endpoint}/api/v1/v1/channels/phone/{config_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"service_provider": "<string>",
"custom_invite_headers": [
{
"name": "<string>"
}
],
"put_caller_on_hold_on_transfer": true,
"send_provisional_response": true,
"security": {
"secure_trunking": true,
"authentication": true,
"username": "<string>",
"password": "<string>",
"password_is_set": true
},
"error_handling": {
"fallback_sip_uri": "<string>",
"transfer_failure": {
"reply_message": "<string>",
"disconnect_call": true
},
"call_failure": {
"reply_message": "<string>"
}
},
"phone_numbers": [
{
"phone_number": "<string>",
"description": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}'
"<any>"
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type any
.