Skip to main content

List number block orders

GET 

/number_block_orders

Get a paginated list of number block orders.

Request

Query Parameters

    filter[status] string

    Filter number block orders by status.

    filter[created_at][gt] string

    Filter number block orders later than this value.

    filter[created_at][lt] string

    Filter number block orders earlier than this value.

    filter[phone_numbers.starting_number] string

    Filter number block orders having these phone numbers.

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 20

    The size of the page

Responses

200: Successful response with a list of number block orders.

Schema

    data

    NumberBlockOrder[]

  • Array [

  • id uuid
    record_type string
    starting_number e164_phone_number

    Starting phone number block

    range integer

    The phone number range included in the block.

    phone_numbers_count integer

    The count of phone numbers in the number order.

    connection_id string

    Identifies the connection associated to all numbers in the phone number block.

    messaging_profile_id string

    Identifies the messaging profile associated to all numbers in the phone number block.

    status string

    Possible values: [pending, success, failure]

    The status of the order.

    customer_reference string

    A customer reference string for customer look ups.

    created_at datetime

    An ISO 8901 datetime string denoting when the number order was created.

    updated_at datetime

    An ISO 8901 datetime string for when the number order was updated.

    requirements_met boolean

    True if all requirements are met for every phone number, false otherwise.

  • ]

  • meta

    object

    total_pages integer
    total_results integer
    page_number integer
    page_size integer

default: Unexpected error

Schema

    errors

    Error[]

  • Array [

  • code integerrequired
    title stringrequired
    detail string

    source

    object

    pointer json-pointer

    JSON pointer (RFC6901) to the offending entity.

    parameter string

    Indicates which query parameter caused the error.

    meta

    object

    url string

    URL with additional information on the error.

  • ]

Loading...