List Active Webhooks
GET
/webhooksThis endpoint allows you to list all available, registered, and active webhooks related to the store.
Request
Request samples
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A unique identifier assigned to a webhook.
The designated label assigned to a webhook.
An event that triggers a webhook to send real-time data between applications (from the events list).
Webhook type
Webhook URL is the address where a webhook sends data when a predefined event occurs.
The webhook version, with values of 1
or 2
, reflecting changes or updates to its functionality or structure.
operations, expressions, and conditions to your webhook, like =, !=, AND, or OR. For example: payment_method = YOUR_PAYMENT_METHOD , payment_method = mada OR price < 50
This enables precise response filtering based on your criteria.
Details included in webhook requests, such as authentication and content metadata, ensure secure and accurate communication between web services. These are represented by headers.key
and headers.value
.
For a better response behavior as well as maintain the best security level, All retrieving API endpoints use a mechanism to retrieve data in chunks called pagination. Pagination working by return only a specific number of records in each response, and through passing the page number you can navigate the different pages.
Number of returned results.
Number of all results.
Number of results per page.
Number of current page.
Number of total pages.
Array of linkes to next and previous pages.
{
"status": 200,
"success": true,
"data": [
{
"id": 831980095,
"name": "Customer Login",
"event": "customer.login",
"version": 2,
"rule": "first_name = `User`",
"type": "manual",
"url": "https://webhook.site/ae7ff328-b54d-42d0-bc7c-94673cd2e982",
"headers": {
"Authorization": "Your Secret Token",
"Accept-Language": "AR"
}
}
],
"pagination": {
"count": 0,
"total": 0,
"perPage": 65,
"currentPage": 0,
"totalPages": 0,
"links": [
"string"
]
}
}