Webhook Management
Register Webhook
Add an endpoint (up to 5 per store). The signing secret is returned once, in this answer only: store it to verify deliveries.
POST
https://rassmi.com/api/v1/webhooks
Authorization
-
Authorizationheaderrequired
Bearer rsk_…: the store's API key, from API Key in your Rassmi dashboard.
Body
-
url string required
A public
https://(orhttp://) address, up to 500 characters. -
events array required
Event names, or
["*"]for every event. See Available Events.
Responses
| Status | Meaning |
|---|---|
201 | Success. The body is shown on the right. |
422 | Validation failed, or the store already has 5 endpoints. |
401 | Missing, unknown, paused or expired API key. |
429 | More than 60 requests in a minute. See Rate limits. |