---
docId: doc_d0405a1f3acf4dc0bf6a7ad746786b52
title: List webhooks
description: "List the webhooks configured in the workspace."
api:
  group: webhooks
  auth: bearer
  operations:
    - operationId: listWebhooks
      method: GET
      path: /v1/webhooks
      postmanName: List webhooks
---

<script>
  import { Ways, Collapsible } from '$lib/components';
</script>

# List webhooks

List the webhooks configured in the workspace.

## Example

<Ways tabs="api,sdk">
<Ways.Way name="api">

```bash
curl https://api.platic.ai/v1/webhooks \
  -H "Authorization: Bearer $PLATIC_API_KEY"
```

</Ways.Way>
<Ways.Way name="sdk">

```ts
await platic.webhooks.list();
```

</Ways.Way>
</Ways>

## Query parameters

| Parameter | Type | Description | Required |
|-----------|------|-------------|----------|
| `workspace` | string | Workspace ID. Required if your credential covers several workspaces ([list workspaces](/api-reference/workspaces)); without it the answer is `400` | If the credential has several |

## Response

`data` is the list of webhooks, from newest to oldest.

```json
{
  "status": "success",
  "data": [
    {
      "id": "webhook_abc123",
      "name": "Notifications webhook",
      "url": "https://example.com/webhook",
      "events": [
        "conversation.created",
        "conversation.status.updated",
        "message.created",
        "client.customFields.updated"
      ],
      "active": true,
      "hasSecret": true,
      "headers": {
        "Authorization": "[REDACTED]"
      },
      "createdAt": "2026-10-28T12:05:00.000Z",
      "updatedAt": "2026-10-28T12:05:03.000Z",
      "creationDate": "2026-10-28T12:05:00.000Z",
      "lastUpdate": "2026-10-28T12:05:03.000Z",
      "lastDeliveryAt": "2026-11-05T17:42:10.000Z",
      "lastDeliveryStatus": "success",
      "lastDeliveryCode": 200,
      "lastDeliveryError": null,
      "autoPause": { "mode": "failures", "failures": 5 },
      "consecutiveFailures": 0,
      "failingSince": null,
      "status": "enabled",
      "workspaceId": "ws_123"
    }
  ]
}
```

## Response fields

<Collapsible summary="Show all fields">

Each webhook in the list carries:

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Webhook id |
| `name` | string | Webhook name |
| `url` | string | Destination URL |
| `events` | array | Subscribed events |
| `active` | boolean | `true` if the webhook delivers |
| `hasSecret` | boolean | `true` if it has a signing secret. The value is never returned |
| `headers` | object | Configured headers. The value of a header that carries a credential arrives as `"[REDACTED]"` |
| `createdAt`, `updatedAt` | string \| null | ISO 8601 dates |
| `creationDate`, `lastUpdate` | string \| null | The same dates as `createdAt` and `updatedAt` |
| `lastDeliveryAt` | string \| null | Date of the last delivery |
| `lastDeliveryStatus` | string \| null | `success` or `failed` |
| `lastDeliveryCode` | number \| null | HTTP status your server answered with |
| `lastDeliveryError` | string \| null | Reason for the last failure |
| `autoPause` | object | When it pauses itself. If it was never chosen, `{ "mode": "failures", "failures": 5 }`. See [automatic pause](/api-reference/webhooks/signatures#automatic-pause) |
| `consecutiveFailures` | number | Consecutive failed deliveries so far |
| `failingSince` | string \| null | Date of the first failed delivery of the current streak, or `null` |
| `status` | string | `enabled`, `draft`, `paused`, or `pending_verification`. A webhook that paused itself carries `paused`. See [statuses](/api-reference/webhooks) |
| `workspaceId` | string | Workspace it belongs to |

</Collapsible>

## Errors

| Status | `details.code` | When |
|--------|----------------|------|
| `400` | `INVALID_REQUEST` | Your credential covers several workspaces and you did not send `?workspace=`, or you sent one it does not cover. `details.available` carries the IDs you can use |
| `401` | `UNAUTHENTICATED` | The credential is missing or invalid |
| `403` | `FORBIDDEN` | The person does not have the Integrations module (the message is `Missing integrations permission`) or does not have permission to configure webhooks |

```json
{
  "code": 400,
  "error": "Bad Request - The request has validation errors",
  "details": {
    "code": "INVALID_REQUEST",
    "message": "Must specify a valid workspace (multi-workspace credential)",
    "available": ["g6yCA16pkWl5eXo7KszB", "Hk29fQm1ZpXr7aLwT0sd"]
  }
}
```

The general error format is in [Errors](/api-reference/errors).

## Notes

- The list does not carry `secrets[]`, `verified`, `version`, or `nextStep`. To know what a webhook is missing, use [get a webhook](/api-reference/webhooks/get).
- This list is not paginated.
