Skip to main content
GET
List participant events
Returns a paginated list of events for a participant across all statuses (PENDING, PROCESSING, COMPLETED, and FAILED) and sources (EXTERNAL, SYSTEM, and OPERATIONAL), including events that failed with participant_inactive while the participant was SUSPENDED or CLOSED. created_after / created_before filter on ingestion time (created_at), while occurred_after / occurred_before filter on occurrence time (event_timestamp). Both pairs can be combined; see Timestamps.
For usage patterns and examples, see the Participants guide.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Path Parameters

participant_id
string
required

The participant's id, or ext: followed by the participant's external_id.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}|ext:.{1,255})$

Query Parameters

limit
integer
default:50

Return at most this many records, from 1 to 200, default 50.

Required range: 1 <= x <= 200
cursor
string

The next_cursor from the previous response, valid only with the same endpoint and filters.

program_id
string<uuid>

Filter by program ID

status
enum<string>

Filter by event status

Available options:
PENDING,
PROCESSING,
COMPLETED,
FAILED
event_type
string

Return only events with this event_type, the name sent with the event, such as purchase.

source
enum<string>

Return only events from this source: sent by you (EXTERNAL), generated by Scrip (SYSTEM) or operational (OPERATIONAL).

Available options:
EXTERNAL,
SYSTEM,
OPERATIONAL
rule_id
string<uuid>

Return only events that this rule ran on.

created_after
string<date-time>

Return only records created after this time, RFC 3339.

created_before
string<date-time>

Return only records created before this time, RFC 3339.

occurred_after
string<date-time>

Return only events with an event_timestamp after this time, RFC 3339.

occurred_before
string<date-time>

Return only events with an event_timestamp before this time, RFC 3339.

Response

List of events

One page of events, with the pagination details for the next page.

data
object[]

The events on this page.

pagination
object

Whether another page follows, and the cursor that fetches it.