Register a webhook endpoint
The signing secret (whsec_...) is returned only in the creation response. Store it; every delivery is signed with it (see the Webhooks section). Idempotent replays return the endpoint without the secret.
Headers
- Type: stringIdempotency
- Key min length:1max length:255requiredRequired on every POST, before any effect. Replays with the same key return the original resource with
200.
Body·
required
application/json
- Type: array string[] · 1…enumevent
_types required - Type: stringurlmax length:2000Format: urirequired
Must be
https.
Responses
- application/json
- application/json
- application/problem+json
- application/problem+json
Request Example for post/v1/webhook_endpoints
curl https://api.sandbox.rostergiving.com/v1/webhook_endpoints \
--request POST \
--header 'Idempotency-Key: ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"url": "",
"event_types": [
"partner_session.created"
]
}'
{
"id": "we_9d8c7b6a5f4e",
"url": "https://example.com",
"event_types": [
"partner_session.created"
],
"status": "active",
"created_at": "2026-09-01T19:58:46.893Z",
"secret": "string"
}