Skip to main content
GET
Get an event
Returns one event with its payload, processing status, recorded rule results, and failure details. Rules whose conditions were false or that were never reached have no result row. A newly accepted event can briefly return 404 while it waits to become visible. Poll the same id until it resolves. An event rejected during processing appears as FAILED with an error_code. Every response includes a reversal summary. Send expand[]=reversals to include the newest 100 reversals with their award lines; the summary covers all reversals.
See Event processing for processing outcomes, failure recovery, and reversals.

Authorizations

Authorization
string
header
default:sk_...
required

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

Path Parameters

event_id
string<uuid>
required

The event's id.

Query Parameters

include_skipped
boolean
default:false

Include skipped rule evaluations (SKIPPED_ERROR, SKIPPED_TIMEOUT)

expand[]
enum<string>[]

Sections to add: reversals, the reversals of the event's rewards, newest first.

Available options:
reversals

Response

Event details with rule executions

An event with its processing status and the rule evaluations it produced.

created_at
string<date-time>

When this event was created

Example:

"2027-01-15T10:30:00Z"

error_code
string

Why a FAILED event failed, as a code from the Errors page, such as program_inactive, participant_inactive or unknown_participant. Absent when the event did not fail or the failure has no code.

Example:

"program_not_found"

error_message
string

Error details if the event failed during processing

Example:

"rule condition evaluation failed"

event_data
object

Original event data payload

Example:
event_timestamp
string<date-time>

When the event occurred (from the ingestion request)

Example:

"2027-01-15T10:30:00Z"

event_type
string

The name you gave the event, such as purchase. Rules read it as event.type. Absent for an event stored before events had a name.

Example:

"purchase"

external_id
string

Your system's identifier for the participant (the value provided at ingestion)

Example:

"user_123"

first_error_code
string

The event's cause: the first error_code it failed with. GET /v1/reports/failure-causes groups events by it, and GET /v1/events can filter by it. The event keeps it after a retry. Absent when the event never failed with a code.

Example:

"participant_inactive"

first_failed_at
string<date-time>

When the event first failed (RFC 3339). The event keeps it after a retry; its latest failure is processed_at. Absent when the event never failed.

Example:

"2027-01-15T10:30:00Z"

id
string<uuid>

Unique identifier for this event

Example:

"e5dc1b6a-7f3d-4e2a-8c1b-9a0f4d7e6c05"

idempotency_key
string

Client-provided unique key for deduplication

Example:

"order-1001-completed"

participant_id
string<uuid>

Participant UUID, resolved from external_id if one was provided at ingestion

Example:

"f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b006"

processed_at
string<date-time>

When the event finished processing (null while pending or processing)

Example:

"2027-01-15T10:30:00Z"

program_id
string<uuid>

Program this event belongs to

Example:

"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"

received_at
string<date-time>

When Scrip received the event

Example:

"2027-01-15T10:30:00Z"

recipient_id
string<uuid>

Recipient participant UUID sent as recipient_id or recipient_external_id; rules read it as recipient.id

Example:

"f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b007"

reversal
object

Whether the rewards this event issued were later reversed.

reversals
object[]

Up to 100 most recent reversals of the event's rewards, newest first (returned with expand[]=reversals).

rule_evaluations
object[]

Recorded rule evaluations for this event (SKIPPED_ERROR and SKIPPED_TIMEOUT are omitted unless include_skipped=true; false conditions and rules after stop_after_match are not recorded).

source
enum<string>

Whether you sent the event or Scrip generated it.

Available options:
EXTERNAL,
SYSTEM,
OPERATIONAL
Example:

"EXTERNAL"

status
enum<string>

Where the event is in processing.

Available options:
PENDING,
PROCESSING,
COMPLETED,
FAILED
Example:

"COMPLETED"

updated_at
string<date-time>

When this event was last updated

Example:

"2027-01-15T10:30:00Z"