API overview
Choose the right member-action endpoint, credentials and identity format.
Perkadoo's HTTP endpoints live under https://api.perkadoo.com. Count actions from your server or automation; the browser widget displays progress.
Choose how to count an action
| Path | Credentials | Member and completion fields | Use it for |
|---|---|---|---|
/v1/hooks/YOUR_PROGRAM_TOKEN | Secret incoming URL, kept server-side | member, completion_id | Course platforms, Zapier and Make. The URL selects the streak and hashes the member value within its project. |
/v1/webhook/YOUR_PROJECT_KEY/e | X-Streak-Webhook-Secret header | event, userHash, idempotencyKey | Project webhook. Send the same stable member ID used by your widget. |
/v1/api/programs/{programId}/events | Bearer API key or OAuth token | userHash, idempotencyKey | Customer API. Choose a program within the credential's accessible workspace. |
These contracts use different member fields. Do not send a raw email as userHash when your widget uses the project-hashed data-member path. Follow one integration's counting and display examples together.
Read progress and prove identity
GET /v1/statereads a member's streak. Browser reads are checked against the website address saved in Perkadoo.POST /v1/aliaslinks an anonymous visitor to a signed-in member using a signed token.- Authentication explains public project keys, private counting credentials and protected reward identity tokens.
Rate limits
Limits depend on the endpoint and deployment configuration. They are not one universal requests-per-second allowance.
- Incoming URLs have a default limit of 600 requests per program per minute, with a separate 1,200 requests per sender IP per minute limit.
- State reads by
memberadmit up to 30 distinct members per IP and project in ten minutes. Repeated reads for an admitted member do not use another distinct-member slot. - Public draw and badge endpoints have separate creation/read limits.
A 429 response includes Retry-After. Wait for that interval before retrying, preserve the same completion/idempotency key, and avoid immediate retry loops. Contact hello@perkadoo.com if an integration needs a higher allowance.
Events sent to your backend
See outbound webhook headers, signature verification and retry behavior. These outbound subscriptions are separate from incoming action endpoints.
OpenAPI spec
The OpenAPI 3.1 reference covers project webhook, state, alias and customer API endpoints. The incoming URL guide documents its form/JSON contract separately. Import the specification into Postman, Insomnia or a client generator.