Skip to main content

Retrieve a number block order

GET 
/number_block_orders/:number_block_order_id

Get an existing phone number block order.

Request

Path Parameters

    number_block_order_id stringrequired

    The number block order ID.

Responses

200: Successful response with details about a number block order.

default: Unexpected error

Request samples


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

Response samples


{
"data": {
"id": "12ade33a-21c0-473b-b055-b3c836e1c292",
"starting_number": "+19705555000",
"range": 10,
"record_type": "number_block_order",
"connection_id": "346789098765567",
"messaging_profile_id": "abc85f64-5717-4562-b3fc-2c9600",
"phone_numbers_count": 10,
"status": "pending",
"customer_reference": "MY REF 001",
"created_at": "2018-01-01T00:00:00.000000Z",
"updated_at": "2018-01-01T00:00:00.000000Z",
"requirements_met": true
}
}