Get all events for a webhook endpoint
GET
This API is used to get all events for a webhook endpoint
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
webhookId*stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidpage?numberRango
1 <= valuePor defecto
1pageSize?numberRango
1 <= value <= 1000Por defecto
10startDate?stringendDate?stringSuccessful response
application/json- response
results*array<>total*numbertotalPages*numbernextCursor?|The cursor to get the next page of results
exchangeRates?curl -X GET 'https://api.unopago.com/v1/webhooks/string/events'Ejemplo de respuesta
{ "results": [ { "id": "string", "accountId": "string", "webhookId": "string", "eventType": "string", "entityId": "string", "connectedAccountId": "string", "url": "string", "data": "string", "createdAt": "string", "updatedAt": "string" } ], "total": 0, "totalPages": 0, "nextCursor": "string", "exchangeRates": { "property1": { "rate": 0, "rateDate": "string", "daysAhead": 0 }, "property2": { "rate": 0, "rateDate": "string", "daysAhead": 0 } }}
