curl --request PATCH \
--url https://api.questra.ai/webhooks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Org-Id: <x-org-id>' \
--data '
{
"url": "<string>",
"events": [
"<string>"
],
"description": "<string>",
"active": true
}
'{
"id": "<string>",
"org_id": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>"
}Update the URL, subscribed event types, description, or active status of a webhook.
curl --request PATCH \
--url https://api.questra.ai/webhooks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Org-Id: <x-org-id>' \
--data '
{
"url": "<string>",
"events": [
"<string>"
],
"description": "<string>",
"active": true
}
'{
"id": "<string>",
"org_id": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Updated webhook
A registered webhook endpoint
Unique webhook ID
Organization ID this webhook belongs to
The endpoint URL that receives event deliveries
Event types this webhook subscribes to. Empty array means all events.
Whether deliveries are enabled
Optional human-readable label