Skip to main content

Set Default Caller

POST/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id}/set-default-caller

cURL example

curl -X POST \
  'http://localhost:8000/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id}/set-default-caller' \
  -H 'Authorization: Bearer <API_KEY>'

Parameters

NameLocationTypeDescription
config_idrequiredpathinteger
phone_number_idrequiredpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Responses

200Successful Response
application/json
View schema
{
  "$ref": "#/components/schemas/PhoneNumberResponse"
}
404Not found
422Validation Error
application/json
View schema
{
  "$ref": "#/components/schemas/HTTPValidationError"
}