Skip to main content

Lists the phone number blocks jobs

GET 

/phone_number_blocks/jobs

Lists the phone number blocks jobs

Request

Query Parameters

    filter[type] string

    Possible values: [delete_phone_number_block]

    Filter the phone number blocks jobs by type.

    filter[status] string

    Possible values: [pending, in_progress, completed, failed]

    Filter the phone number blocks jobs by status.

    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

    sort string

    Possible values: [created_at]

    Specifies the sort order for results. If not given, results are sorted by created_at in descending order.

Responses

200: Successful response with a list of phone number blocks background jobs.

Schema

    data

    object[]

  • Array [

  • id uuid

    Identifies the resource.

    record_type string

    Identifies the type of the resource.

    status string

    Possible values: [pending, in_progress, completed, failed]

    Default value: pending

    Indicates the completion status of the background operation.

    type string

    Possible values: [delete_phone_number_block]

    Identifies the type of the background job.

    etc date-time

    ISO 8601 formatted date indicating when the estimated time of completion of the background job.

    created_at string

    ISO 8601 formatted date indicating when the resource was created.

    updated_at string

    ISO 8601 formatted date indicating when the resource was updated.

    successful_operations

    PhoneNumberBlocksJobSuccessfulOperation[]

  • Array [

  • phone_number e164

    The phone number in e164 format.

    id int64

    The phone number's ID

  • ]

  • failed_operations

    PhoneNumberBlocksJobFailedOperation[]

  • Array [

  • phone_number e164

    The phone number in e164 format.

    id int64

    The phone number's ID

    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.

  • ]

  • ]

  • ]

  • 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...