Skip to main content

List Phone Numbers

GET/api/v1/organizations/telephony-configs/{config_id}/phone-numbers

cURL example

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

Parameters

NameLocationTypeDescription
config_idrequiredpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Responses

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