Retrieves WebhookEvents from a single Webhook.
curl --request GET \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id}/events \
--header 'X-Violet-App-Id: <x-violet-app-id>' \
--header 'X-Violet-App-Secret: <x-violet-app-secret>' \
--header 'X-Violet-Token: <x-violet-token>'
{
"content": [
{
"id": 123,
"app_id": 123,
"webhook_id": 123,
"entity_id": 123,
"entity_external_id": "<string>",
"status_code": 123,
"response": "<string>",
"event_type": "ORDER_UPDATED",
"remote_endpoint": "<string>",
"attempts": 123,
"status": "CREATED",
"date_created": "2023-11-07T05:31:56Z",
"date_last_modified": "2023-11-07T05:31:56Z",
"date_next_attempt": "2023-11-07T05:31:56Z"
}
],
"last": true,
"total_pages": 123,
"total_elements": 123,
"first": true,
"number_of_elements": 123,
"size": 123,
"number": 123,
"empty": true,
"next_page_cursor": "<string>",
"pageable": {
"page_number": 123,
"page_size": 123,
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
},
"offset": 123,
"paged": true,
"unpaged": true
},
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
}
}
default response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id}/events \
--header 'X-Violet-App-Id: <x-violet-app-id>' \
--header 'X-Violet-App-Secret: <x-violet-app-secret>' \
--header 'X-Violet-Token: <x-violet-token>'
{
"content": [
{
"id": 123,
"app_id": 123,
"webhook_id": 123,
"entity_id": 123,
"entity_external_id": "<string>",
"status_code": 123,
"response": "<string>",
"event_type": "ORDER_UPDATED",
"remote_endpoint": "<string>",
"attempts": 123,
"status": "CREATED",
"date_created": "2023-11-07T05:31:56Z",
"date_last_modified": "2023-11-07T05:31:56Z",
"date_next_attempt": "2023-11-07T05:31:56Z"
}
],
"last": true,
"total_pages": 123,
"total_elements": 123,
"first": true,
"number_of_elements": 123,
"size": 123,
"number": 123,
"empty": true,
"next_page_cursor": "<string>",
"pageable": {
"page_number": 123,
"page_size": 123,
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
},
"offset": 123,
"paged": true,
"unpaged": true
},
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
}
}
Retrieves WebhookEvents from a single Webhook.
curl --request GET \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id}/events \
--header 'X-Violet-App-Id: <x-violet-app-id>' \
--header 'X-Violet-App-Secret: <x-violet-app-secret>' \
--header 'X-Violet-Token: <x-violet-token>'
{
"content": [
{
"id": 123,
"app_id": 123,
"webhook_id": 123,
"entity_id": 123,
"entity_external_id": "<string>",
"status_code": 123,
"response": "<string>",
"event_type": "ORDER_UPDATED",
"remote_endpoint": "<string>",
"attempts": 123,
"status": "CREATED",
"date_created": "2023-11-07T05:31:56Z",
"date_last_modified": "2023-11-07T05:31:56Z",
"date_next_attempt": "2023-11-07T05:31:56Z"
}
],
"last": true,
"total_pages": 123,
"total_elements": 123,
"first": true,
"number_of_elements": 123,
"size": 123,
"number": 123,
"empty": true,
"next_page_cursor": "<string>",
"pageable": {
"page_number": 123,
"page_size": 123,
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
},
"offset": 123,
"paged": true,
"unpaged": true
},
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
}
}
default response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id}/events \
--header 'X-Violet-App-Id: <x-violet-app-id>' \
--header 'X-Violet-App-Secret: <x-violet-app-secret>' \
--header 'X-Violet-Token: <x-violet-token>'
{
"content": [
{
"id": 123,
"app_id": 123,
"webhook_id": 123,
"entity_id": 123,
"entity_external_id": "<string>",
"status_code": 123,
"response": "<string>",
"event_type": "ORDER_UPDATED",
"remote_endpoint": "<string>",
"attempts": 123,
"status": "CREATED",
"date_created": "2023-11-07T05:31:56Z",
"date_last_modified": "2023-11-07T05:31:56Z",
"date_next_attempt": "2023-11-07T05:31:56Z"
}
],
"last": true,
"total_pages": 123,
"total_elements": 123,
"first": true,
"number_of_elements": 123,
"size": 123,
"number": 123,
"empty": true,
"next_page_cursor": "<string>",
"pageable": {
"page_number": 123,
"page_size": 123,
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
},
"offset": 123,
"paged": true,
"unpaged": true
},
"sort": {
"unsorted": true,
"sorted": true,
"empty": true
}
}