AvailableUpdated 2026-11-28
Receive signed webhook events
Send deployment, approval and membership events to your own endpoint.
Webhooks push workspace events to an HTTP endpoint you own. Every request is signed so your receiver can reject anything that did not come from Ordeploy.
Create an endpoint
- 1Open Settings and choose Webhooks.
- 2Enter an HTTPS URL and choose the events to receive.
- 3Copy the signing secret immediately. It is shown once.
- 4Send a test delivery and confirm your receiver accepts it.
Events
| Event | Sent when |
|---|---|
| ping | You request a test delivery |
| deployment.activated | A deployment becomes the active one |
| publish_approval.approved | An approver approves a production release |
| publish_approval.rejected | An approver rejects a production release |
| member.invited | A member is added to the workspace |
Request format
The body is JSON with an id, event, createdAt and data object. Deliveries are at-least-once, so deduplicate on the id.
http
POST /your-endpoint
x-ordeploy-event: deployment.activated
x-ordeploy-timestamp: 1795870000
x-ordeploy-signature: sha256=...
{"id":"...","event":"deployment.activated","createdAt":"...","data":{...}}Verify the signature
- Read the raw request body before parsing it.
- Build the signed string as timestamp + "." + body.
- Compute HMAC-SHA256 with the endpoint secret.
- Compare it with x-ordeploy-signature in constant time.
- Reject timestamps older than five minutes.
js
const expected = 'sha256=' + createHmac('sha256', secret)
.update(`${timestamp}.${rawBody}`)
.digest('hex');
if (!timingSafeEqual(Buffer.from(expected), Buffer.from(signature))) return res.status(401).end();Retries and failures
A failed delivery is retried up to three times with a short backoff. After that it is marked failed and kept in the endpoint history. Sending is at-least-once, never exactly-once.
Was this page helpful?
