Skip to main content

Find a Log by ID

GET 

/logs/:id

Find a log by ID.

Permissions

The API token must include the following scopes: Messaging.

Request

Path Parameters

    id uuidrequired

    Unique ID of the log

Responses

OK

Schema

    id uuid

    A unique identifier for the log

    from string

    The origin phone number.

    Example: +12065551212
    to string

    The destination phone number.

    Example: +12065553434
    status string

    The status of the message.

    Example: sent
    direction string

    The direction of the message.

    Example: inbound
    kind string

    The kind of message.

    Example: sms
    source string

    Source of this log entry.

    Example: laml
    type string

    Type of this log entry.

    Example: laml_message
    url string

    URL for the resource associated with this log entry (if available)

    number_of_segments integer

    The number of segments.

    Example: 1
    charge number

    The charge in dollars.

    Example: 0.01

    charge_details

    object[]

    Details on charges associated with this log.

  • Array [

  • description string

    Description for this charge.

    charge number

    Charged amount.

  • ]

  • created_at date-time