cURL
Webhooks
Update a webhook subscription
Requires webhooks:write. Updates the subscription name, status, target URL, or event list. Target URLs must be public HTTPS URLs.
PATCH
cURL
Authorizations
Public API access token issued by /public/v1/oauth/token. Example: Authorization: Bearer fspt_....
Headers
Required for Public API write requests. Reusing the same key with the same method, path, and body replays the stored successful response; reusing it with a different request returns 409 idempotency.conflict.
Required string length:
1 - 200Example:
"booking-create-20260714-001"
Path Parameters
Webhook subscription id.
Example:
"66f7b8b1e13c8d25f4d3d90a"
Body
application/json
Maximum string length:
120Example:
"CRM sync"
Available options:
active, disabled Example:
"disabled"
Example:
"https://example.com/fitsociety/webhooks"
Minimum array length:
1Available options:
subscription.test, client.created, client.updated, client.archived, client.invited, client.portal_access.changed, client.relationship.approved, client.relationship.rejected, client.note.created, client.note.updated, client.note.deleted, booking.created, booking.updated, booking.cancelled, booking_request.created, booking_request.approved, booking_request.rejected, recurring_booking.changed, calendar_task.created, calendar_task.updated, calendar_task.cancelled, invoice.created, invoice.sent, invoice.overdue, invoice.cancelled, invoice.paid, payment.succeeded, payment.failed, payment.request.created, payment.request.cancelled, chargeback.created, subscription.changed, subscription.cancelled, client_product.assigned, client_product.revoked, credit.assigned, credit.adjusted, credit.revoked, membership.assigned, form.assigned, form.submitted, intake.submitted, checkup.assigned, checkup.submitted, measurement.created, measurement.updated, progress_photo.created, goal.updated, habit_entry.created, document.linked, document.updated, document.archived