Create a Webhook
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
events
array of strings
required
The webhook events for which notifications should be sent.
events*
Allowed:
video.completed``video.failed
ADD string
url
url
required
^(?:(?:(?:https?|ftp):)?//)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$
The URL to send notifications to
``201 Webhook successfully created.
object
createdAt
string
id
string
secret
string
status
string
lastUpdatedAt
string
url
url
``400 Bad Request.
``default Unexpected Server error.
Updated2 months ago
ShellNodeRubyPHPPython
xxxxxxxxxx
curl --request POST \
--url https://api.synthesia.io/v2/webhooks \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
{
"id": "string",
"secret": "string",
"url": "string"
}
Updated2 months ago