Api
Earned
A participant earned a Reward. RefRef POSTs the event to each enabled endpoint of the Project that subscribes to reward.earned, and retries for about 72 hours until the endpoint answers 2xx.
Header Parameters
webhook-id*string
The event ID. Every delivery of an event has the same one; deduplicate on it.
webhook-timestamp*string
Unix seconds when RefRef signed the request. Refuse an old timestamp.
webhook-signature*string
One v1, for each active secret, separated by spaces, of ... The key is the base64 text after whsec_ in the endpoint secret.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
A participant earned a Reward.
Response Body
Example Requests
A participant earned a Reward.
POST
/reward.earned