Create an API token
- Open your organization and choose API & webhooks. Only organization admins can manage tokens and webhooks.
- Under API tokens, enter a name, pick a role and select Create token.
- Copy the token now. It is shown only once.
Good to know: Send it as
Authorization: Bearer <token>. A token works only for this organization and stops working if the person who created it leaves. Revoke a token to cut off an integration immediately.
Receive webhooks
Add an endpoint URL under Webhooks and copy the signing secret, which is also shown once. Select Send test event to check it. To verify a request, compute HMAC-SHA256 of <t>.<raw body> with your secret and compare it with v1 in the BadgeLeap-Signature header. Reject old timestamps.
A webhook shows as failing or disabled
After repeated failed deliveries the webhook is paused or disabled and no new events are queued. Open Recent deliveries to see the errors, fix your endpoint, then select Re-enable. Pending events are sent again.