Skip to main content
POST
Add a webhook endpoint

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

Idempotency-Key
string

Unique per webhook endpoint: any printable text up to 255 characters. A retry with the same key and body within 24 hours answers with the first webhook endpoint instead of making another. Recommended.

Required string length: 1 - 255

Body

application/json
url
string
required
Maximum string length: 2048
eventTypes
enum<string>[]
required
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
description
string
Maximum string length: 200

Response

The webhook endpoint an earlier request with the same Idempotency-Key made.

data
object
required