Real-time updates for the product catalogue and your orders.
POST
request to a URL you provide; a bit like a reverse API call. Normally you would provision an endpoint specifically for receiving Runa webhooks.
Your endpoint should return a 200
status code to indicate that the webhook was received and processed successfully.
As your webhook endpoint will be accessible from the internet, you should verify that each request is coming from Runa.
order.completion
webhook is triggered when an order has finished
processing.product.update
webhook is triggered when a product in the catalogue is
updated.Enter the webhook portal
Click the 'View webhook' button to open your webhook portal
Add an endpoint
Click the 'Add new endpoint' button to open the form
Choose the event type you want to test and click the 'Send Example' button
Webhook deliveries are shown in the message attempts table
svix-signature
header in the request. Our webhook partner Svix offers a set of useful libraries that make verifying webhooks very simple. Here is an example using Javascript:
You can resend a single message by clicking the options menu next to any of the attempts
Click the 'Recover Failed Messages' button to resend all failed messages
Select the time range you want to recover from and click the 'Recover' button
2xx
response2xx
response, we will consider it a failed delivery.
If your endpoint needs to complete complex work we suggest you simply receive the message and add it to a queue to be processed asynchronously.