Get Event Status
GET https://api.baanx.com/v1/webhooks/events/{eventId}/status
Retrieves the current processing status of a specific event.
Overview
Returns a summary of the event’s current status — whether it is pending, processing, completed, or failed. Use this as a lightweight check when you don’t need the full delivery log detail.
Authentication
This endpoint requires authentication via Bearer token:
Authorization: Bearer YOUR_ACCESS_TOKEN
Request
Bearer token for authentication
Path Parameters
Unique identifier of the event
Request Example
cURL
JavaScript
Python
TypeScript
curl -X GET https://api.baanx.com/v1/webhooks/events/550e8400-e29b-41d4-a716-446655440000/status \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
200 Success
Unique identifier for the event record
Business event identifier
Current processing status: pending, processing, completed, failed, or skipped
Type of event (e.g., kyc.status.changed)
Timestamp when the event was created
Timestamp when the event was processed (null if not yet processed)
200 - Completed
200 - Failed
{
"id" : "550e8400-e29b-41d4-a716-446655440000" ,
"eventId" : "660e8400-e29b-41d4-a716-446655440001" ,
"status" : "completed" ,
"eventType" : "kyc.status.changed" ,
"createdAt" : "2025-12-29T10:00:00.000Z" ,
"processedAt" : "2025-12-29T10:00:05.000Z"
}
Error Responses
401 - Unauthorized
403 - Forbidden
404 - Not Found
503 - Service Unavailable
{
"message" : "Not authenticated"
}
GET /v1/webhooks/events - List all events
GET /v1/webhooks/events/{eventId}/logs - View full delivery logs for this event
POST /v1/webhooks/events/{eventId}/retry - Retry delivery if the event has failed