Skip to content
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

  1. 1Open Settings and choose Webhooks.
  2. 2Enter an HTTPS URL and choose the events to receive.
  3. 3Copy the signing secret immediately. It is shown once.
  4. 4Send a test delivery and confirm your receiver accepts it.

Events

EventSent when
pingYou request a test delivery
deployment.activatedA deployment becomes the active one
publish_approval.approvedAn approver approves a production release
publish_approval.rejectedAn approver rejects a production release
member.invitedA 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":{...}}
Headers sent with every delivery

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();
Node.js verification

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?