Webhooks
Overview
It's often helpful to know when your deployment is complete, regardless of its state READY
or ERROR
. You can use a webhook with a deployment. Here's how it works:
We will make an HTTP POST request to the provided URL when your deployment is complete. This request contains a JSON body with the same data provided by our route /v1/status/{request_id}
. We expect no response from your side.
The default timeout for the webhook is 10 seconds. If the webhook does not respond within this time, you will not receive any further notifications.
Deployment Webhook Example
POST
request to /v1/deploy
(API Reference)
Include your API Token in your Headers like this:
REST payload:
Deployment Webhook Callflow
The following sequence diagram shows the call-flow of a Deployment webhook.
Last updated
Was this helpful?