Create a program
Create a new program.
Creates a new program in your organization. A program only requires aDocumentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
name. By default, on_unknown_participant is set to CREATE, which means participants are auto-created on their first event. Set it to REJECT if you need explicit registration before processing events.
Programs start as ACTIVE. You can suspend or archive them later via Update a program.
Authorizations
API key passed in the X-API-Key header.
Body
Program details
Program name
1 - 255"Q1 Sales Bonus"
Optional program description
1000"Quarterly sales incentive program for the sales team"
How to handle events for unregistered participants. Defaults to CREATE
CREATE, REJECT "CREATE"
Response
Program created
When the program was created
"2024-01-15T10:30:00Z"
Set when the program is archived
Optional program description
"Quarterly sales incentive program"
Program ID
"550e8400-e29b-41d4-a716-446655440000"
Program name
"Q1 Sales Bonus"
How events for unregistered participants are handled
"CREATE"
Target ledger entity ID. Present only when redemption_target_type is LEDGER_ENTITY.
Where redeemed value is posted: SYSTEM_REDEMPTION, SYSTEM_BREAKAGE, or LEDGER_ENTITY
"SYSTEM_REDEMPTION"
Lifecycle state
"ACTIVE"
When the program was last modified
"2024-01-15T10:30:00Z"