Get Event Status
curl --request GET \
--url https://api.example.com/v1/webhooks/events/{eventId}/status \
--header 'Authorization: <authorization>'import requests
url = "https://api.example.com/v1/webhooks/events/{eventId}/status"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.example.com/v1/webhooks/events/{eventId}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/webhooks/events/{eventId}/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/webhooks/events/{eventId}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/webhooks/events/{eventId}/status")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/webhooks/events/{eventId}/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"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"
}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"eventId": "660e8400-e29b-41d4-a716-446655440001",
"status": "failed",
"eventType": "card.activated",
"createdAt": "2025-12-29T10:00:00.000Z",
"processedAt": null
}
Webhooks
Get Event Status
Retrieve the current processing status of a specific event
GET
/
v1
/
webhooks
/
events
/
{eventId}
/
status
Get Event Status
curl --request GET \
--url https://api.example.com/v1/webhooks/events/{eventId}/status \
--header 'Authorization: <authorization>'import requests
url = "https://api.example.com/v1/webhooks/events/{eventId}/status"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.example.com/v1/webhooks/events/{eventId}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/webhooks/events/{eventId}/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/webhooks/events/{eventId}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/webhooks/events/{eventId}/status")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/webhooks/events/{eventId}/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"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"
}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"eventId": "660e8400-e29b-41d4-a716-446655440001",
"status": "failed",
"eventType": "card.activated",
"createdAt": "2025-12-29T10:00:00.000Z",
"processedAt": null
}
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
Headers
string
required
Bearer token for authentication
Path Parameters
string (UUID)
required
Unique identifier of the event
Request Example
curl -X GET https://api.baanx.com/v1/webhooks/events/550e8400-e29b-41d4-a716-446655440000/status \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const eventId = '550e8400-e29b-41d4-a716-446655440000';
const response = await fetch(
`https://api.baanx.com/v1/webhooks/events/${eventId}/status`,
{
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
const data = await response.json();
console.log(data);
import requests
event_id = "550e8400-e29b-41d4-a716-446655440000"
url = f"https://api.baanx.com/v1/webhooks/events/{event_id}/status"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
response = requests.get(url, headers=headers)
print(response.json())
const getEventStatus = async (eventId: string) => {
const response = await fetch(
`https://api.baanx.com/v1/webhooks/events/${eventId}/status`,
{
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
return await response.json();
};
Response
200 Success
string (UUID)
Unique identifier for the event record
string (UUID)
Business event identifier
string
Current processing status:
pending, processing, completed, failed, or skippedstring
Type of event (e.g.,
kyc.status.changed)string (ISO 8601)
Timestamp when the event was created
string (ISO 8601) | null
Timestamp when the event was processed (
null if not yet processed){
"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"
}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"eventId": "660e8400-e29b-41d4-a716-446655440001",
"status": "failed",
"eventType": "card.activated",
"createdAt": "2025-12-29T10:00:00.000Z",
"processedAt": null
}
Error Responses
{
"message": "Not authenticated"
}
{
"message": "Not authorized"
}
{
"message": "Event not found"
}
{
"message": "Notification service is not configured for this environment"
}
Related Endpoints
GET /v1/webhooks/events- List all eventsGET /v1/webhooks/events/{eventId}/logs- View full delivery logs for this eventPOST /v1/webhooks/events/{eventId}/retry- Retry delivery if the event has failed
Was this page helpful?