List your events
curl --request GET \
--url https://gateway-sandbox.matambaintelligence.com/v1/events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway-sandbox.matambaintelligence.com/v1/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://gateway-sandbox.matambaintelligence.com/v1/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gateway-sandbox.matambaintelligence.com/v1/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"object": "list",
"has_more": false,
"next_cursor": "ZXZ0XzM",
"data": [
{
"object": "event",
"id": "msg_1d9e4b7a0c2f6e8b3a5d7c90",
"type": "order.pending",
"timestamp": "2026-09-25T06:12:34Z",
"version": 1,
"data": {
"object": "order",
"id": "ord_62jxryztxctob7uopekg",
"state": "pending",
"account": "1000000001",
"symbol": "DANGCEM",
"side": "buy",
"quantity": 10,
"type": "market",
"time_in_force": "day",
"price_kobo": null,
"filled_quantity": 0,
"exchange_order_id": "1790316754123",
"reason": null,
"reject_reason": null,
"created_at": "2026-09-25T06:12:34Z",
"updated_at": "2026-09-25T06:12:34Z",
"filled_at": null,
"average_fill_price_kobo_decimal": null,
"client_reference": null
}
},
{
"object": "event",
"id": "msg_5f0c2a9e7b1d4c3a8e6f0b12",
"type": "order.filled",
"timestamp": "2026-09-25T06:13:02Z",
"version": 2,
"data": {
"object": "order",
"id": "ord_62jxryztxctob7uopekg",
"state": "filled",
"account": "1000000001",
"symbol": "DANGCEM",
"side": "buy",
"quantity": 10,
"type": "market",
"time_in_force": "day",
"price_kobo": null,
"filled_quantity": 10,
"exchange_order_id": "1790316754123",
"reason": null,
"reject_reason": null,
"created_at": "2026-09-25T06:12:34Z",
"updated_at": "2026-09-25T06:13:02Z",
"filled_at": "2026-09-25T06:13:02Z",
"average_fill_price_kobo_decimal": "47500",
"client_reference": null
}
},
{
"object": "event",
"id": "msg_8c41e0d2a7b95f3e1c6d0a47",
"type": "allocation.booked",
"timestamp": "2026-09-25T06:20:11Z",
"version": 3,
"data": {
"object": "allocation",
"id": "alc_3k7qmz2w7xv4tn6pb6cd",
"account": "1000000001",
"amount_kobo": 5000000,
"state": "booked",
"reason": null,
"reject_reason": null,
"created_at": "2026-09-25T06:20:11Z",
"updated_at": "2026-09-25T06:20:11Z",
"client_reference": null
}
}
]
}List your events
Returns every change to your orders, applications and allocations, oldest first, whether or not your webhook endpoint accepted it. We keep events for 30 days. Store the last next_cursor and pass it as cursor next time. Requires the read scope.
GET
/
v1
/
events
List your events
curl --request GET \
--url https://gateway-sandbox.matambaintelligence.com/v1/events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway-sandbox.matambaintelligence.com/v1/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://gateway-sandbox.matambaintelligence.com/v1/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gateway-sandbox.matambaintelligence.com/v1/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"object": "list",
"has_more": false,
"next_cursor": "ZXZ0XzM",
"data": [
{
"object": "event",
"id": "msg_1d9e4b7a0c2f6e8b3a5d7c90",
"type": "order.pending",
"timestamp": "2026-09-25T06:12:34Z",
"version": 1,
"data": {
"object": "order",
"id": "ord_62jxryztxctob7uopekg",
"state": "pending",
"account": "1000000001",
"symbol": "DANGCEM",
"side": "buy",
"quantity": 10,
"type": "market",
"time_in_force": "day",
"price_kobo": null,
"filled_quantity": 0,
"exchange_order_id": "1790316754123",
"reason": null,
"reject_reason": null,
"created_at": "2026-09-25T06:12:34Z",
"updated_at": "2026-09-25T06:12:34Z",
"filled_at": null,
"average_fill_price_kobo_decimal": null,
"client_reference": null
}
},
{
"object": "event",
"id": "msg_5f0c2a9e7b1d4c3a8e6f0b12",
"type": "order.filled",
"timestamp": "2026-09-25T06:13:02Z",
"version": 2,
"data": {
"object": "order",
"id": "ord_62jxryztxctob7uopekg",
"state": "filled",
"account": "1000000001",
"symbol": "DANGCEM",
"side": "buy",
"quantity": 10,
"type": "market",
"time_in_force": "day",
"price_kobo": null,
"filled_quantity": 10,
"exchange_order_id": "1790316754123",
"reason": null,
"reject_reason": null,
"created_at": "2026-09-25T06:12:34Z",
"updated_at": "2026-09-25T06:13:02Z",
"filled_at": "2026-09-25T06:13:02Z",
"average_fill_price_kobo_decimal": "47500",
"client_reference": null
}
},
{
"object": "event",
"id": "msg_8c41e0d2a7b95f3e1c6d0a47",
"type": "allocation.booked",
"timestamp": "2026-09-25T06:20:11Z",
"version": 3,
"data": {
"object": "allocation",
"id": "alc_3k7qmz2w7xv4tn6pb6cd",
"account": "1000000001",
"amount_kobo": 5000000,
"state": "booked",
"reason": null,
"reject_reason": null,
"created_at": "2026-09-25T06:20:11Z",
"updated_at": "2026-09-25T06:20:11Z",
"client_reference": null
}
}
]
}Authorizations
Query Parameters
Response
A page of events.
A page of your events.