Events - Webhook Events
Get Webhook Event Body
GET
/v1/events/webhooks/{webhook_id}/events/{event_id}/body
X-Violet-Token
X-Violet-App-Secret
X-Violet-App-Id
curl --request GET \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id}/events/{event_id}/body
{
"body": "object",
"date_created": "string",
"length": "integer"
}
Retrieve the body of a specific WebhookEvent
given the webhook_id
and event_id
. The body of a WebhookEvent
is the raw data that was originally sent through the webhook.
Headers
X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer
Path Parameters
webhook_idrequired
integer
event_idrequired
integer
Query Parameters
app_id
integer
Response
200 - application/json
body
object
date_created
string
Date of creation
length
integer
curl --request GET \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id}/events/{event_id}/body
{
"body": "object",
"date_created": "string",
"length": "integer"
}