Events
Subscribe to specific events by name or use
["*"] to receive all.
Register an endpoint
201 including the signing secret — shown once, store it securely:
Event payload
data is the same shape as the Generation object.
Verifying signatures
Selektable signs every webhook using the Standard Webhooks scheme. Each request includes:
The signature is computed as:
secret is the base64-decoded portion of your whsec_ key (everything after the whsec_ prefix).
Node.js example
Delivery & retries
- Endpoints should return a
2xxstatus quickly (within ~10 seconds). - Non-2xx responses are retried with exponential backoff (up to 5 attempts).
- Make your handler idempotent by deduplicating on
event.id— under retry, the same event may arrive more than once.
Polling alternative
If you can’t accept webhooks, pollGET /v1/generations/{id} until status is complete or failed. Recommended cadence: every 1–2 seconds, with a sensible overall timeout (most renders finish within ~30s). Webhooks and polling can be used together.