cargopanel logocargopanel for developers

List Webhooks

GEThttps://api.cargopanel.co/v1/webhooks

List the webhooks that belong to the API key in the token (active and inactive; deleted webhooks are not returned). The secret is never included — hasSecret shows whether one is set.

Example Response

200
{
  "success": true,
  "data": [
    {
      "id": "wh_k3j9x2m1q8w7e6r5t4y3u2i1",
      "userId": "usr_xyz789",
      "apiKeyId": "ck_live_abc123",
      "url": "https://example.com/webhooks/cargopanel",
      "events": [
        "shipment.measurement.adjusted",
        "shipment.debt.adjusted"
      ],
      "headers": {
        "X-Tenant": "store-42"
      },
      "isActive": true,
      "deletedAt": null,
      "hasSecret": true,
      "createdAt": "2026-11-10T10:30:00.000Z"
    }
  ]
}

Responses

200Webhooks returned
401Unauthorized (invalid or missing token)
429Too many requests (60/min)