Skip to main content

List Logs

List the available logs. The amount of data available depends on your current Platform Subscription Bundle:

  • Free tier: last 7 days
  • Business: last 60 days
  • Enterprise: last 1 year
Query Parameters
include_deleted boolean

Include logs for deleted activity.

created_before string

Return logs for activity prior to this date.

Example: Sat Apr 30 2022 00:00:00 GMT+0000 (Coordinated Universal Time)
created_on string

Return logs for activity on this date.

Example: Sat Apr 30 2022 00:00:00 GMT+0000 (Coordinated Universal Time)
created_after string

Return logs for activity after this date.

Example: Sat Apr 30 2022 00:00:00 GMT+0000 (Coordinated Universal Time)
page_size integer

Specify the number of results to return on a single page. The default page size is 50 and the maximum is 1000.

Example: 20
Responses
200

OK

Schema
links object
self string
first string
next string
prev string
data object[]
id uuid

A unique identifier for the log

from string

The origin phone number.

to string

The destination phone number.

status string

The status of the message.

direction string

The direction of the message.

kind string

The kind of message.

source string

Source of this log entry.

type string

Type of this log entry.

url string

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

number_of_segments integer

The number of segments.

charge number

The charge in dollars.

charge_details array

Details on charges associated with this log (only available for business and enterprise tiers)

created_at date-time