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

    iduuid

    A unique identifier for the log

    fromstring

    The origin phone number.

    Example: +12065551212
    tostring

    The destination phone number.

    Example: +12065553434
    statusstring

    The status of the message.

    Example: sent
    directionstring

    The direction of the message.

    Example: inbound
    kindstring

    The kind of message.

    Example: sms
    sourcestring

    Source of this log entry.

    Example: laml
    typestring

    Type of this log entry.

    Example: laml_message
    urlstring

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

    number_of_segmentsinteger

    The number of segments.

    Example: 1
    chargenumber

    The charge in dollars.

    Example: 0.01

    charge_details

    object[]

    Details on charges associated with this log.

  • Array [

  • descriptionstring

    Description for this charge.

    chargenumber

    Charged amount.

  • ]

  • created_atdate-time