Skip to content

Add a webhook endpoint

POST
/v1/admin/webhooks
curl --request POST \
--url https://api.sealcord.com/v1/admin/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "url": "example", "event_types": [ "licence.issued" ] }'

Add a webhook endpoint; the answer carries its secret, shown only once. An https URL on port 443 naming a public host (no IP address, no internal or Sealcord host). Past the plan’s endpoints, 402 plan_limit_reached. Not for an assistant: 403 forbidden.

Media typeapplication/json
object
url
required
string
>= 1 characters <= 2048 characters
event_types
required
Array<string>
>= 1 items <= 8 items
Allowed values: licence.issued licence.revoked licence.expired licence.reinstated licence.anonymised licence.trial_converted activation.created activation.deactivated

Missing or invalid API key.

Needs scope webhooks:write.