Skip to main content
GET
/
v1
/
programs
/
{id}
Get a program
curl --request GET \
  --url https://api.scrip.dev/v1/programs/{id} \
  --header 'X-API-Key: <api-key>'
{
  "created_at": "2024-01-15T10:30:00Z",
  "deleted_at": "2023-11-07T05:31:56Z",
  "description": "Quarterly sales incentive program",
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Q1 Sales Bonus",
  "on_unknown_participant": "CREATE",
  "status": "ACTIVE",
  "updated_at": "2024-01-15T10:30:00Z"
}
Returns a single program by its id. The response includes the program’s status, on_unknown_participant enrollment policy, and full configuration. This is the endpoint to use when you need to check a program’s current state before taking action on it, such as verifying it is ACTIVE before submitting events.
For usage patterns and examples, see the Programs guide.

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Path Parameters

id
string<uuid>
required

Program ID

Response

Program details

created_at
string<date-time>

When the program was created

Example:

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

deleted_at
string<date-time>

Set when the program is archived

description
string

Optional program description

Example:

"Quarterly sales incentive program"

id
string<uuid>

Program ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

name
string

Program name

Example:

"Q1 Sales Bonus"

on_unknown_participant
string

How events for unregistered participants are handled

Example:

"CREATE"

status
string

Lifecycle state

Example:

"ACTIVE"

updated_at
string<date-time>

When the program was last modified

Example:

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