Skip to main content

List short codes associated with a messaging profile

GET 

/messaging_profiles/:id/short_codes

List short codes associated with a messaging profile

Request

Path Parameters

    id uuidrequired

    The id of the messaging profile to retrieve

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

Responses

200: Successful response with a list of messaging profile short codes.

Schema

    data

    object[]

  • Array [

  • record_type string

    Possible values: [short_code]

    Identifies the type of the resource.

    id uuid

    Identifies the type of resource.

    short_code string

    Short digit sequence used to address messages.

    country_code string

    Possible values: Value must match regular expression ^[A-Z]{2}$

    ISO 3166-1 alpha-2 country code.

    messaging_profile_id stringnullablerequired

    Unique identifier for a messaging profile.

    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

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

Loading...