Skip to main content

List Logs

List the available logs.


The API token must include the following scopes: Messaging.

Query Parameters
include_deleted boolean

Include logs for deleted activity.

created_before string

Return logs for activity prior to this date.

Example: 2022-04-30
created_on string

Return logs for activity on this date.

Example: 2022-04-30
created_after string

Return logs for activity after this date.

Example: 2022-04-30
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


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

A unique identifier for the log

from string OPTIONAL

The origin phone number.

to string OPTIONAL

The destination phone number.

status string OPTIONAL

The status of the message.

direction string OPTIONAL

The direction of the message.

kind string OPTIONAL

The kind of message.

source string OPTIONAL

Source of this log entry.

type string OPTIONAL

Type of this log entry.

url string OPTIONAL

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

number_of_segments integer OPTIONAL

The number of segments.

charge number OPTIONAL

The charge in dollars.

charge_details object[] OPTIONAL

Details on charges associated with this log.

description string OPTIONAL

Description for this charge.

charge number OPTIONAL

Charged amount.

created_at date-time OPTIONAL