Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

Verify CSR phone number coverage

POST 
/customer_service_records/phone_number_coverages

Verify the coverage for a list of phone numbers.

Request

Body

required

    phone_numbers string[]required

    Possible values: Value must match regular expression ^\+1\d{10}$

    The phone numbers list to be verified.

Responses

201: Successful Response

401: The required authentication headers were either invalid or not included in the request.

403: You do not have permission to perform the requested action on the specified resource or resources.

422: Unprocessable entity. Check the 'detail' field in response for details.

500: An unexpected error occurred.

Request samples


curl -L 'https://apidev.telnyx.com/v2/customer_service_records/phone_number_coverages' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"phone_numbers": [
"+1234567890"
]
}'

Response samples


{
"data": [
{
"phone_number": "+12223334444",
"has_csr_coverage": true,
"reason": "The phone number '+19999999999' is invalid.",
"additional_data_required": [
"name"
],
"record_type": "customer_service_record_phone_number_coverage"
}
]
}