Skip to main content
PATCH
Change a webhook endpoint, or switch it on or off

Authorizations

Authorization
string
header
required

A group API key, sent as Authorization: Bearer sw_live_…. Keys from staging and the demo start sw_test_ instead. A group admin creates keys in Settings → Integrations → API keys.

Scopes

webhooks:write

Headers

If-Match
string

The ETag you last read for this record. If the record has changed since, the change is refused with 412 stale_write, which carries its current ETag. Optional, and recommended: without it the last write wins.

Path Parameters

endpointId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
url
string
Maximum string length: 2048
description
string | null
Maximum string length: 200
eventTypes
enum<string>[]
Minimum array length: 1
Available options:
member.section.transitioned,
event.created,
event.updated,
event.cancelled,
event.deleted,
member.created,
member.updated,
member.left,
waiting-list.application.received,
badge.awarded,
badge.requirement.completed,
event.rsvp.changed,
task.created,
task.updated,
transaction.created,
expense-claim.submitted,
expense-claim.approved,
attendance.recorded,
payment.confirmed,
payment.failed,
hire.booking.created,
refund.created,
transfer.created,
user.invited,
user.updated,
user.removed,
user.access-changed,
equipment.checked-out,
equipment.overdue
enabled
boolean

Response

OK

data
object
required
{key}
any