Docs
/
/

List activities

Returns a paginated list of activities for the specified message.

List activities

Returns a paginated list of activities for the specified message.

Endpoint

GET/v1/messages/{message_id}/activities

Rate limit

Tier 4

Path parameters

message_id
string

The ID of the message to fetch activities for.

Query parameters

trigger_data
string

The trigger data to filter activities by.

after
string

The cursor to fetch entries after.

before
string

The cursor to fetch entries before.

page_size
integer

The number of items per page (defaults to 50).

Returns

ListActivitiesResponse

Returns a paginated list of activities associated with a given message. For messages produced after a batch step, this will contain one or more activities. Non-batched messages will always return a single activity.

A list of activities.

__typename
string

The typename of the schema.

The actor who performed the activity.

data
object(any)

The workflow trigger data payload associated with the activity.

id
string

Unique identifier for the activity.

inserted_at
string(date-time)

Timestamp when the activity was created.

recipient
2 possible types

A recipient of a notification, which is either a user or an object.

updated_at
string(date-time)

Timestamp when the activity was last updated.

page_info

Pagination information for a list of resources.

__typename
string

The typename of the schema.

after
string

The cursor to fetch entries after.

before
string

The cursor to fetch entries before.

page_size
integer

The number of items per page (defaults to 50).

New chat