List webhooks
SDK platic.webhooks.list()
List the webhooks configured in the workspace.
Example
curl https://api.platic.ai/v1/webhooks \
-H "Authorization: Bearer $PLATIC_API_KEY" await platic.webhooks.list(); Query parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
workspace | string | Workspace ID. Required if your credential covers several workspaces (list workspaces); without it the answer is 400 | If the credential has several |
Response
data is the list of webhooks, from newest to oldest.
{
"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
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 |
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 |
workspaceId | string | Workspace it belongs to |
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 |
{
"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.
Notes
- The list does not carry
secrets[],verified,version, ornextStep. To know what a webhook is missing, use get a webhook. - This list is not paginated.