Skip to main content

Register Mercury Webhook

POST 

/api/mercury/instances/:instance/webhook

Register a fresh webhook for a Mercury instance. Any webhook previously registered for this instance, and any webhook pointing at the same receiver URL, is deleted first, so this is safe to run repeatedly to repair a broken subscription.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token.

Mercury generates the signing secret; SKU.io stores it and uses it to verify each delivery. Returns 422 when Mercury rejects the request (for example, an expired token).

Request​

Responses​

OK

Response Headers
    Content-Type