Authorizations
- Authorization string required header
Per-site API key (prefix: so_...). Each key is scoped to exactly one Sotion site — the site context is determined entirely by the key. No site ID is needed in any URL. Pass as: Authorization: Bearer so_...
Request Body
application/json- url string (uri) required
HTTPS delivery URL. Must start with https://. Sotion POSTs signed event envelopes here.
- events[] string enum required arrayenum
Event types to subscribe to. At least one required. Event type that can be subscribed to. See the Webhook Events reference for payload shapes. 9 allowed enum values.
- name string
Optional display name. Auto-generated from events/managedBy if omitted.
- managedBy string
Optional marker for integrations to identify their own subscriptions (e.g. 'zapier'). Subscriptions with managedBy set are shown as read-only in the Sotion dashboard.
Response
application/json- Location string response header
URL of the created webhook.
- X-RateLimit-Limit integer response header
Maximum requests allowed in the current window.
- X-RateLimit-Remaining integer response header
Requests remaining in the current window.
- X-RateLimit-Reset integer response header
Unix timestamp (seconds) when the rate limit window resets.
- X-Request-Id string (uuid) response header
Unique request identifier for support and debugging.
- data allOf
+ - Show Child Attributes
- id string (uuid) allOf
Unique identifier for the webhook subscription.
- name string allOf
Display name for the subscription. Auto-generated when not provided on create.
- url string (uri) allOf
HTTPS delivery URL. Sotion POSTs signed event envelopes here.
- events[] string enum allOfarrayenum
Event types this subscription receives. Event type that can be subscribed to. See the Webhook Events reference for payload shapes. 9 allowed enum values.
- active boolean allOf
Whether the subscription is currently delivering events.
- secretPrefix string allOf
First 10 characters of the signing secret, used to identify which secret an integration holds. The full secret is only returned on create.
- managedBy string allOfnullable
External system that owns this subscription (e.g. 'zapier'). Null when user-managed via the dashboard.
- createdAt string (date-time) allOfnullable
When the subscription was created.
- updatedAt string (date-time) allOfnullable
When the subscription was last modified.
- secret string allOf
Full HMAC-SHA256 signing secret (prefix 'whsec_'). Returned ONCE on create — persist it to verify
X-Webhook-Signatureon incoming deliveries.