curl -X POST \
/webhooks \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"id": "",
"events": [
""
],
"version": "",
"enabled": "",
"url": "",
"webhookResults": [
"https:\/\/example.com\/"
],
"status": "",
"lastSentAt": "",
"activities": [
"https:\/\/example.com\/"
],
"tenantId": ""
}'
{
"id": "<string>",
"events": [
"<string>"
],
"version": "<string>",
"enabled": true,
"url": "<string>"
}
Add webhook
Required permissions:webhook:write
curl -X POST \
/webhooks \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"id": "",
"events": [
""
],
"version": "",
"enabled": "",
"url": "",
"webhookResults": [
"https:\/\/example.com\/"
],
"status": "",
"lastSentAt": "",
"activities": [
"https:\/\/example.com\/"
],
"tenantId": ""
}'
{
"id": "<string>",
"events": [
"<string>"
],
"version": "<string>",
"enabled": true,
"url": "<string>"
}
Value for the Authorization header parameter.
The new Webhook resource
Webhook resource created
Was this page helpful?