For security reasons, rewards can only be triggered via the server-side API, not directly from client-side SDKs. All checkpoint events must be sent through your backend using the
/checkpoints/ingest
endpoint.Step 1: Configure Checkpoints in Flock Dashboard
- Log in to your Flock account at app.withflock.com
- Navigate to the campaign where you want to configure checkpoints
- In the campaign settings, select the checkpoint that should trigger rewards
Step 2: Trigger Checkpoints via API
To trigger a checkpoint, you need to either call use our server-side SDK or make a POST request to the/checkpoints/ingest
endpoint with the following data: