cargopanel logocargopanel for developers

Get Webhook

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

Get a single webhook. Only webhooks of your own API key can be read; any other ID returns 404.

Path Parameters

idstringrequired

Webhook ID.

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

200Webhook returned
401Unauthorized (invalid or missing token)
404Webhook not found