GET

/v1/events/webhooks

X-Violet-Token
X-Violet-App-Secret
X-Violet-App-Id
curl --request GET \
  --url https://sandbox-api.violet.io/v1/events/webhooks
[
  {
    "app_id": "integer",
    "date_created": "string",
    "date_last_modified": "string",
    "event": "ORDER_UPDATED",
    "id": "integer",
    "remote_endpoint": "string",
    "status": "INACTIVE"
  }
]

Retrieve all webhooks that your app is subscribed to.

Headers

X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer

Query Parameters

app_id
integer
event
string

Response

200 - application/json
app_id
integer
date_created
string

Date of creation

date_last_modified
string

Date of last update

eventrequired
enum<string>

The event being triggered

Available options:
ORDER_UPDATED,
ORDER_SHIPPED,
ORDER_COMPLETED,
ORDER_CANCELLED,
ORDER_REFUNDED,
ORDER_RETURNED,
OFFER_CREATED,
OFFER_UPDATED,
OFFER_REMOVED
id
integer
remote_endpointrequired
string

Remote endpoint the webhook posts against.

status
enum<string>

Status of the webhook

Available options:
INACTIVE,
ACTIVE,
DISABLED