# List webhooks

Returns all webhooks registered by the authenticated client.
Each webhook has a list of subscribed event types (`origines`) and a target URL.

Endpoint: GET /hooks
Version: 1.4.0
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer opaque

## Response 200:

  - `200` (unknown)
    List of webhooks

## Response 200 fields (application/json):

  - `data` (array)

  - `data.id` (integer)
    Unique webhook identifier.
    Example: 42

  - `data.url` (string)
    Target URL that receives webhook payloads via HTTP POST.
    Example: https://portail.example.com/webhook

  - `data.headers` (object | null)
    Custom headers sent with each webhook payload request.
Use this to authenticate incoming webhook requests on your server.
    Example: {"X-Api-Key":"secret"}

  - `data.authId` (integer | null)
    ID of the linked webhook auth configuration (if any).

  - `data.format` (string | null)
    Custom format identifier for the payload (if any).

  - `data.origines` (array)
    List of subscribed event types. Only events in this list trigger
a delivery to the target URL.
    Example: ["CUSTOMER_CREATE","PRODUCT_UPDATE"]

## Response 403:

  - `403` (unknown)
    Insufficient permissions

## Response 403 fields (application/json):

  - `error` (object)

  - `error.code` (string, required)

  - `error.message` (string, required)

