SDK ReferenceWebhooks
Update Webhook
Update the details of an existing webhook.
Description
The Update Webhook
endpoint allows you to modify the details of an existing webhook, such as its URL, name, and enabled status. This is useful for maintaining and adjusting your webhook configurations as needed.
Webhooks
Webhooks are best managed in our platform dashboard. You can create, update, and delete webhooks from the dashboard.
HTTP Request
POST /webhooks/update
Authentication
All requests must include an Authorization
header with a valid API key.
Headers
Key | Value |
---|---|
Authorization | Bearer YOUR_API_KEY |
Content-Type | application/json |
Request Body
- webhook_id: The ID of the webhook to update.
- url: (Optional) The new URL for the webhook.
- name: (Optional) The new name for the webhook.
- enabled: (Optional) Boolean indicating whether the webhook should be active.
JSON
Field | Type | Description |
---|---|---|
webhook_id | string | The ID of the webhook to update |
url | string | The new endpoint URL for the webhook (optional) |
name | string | The new name for the webhook (optional) |
enabled | string | Whether the webhook is active (optional) |
Request Example
Response
Success
Status Code: 200 OK
Body: