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
    }
  ]
}
FieldDescription
idUnique webhook identifier
nameDescriptive webhook name
urlDestination URL for the notifications
eventsList of subscribed events
activeWebhook state (true or false)
secretSecret used to validate authenticity
headersCustom headers configured
creationDateWebhook creation date
lastUpdateLast update date