Skip to main content

List verification codes

GET 

/porting_orders/:id/verification_codes

Returns a list of verification codes for a porting order.

Request

Path Parameters

    id uuidrequired

    Porting Order id

Query Parameters

    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

    filter[phone_number] string

    Filter results by phone number

    filter[phone_number][in][] string[]

    Filter results by a list of phone numbers

    filter[verified] boolean

    Filter verification codes that have been verified or not

    sort[] string

    Possible values: [created_at, -created_at]

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

Responses

200: Successful response

Schema

    data

    object[]

  • Array [

  • id uuid

    Uniquely identifies this porting verification code

    phone_number string

    E164 formatted phone number

    verified boolean

    Indicates whether the verification code has been verified

    porting_order_id uuid

    Identifies the associated porting order

    record_type string

    Identifies the type of the resource.

    created_at date-time

    ISO 8601 formatted date indicating when the resource was created.

    updated_at date-time

    ISO 8601 formatted date indicating when the resource was updated.

  • ]

  • meta

    object

    total_pages integer
    total_results integer
    page_number integer
    page_size integer

401: Unauthorized

404: Resource not found

Loading...