Skip to main content
PATCH
Update Webhook

Overview

Update a webhook’s URL, events, status, or description. All fields are optional - only include the fields you want to update.
Pro webhook setup and configuration changes are support-managed. Contact support@daya.co if you need to add or change webhook endpoints for your Pro account.

Authentication

X-Api-Key
string
required
Your API key with Write scope

Path Parameters

id
string
required
Webhook ID (UUID)Example: 770e8400-e29b-41d4-a716-446655440000

Request Body

url
string
New webhook endpoint URL (must be HTTPS)
events
array
New events to subscribe toAllowed values: order.created, order.filled, order.partially_filled, order.cancelled, order.rejected, trade.executed, deposit.completed, crypto.deposit.completed
status
string
Webhook statusAllowed values: active, paused
description
string
New description for the webhook

Request Examples

Update Events

Pause Webhook

Resume Webhook

Response

success
boolean
required
Indicates if the request was successful
message
string
required
Human-readable response message
data
object
required
Updated webhook object

Success Response

Error Responses

Rate Limits

  • 100 requests per minute per API key

Next Steps

Delete Webhook

Delete a webhook

Rotate Secret

Generate a new signing secret