Contents
List Webhooks - Plugixa POS for WooCommerce
GET /plugixa-pos/v1/webhooks
Every webhook, with the event catalogue and how deliveries are signed.
Needs a user with the plugixa_pos_manage_settings capability (signed in with an Application Password, or the login cookie with an X-WP-Nonce header). Administrators hold it; other roles only when you grant it.
Request
GET https://your-site.example/wp-json/plugixa-pos/v1/webhooks
Responses
200 OK.
{
"success": true,
"data": [
{
"id": 1,
"name": "Accounting sync",
"url": "https://hooks.example.com/pos",
"events": ["sale.completed", "sale.refunded"],
"active": true,
"failure_count": 0,
"last_status": 200,
"last_sent_at": "2026-11-19 16:45:00",
"signing": true,
"deliveries": {
"pending": 0,
"delivered": 12,
"failed": 0
}
}
],
"meta": {
"events": {
"sale.completed": "Sale completed",
"sale.refunded": "Sale refunded or items returned",
"register.closed": "Register closed (Z report)"
},
"signing": {
"header": "X-Plugixa-Signature",
"algorithm": "sha256=HMAC-SHA256(X-Plugixa-Timestamp + \".\" + raw body, secret)"
}
}
}
| Field | Type | Meaning |
|---|---|---|
data[].signing |
boolean |
A signing secret is stored |
data[].deliveries |
object |
Delivery counts by status |
meta.events |
object |
Every event and its label (shortened in the example) |
meta.signing |
object |
How to check a delivery’s signature |
Errors
This endpoint has no errors of its own.
Plus the errors every endpoint can return.
Examples
curl -s "https://your-site.example/wp-json/plugixa-pos/v1/webhooks" \
-u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-pos/v1/webhooks');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERPWD => getenv('WP_USER') . ':' . getenv('WP_APP_PASSWORD'),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const response = await fetch('https://your-site.example/wp-json/plugixa-pos/v1/webhooks', {
headers: {
'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
},
});
const { data } = await response.json();
Quick Links
Share