Skip to main content

Check eligibility of phone numbers for hosted messaging

GET 
/messaging_hosted_number_orders/eligibility_numbers_check

Check eligibility of phone numbers for hosted messaging

Request

Query Parameters

    phone_numbers stringrequired

    Comma-separated list of phone numbers to check eligibility

Responses

200: Successful response

400: Bad request

401: Unauthorized

Request samples


curl -L 'https://api.telnyx.com/v2/messaging_hosted_number_orders/eligibility_numbers_check' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"phone_numbers": [
{
"detail": "string",
"phone_number": "string",
"eligible": true,
"eligible_status": "NUMBER_CAN_NOT_BE_REPEATED"
}
]
}