Update a Webhook
The endpoint allows you to update the existing webhook with a given identifier
Request schema
Path parameters
The webhook ID
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Request
The endpoint URL where webhook events will be delivered.
List of event types that trigger the webhook.
Indicates if the webhook is enabled to send events immediately upon occurrence.
A secret string used to sign webhook payloads for verification.
PATCH /v1/webhooks/webhookId HTTP/1.1
Accept: application/json
Authorization: Basic <Replace with base64-encoded key>
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 157
{
"url": "https://your-host.your-domain/webhook",
"events": [
"sync_start",
"sync_end"
],
"active": true,
"secret": "your_webhook_secret"
}
Responses
Successful response schema
Response status code
Response status text
Unique identifier for the webhook.
The type of the webhook. Specifies whether the webhook is associated with a group or an account.
The endpoint URL where webhook events will be delivered.
List of event types that trigger the webhook.
Indicates if the webhook is enabled to send events immediately upon occurrence.
A secret string used to sign webhook payloads for verification.
Timestamp indicating when the webhook was created.
Identifier of the user who created the webhook setting.
Unique identifier for the group associated with the webhook.
{
"code": "Success",
"message": "Operation performed.",
"data": {
"id": "webhook_id",
"type": "group",
"url": "https://your-host.your-domain/webhook",
"events": [
"sync_start",
"sync_end"
],
"active": true,
"secret": "******",
"created_at": "2024-01-01T00:00:00Z",
"created_by": "user_id",
"group_id": "group_id"
}
}