List webhooks
GET
/api/v2/webhooks.json
Get or search for one or more webhooks associated with your App Client using a range of accepted query parameters.
Scopes
Requires the default scope only.
Parameters
Accepts the following query parameters:
createdOn:min
Return webhooks with a createdOn datetime greater than or equal to the datetime
supplied in ISO-8601 format (e.g. 2024-04-28T09:13:45+01:00) |
createdOn:max
Return webhooks with a createdOn datetime less than or equal to the datetime
supplied in ISO-8601 format (e.g. 2024-04-28T09:13:45+01:00) |
createdOn:after
Return webhooks with a createdOn datetime greater than the datetime supplied
in ISO-8601 format (e.g. 2024-04-28T09:13:45+01:00) |
createdOn:before
Return webhooks with a createdOn datetime less than the datetime supplied in
ISO-8601 format (e.g. 2024-04-28T09:13:45+01:00)
|
id:in
Return webhooks specified within a comma-separated list of Webhook IDs. |
id:min
Return webhooks with an ID greater than or equal to that specified. |
id:max
Return webhooks with an ID less than or equal to that specified. |
id:after
Return webhooks with an ID greater than that specified. |
id:before
Return webhooks with an ID less than that specified. |
modifiedOn:min
Return webhooks with a modifiedOn datetime greater than or equal to the datetime
supplied in ISO-8601 format (e.g. 2024-04-28T09:13:45+01:00) |
modifiedOn:max
Return webhooks with a modifiedOn datetime less than or equal to the datetime
supplied in ISO-8601 format (e.g. 2024-04-28T09:13:45+01:00) |
modifiedOn:after
Return webhooks with a modifiedOn datetime greater than the datetime supplied
in ISO-8601 format (e.g. 2024-04-28T09:13:45+01:00) |
modifiedOn:before
Return webhooks with a modifiedOn datetime less than the datetime supplied in
ISO-8601 format (e.g. 2024-04-28T09:13:45+01:00)
|
url
Return webhooks matching the URL endpoint supplied. |
JSON response
Evance will return a JSON object containing the following properties:
success
A successful search request containing zero or more results will always return a true value.
|
status
An integer matching the HTTP response code. A successful request will have a status of 200 .
|
data
An array containing zero or more Webhook data objects. |
pagination
Search results include a pagination object contain information about the current page, total pages, the limit per page and the total number of results available.
|
links
An object containing links to traverse available search results.
|
Example response
{
"success": true,
"status": 200,
"data": [
{
"id": 65436453,
"apiVersion": "v2",
"description": null,
"url": "https://webhooks.my-domain.com/webhook-consumer",
"events": [
"products/*",
"categories/*",
],
"metadata": {
"integration-key": "afacc52a-8513-11ec-a8a3-0242ac120002"
},
"isActive": true,
"createdOn": "2022-02-03T16:43:49+00:00",
"modifiedOn": "2022-02-03T16:43:49+00:00"
}
],
"pagination": {
"page": 1,
"limit": 100,
"total": 1,
"totalPages": 1
},
"links": {
"self": "https://examples.m4.devs.evance.me/api/v2/webhooks.json",
"previous": null,
"next": null
}
}