Set up webhooks to get notified when specific events occur throughout the Synthesia system.
When an event occurs, we send an HTTP POST request to any active webhooks that are subscribed to the applicable type of event. We expect a non-error response code (1xx, 2xx or 3xx) within six seconds in order to consider event delivery a success. In the case that event delivery fails, we will retry twice over a ten-minute window.
In order that you might verify the events you receive were sent by Synthesia, we sign each event. To learn more about verifying this signature, see this guide.
Webhook Object Keys | Description |
---|---|
id string | Unique identifier for the webhook. |
url string | URL to which we make the HTTP POST request. |
status string | The status of the webhook, either active or deleted . |
secret string | The webhook secret which is required to verify the signature we send you. Note that this secret is only available at time of webhook creation. |
createdAt integer | UNIX timestamp representing the time the webhook was created. |
lastUpdatedAt integer | UNIX timestamp representing the time the webhook was last updated. |
{
"id":"1234-...",
"url":"https://webhook.site/1234-...",
"status":"active",
"secret":"1234-...",
"createdAt":1623656907,
"lastUpdatedAt":1623656907
}