Contents
On this page

List Webhook Deliveries - Plugixa POS for WooCommerce

GET /plugixa-pos/v1/webhooks/{id}/deliveries

What was sent, newest first.

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/1/deliveries?status=failed

Path parameters

Name Type Description
id integer The webhook’s id

Query parameters

Field Type Required Description
status string No pending, delivered, failed, or empty for all.
page integer No Page to return, from 1. Defaults to 1.
per_page integer No Rows per page, 1 to 100. Defaults to 25.

Responses

200 OK.

{
  "success": true,
  "data": [
    {
      "id": 31,
      "event_id": "evt_4464",
      "event": "sale.completed",
      "status": "failed",
      "attempts": 3,
      "response_code": 500,
      "last_error": "HTTP 500",
      "next_attempt_at": null,
      "delivered_at": null,
      "created_at": "2026-11-19 15:12:00",
      "payload": {
        "event": "sale.completed"
      }
    }
  ],
  "meta": {
    "total": 1,
    "pages": 1
  }
}

Errors

Status Code When
404 plugixa_pos_not_found No webhook with that id.

Plus the errors every endpoint can return.

Examples

curl -s "https://your-site.example/wp-json/plugixa-pos/v1/webhooks/1/deliveries?status=failed" \
  -u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-pos/v1/webhooks/1/deliveries?status=failed');
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/1/deliveries?status=failed', {
  headers: {
    'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
  },
});
const { data } = await response.json();

Quick Links

Share