Ir al contenido
UnoPagoDocumentación
Referencia de la APIWebhook integrationWebhooks

Get a webhook event by id

GET
/v1/webhook-events/{eventId}

Autorización

bearerAuth
headerAutorizaciónBearer <token>

Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.

Parámetros de ruta

eventId*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid

Cuerpo de la respuesta

Successful response

application/json
  1. response
id*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid
accountId*string
webhookId*string
eventType*string
entityId*string|null
connectedAccountId*string|null
url*string
data*|||||

This contains the data that will be sent to the webhook endpoint

createdAt*string
updatedAt*string
Ejemplo de solicitud
curl -X GET 'https://api.unopago.com/v1/webhook-events/string'
Ejemplo de respuesta
{  "id": "string",  "accountId": "string",  "webhookId": "string",  "eventType": "string",  "entityId": "string",  "connectedAccountId": "string",  "url": "string",  "data": "string",  "createdAt": "string",  "updatedAt": "string"}