Webhook Events
Retrieving Events for All Webhooks
You can fetch all events for all webhook that belong to your app.
curl GET https://sandbox-api.violet.io/v1/apps/{app_id}/webhooks/all/events?page=1&size=25&since=0 \
-H "X-Violet-App-Id: your-app-id-here" \
-H "X-Violet-App-Secret: your-app-secret-here" \
-H "X-Violet-Token: your-token-here" \
-H "Content-type: application/json"
Retrieving Events for a Webhook
You can fetch all events for a specific webhook.
curl GET https://sandbox-api.violet.io/v1/apps/{app_id}/webhooks/{webhook_id}/events?page=1&size=25&since=0 \
-H "X-Violet-App-Id: your-app-id-here" \
-H "X-Violet-App-Secret: your-app-secret-here" \
-H "X-Violet-Token: your-token-here" \
-H "Content-type: application/json"
Retrieving a Single Events for a Webhook
You can fetch an events from a specific webhook given its id.
curl GET https://sandbox-api.violet.io/v1/apps/{app_id}/webhooks/{webhook_id}/events/{event_id} \
-H "X-Violet-App-Id: your-app-id-here" \
-H "X-Violet-App-Secret: your-app-secret-here" \
-H "X-Violet-Token: your-token-here" \
-H "Content-type: application/json"
Updated 2 months ago