Skip to main content
Use the playground below to try this endpoint directly, or review the OpenAPI details in the right panel. Updates an active webhook subscription. At least one of url or events must be provided. When events is sent, it replaces the full set of subscribed event types — it is not additive.

Request body fields

FieldTypeRequiredDescription
urlstringAt least one of url or eventsNew HTTPS destination URL for webhook POST requests. Max 2048 characters.
eventsarray of stringsAt least one of url or eventsReplaces all currently subscribed event types. See supported event types.

Example: change URL only

{
  "url": "https://your-server.example.com/webhooks/brale"
}

Example: replace subscribed events

{
  "events": ["transfer.completed", "transfer.failed"]
}

Error responses

  • 400 — empty patch body (no fields provided).
  • 404 — subscription not found or not owned by the account.
  • 409 — subscription is already archived; archived subscriptions cannot be updated.
  • 422 — unsupported event type, or events array was empty when the events key was sent.
Required scope: webhooks:write.