Skip to main content

List messaging profile metrics

GET 

/messaging_profile_metrics

List messaging profile metrics

Request

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

    id uuid

    The id of the messaging profile(s) to retrieve

    time_frame string

    Possible values: [1h, 3h, 24h, 3d, 7d, 30d]

    Default value: 24h

    The timeframe for which you'd like to retrieve metrics.

Responses

200: Successful response with a list of messaging profile metrics.

Schema

    data

    object[]

  • Array [

  • record_type string

    Possible values: [messaging_profile_metrics]

    Identifies the type of the resource.

    messaging_profile_id uuid

    Identifies the type of resource.

    phone_numbers number

    The number of phone numbers associated with the messaging profile.

    outbound

    object

    sent number

    The number of outbound messages sent.

    delivered number

    The number of outbound messages successfully delivered.

    error_ratio number

    The ratio of messages sent that resulted in errors.

    inbound

    object

    received number

    The number of inbound messages received.

  • ]

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