List Webhooks
Returns the list of webhooks configured across your workspaces.
GET https://api.platica.mx/v1/webhooks Response
{
"workspaces": [
{
"id": "ws_123",
"name": "Soporte Técnico",
"webhooks": [
{
"id": "webhook_abc123",
"name": "Webhook de Notificaciones",
"url": "https://mi-app.com/webhook",
"events": [
"conversation.created",
"conversation.status.updated",
"message.created",
"client.customFields.updated"
],
"active": true,
"secret": "mi_secreto_seguro",
"headers": {
"Authorization": "Bearer token123"
},
"creationDate": "2025-01-15T10:30:00Z",
"lastUpdate": "2025-01-15T10:30:00Z"
}
],
"webhooksCount": 1
}
]
} | Field | Description |
|---|---|
id | Unique webhook identifier |
name | Descriptive webhook name |
url | Destination URL for the notifications |
events | List of subscribed events |
active | Webhook state (true or false) |
secret | Secret used to validate authenticity |
headers | Custom headers configured |
creationDate | Webhook creation date |
lastUpdate | Last update date |