Sign in

Trigger rewards

documented

Evaluate a custom event and create necessary rewards.

POST /api/v2/betas/{beta_id}/rewards/trigger.jsonBetasno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl 'https://api.prefinery.com/api/v2/betas/{{$beta_id}}/rewards/trigger.json' \
  -X POST \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -u {{PREFINERY_API_KEY}}: \
  -d '{"email": "{{$email}}", "event": "{{$event}}"}'
Trigger rewards · prefinery · OpenIntegrations