Webhooks & Hooks
Two complementary systems: Deploy Hooks let external services trigger your deployments. Outbound Webhooks let Deploxa notify your systems when events happen.
A deploy hook is a unique URL that triggers a deployment when any HTTP request hits it. Use it to connect headless CMSs, CI pipelines, cron schedulers, or any other system that needs to trigger a build.
Go to Project → Settings → Deploy Hooks → New Hook. Choose the branch and give the hook a descriptive name. Copy the generated URL — it cannot be viewed again after creation.
Send any HTTP request (GET or POST) to the hook URL. Deploxa ignores the request body — it queues a deployment for the configured branch immediately.
curl
You can also pass optional parameters to override the default branch or add a deploy message:
curl
Headless CMS
Contentful, Sanity, Strapi — rebuild on content publish.
Cron rebuild
Trigger nightly rebuilds for static sites with external data.
CI/CD pipeline
Deploy after tests pass in GitHub Actions, CircleCI, etc.
Slack command
Create a /deploy Slack slash command for your team.
Configure Deploxa to POST to your endpoint whenever platform events occur. Useful for Slack notifications, PagerDuty alerts, custom dashboards, or audit pipelines.
Go to Project → Settings → Outbound Webhooks → Add Webhook. Enter your endpoint URL, select which events to subscribe to, and save. Deploxa generates a signing secret you use to verify requests.
| Event | Description |
|---|---|
| deployment.created | Fires when a new deployment is queued. |
| deployment.building | Fires when the builder starts processing. |
| deployment.ready | Fires when a deployment goes live successfully. |
| deployment.error | Fires when a deployment fails. |
| deployment.cancelled | Fires when a deployment is manually cancelled. |
| domain.added | Fires when a custom domain is added to a project. |
| domain.verified | Fires when a domain passes DNS verification. |
| domain.removed | Fires when a domain is removed. |
All outbound webhooks deliver a JSON body with a consistent envelope:
JSON
Every outbound webhook request includes a X-Deploxa-Signature header. Verify it to ensure the request came from Deploxa and hasn't been tampered with.
The signature is an HMAC-SHA256 of the raw request body, keyed with your webhook signing secret. Always verify on your server before processing the payload.
Node.js
Python