cURL
curl --request PUT \ --url https://api.example.com/webhooks/{webhook_id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>", "url": "<string>", "events": [ "<string>" ], "is_active": true } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "url": "<string>", "events": [ "<string>" ], "isActive": true, "failureCount": 123, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "lastTriggeredAt": "2023-11-07T05:31:56Z" }
Update a webhook.
Required scope: write
write
You can update the name, URL, events, or active status.
Schema for updating a webhook.
1 - 255
1 - 2083
1
Successful Response
Schema for webhook response.