POST /v1/webhooks/event-logs
Request Body
Unique identifier of the user for whom the event logs are being requested.
The maximum number of event logs to retrieve.
The type of webhook event to filter for (e.g. payment_success
).
The start date (in YYYY-MM-DD format) for filtering event logs.
The end date (in YYYY-MM-DD format) for filtering event logs.
Response Body
Response code indicating the status of the request.
Description of the response.
An array of webhook event logs.
The URL to which the webhook was sent.
Unique identifier of the webhook event.
The type of the webhook event.
Unique identifier for the specific webhook request.
The response received from the webhook URL.
HTTP status code returned by the webhook URL.
Token to retrieve the next page of results, if available.
curl --location 'https://api.nomba.com/v1/webhooks/event-logs' \
--header 'Authorization: Bearer <token> \
--header 'Content-Type: application/json' \
--header 'accountId: <accountId>' \
--data '{
"accountId": "6703XXXd1-158a-42XX-8f0b-XXXXXXXXX",
"limit": 1,
"eventType": "payment_success",
"startDateTime": "2025-03-03",
"endDateTime": "2025-03-12"
}'
{
"code": "200",
"description": "Webhook events fetched successfully",
"data": {
"list": [
{
"webhookUrl": "https://hip-namsj.preme.ngrok-free.app/api/v1/nomba-hook",
"eventId": 257,
"eventType": "payment_success",
"hookRequestId": "ff99274c-58f7-4da4-b20f-XXXXXXXX",
"responsePayload": "This URL has no default content configured. <a href=\"https://webhook.site/#!/edit/7604-6372-41ee-8f89-d28b8d21944b\">Change response in Webhook.site</a>.",
"responseHttpStatus": 200
},
],
"pageToken": "MjEyOTY3MThzM2NyM3Q="
}
}