curl --request GET \
--url https://api-sandbox.endl.io/api/v0/events \
--header 'API-KEY: <api-key>' \
--header 'Api-Version: <api-version>'import requests
url = "https://api-sandbox.endl.io/api/v0/events"
headers = {
"Api-Version": "<api-version>",
"API-KEY": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Api-Version': '<api-version>', 'API-KEY': '<api-key>'}
};
fetch('https://api-sandbox.endl.io/api/v0/events', 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-sandbox.endl.io/api/v0/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-KEY: <api-key>",
"Api-Version: <api-version>"
],
]);
$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-sandbox.endl.io/api/v0/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Api-Version", "<api-version>")
req.Header.Add("API-KEY", "<api-key>")
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-sandbox.endl.io/api/v0/events")
.header("Api-Version", "<api-version>")
.header("API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.endl.io/api/v0/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Api-Version"] = '<api-version>'
request["API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 200,
"message": "Success",
"status": "SUCCESS",
"data": {
"events": [
{
"eventId": "72949438-265e-5aa7-8e6c-56af893a58eb",
"eventType": "payout.completed",
"eventCategory": "payout",
"eventCreatedAt": "2026-09-02T14:03:11.482Z",
"version": "2026-09.1",
"data": {
"id": "txn_c7d8e9f0",
"customerId": "cus_9f2c1a44",
"destinationAmount": "1387.50",
"destinationCurrency": "USD",
"fxRate": "0.9250",
"sourceAmount": "1500.00",
"sourceCurrency": "AED",
"status": "COMPLETE",
"subStatus": "TRANSACTION_PROCESSED_SUCCESSFULLY"
}
}
],
"count": 1,
"nextCursor": "eyJ1IjoiRVZFTlRTIn0.a3f9c1e8d0"
},
"errors": []
}{
"code": 400,
"message": "date is not a valid ISO-8601 value",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRWHK_1402",
"message": "date is not a valid ISO-8601 value",
"field": "startDate"
}
]
}{
"code": 401,
"message": "Authentication failed",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRCORE_1004",
"message": "Authentication failed",
"field": null
}
]
}{
"code": 403,
"message": "Access denied",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRCORE_1005",
"message": "Access denied",
"field": null
}
]
}{
"code": 404,
"message": "no active PULL subscription",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRWHK_1201",
"message": "no active PULL subscription",
"field": null
}
]
}{
"code": 429,
"message": "Rate limit exceeded",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRCORE_1006",
"message": "Rate limit exceeded",
"field": null
}
]
}{
"code": 502,
"message": "Upstream webhook service error",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRWHK_1900",
"message": "Upstream webhook service error",
"field": null
}
]
}Read the PULL feed
Reads events from the PULL feed instead of receiving them at a URL. Requires a live PULL subscription and the events permission.
PULL responses are unsigned — you are reading from Endl over an authenticated connection, so there is no signature to verify.
curl --request GET \
--url https://api-sandbox.endl.io/api/v0/events \
--header 'API-KEY: <api-key>' \
--header 'Api-Version: <api-version>'import requests
url = "https://api-sandbox.endl.io/api/v0/events"
headers = {
"Api-Version": "<api-version>",
"API-KEY": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Api-Version': '<api-version>', 'API-KEY': '<api-key>'}
};
fetch('https://api-sandbox.endl.io/api/v0/events', 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-sandbox.endl.io/api/v0/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-KEY: <api-key>",
"Api-Version: <api-version>"
],
]);
$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-sandbox.endl.io/api/v0/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Api-Version", "<api-version>")
req.Header.Add("API-KEY", "<api-key>")
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-sandbox.endl.io/api/v0/events")
.header("Api-Version", "<api-version>")
.header("API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.endl.io/api/v0/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Api-Version"] = '<api-version>'
request["API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 200,
"message": "Success",
"status": "SUCCESS",
"data": {
"events": [
{
"eventId": "72949438-265e-5aa7-8e6c-56af893a58eb",
"eventType": "payout.completed",
"eventCategory": "payout",
"eventCreatedAt": "2026-09-02T14:03:11.482Z",
"version": "2026-09.1",
"data": {
"id": "txn_c7d8e9f0",
"customerId": "cus_9f2c1a44",
"destinationAmount": "1387.50",
"destinationCurrency": "USD",
"fxRate": "0.9250",
"sourceAmount": "1500.00",
"sourceCurrency": "AED",
"status": "COMPLETE",
"subStatus": "TRANSACTION_PROCESSED_SUCCESSFULLY"
}
}
],
"count": 1,
"nextCursor": "eyJ1IjoiRVZFTlRTIn0.a3f9c1e8d0"
},
"errors": []
}{
"code": 400,
"message": "date is not a valid ISO-8601 value",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRWHK_1402",
"message": "date is not a valid ISO-8601 value",
"field": "startDate"
}
]
}{
"code": 401,
"message": "Authentication failed",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRCORE_1004",
"message": "Authentication failed",
"field": null
}
]
}{
"code": 403,
"message": "Access denied",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRCORE_1005",
"message": "Access denied",
"field": null
}
]
}{
"code": 404,
"message": "no active PULL subscription",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRWHK_1201",
"message": "no active PULL subscription",
"field": null
}
]
}{
"code": 429,
"message": "Rate limit exceeded",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRCORE_1006",
"message": "Rate limit exceeded",
"field": null
}
]
}{
"code": 502,
"message": "Upstream webhook service error",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRWHK_1900",
"message": "Upstream webhook service error",
"field": null
}
]
}Authorizations
Your partner API key. Requires the webhooks permission, or events for the PULL feed.
Headers
The API version this request targets. Required on every /api/v0/* call. Format YYYY-MM.<release>; 2026-09.1 is the latest. The version that served the request is echoed back on the response. Missing, malformed or unsupported values are rejected with 400.
^\d{4}-\d{2}\.\d+$Query Parameters
Narrow the results to these event types — ?types=payout.completed&types=payout.failed. This can only narrow your subscription's eventFilter, never widen it: a type your PULL subscription does not carry stays invisible no matter what you ask for here.
Inclusive lower bound on eventCreatedAt. An ISO-8601 instant (2026-05-21T10:00:00Z) or a bare date (2026-05-21, read as 00:00:00Z). Omit for an open start.
Inclusive upper bound on eventCreatedAt. Same two formats; a bare date is read as 23:59:59.999999Z. Omit for an open end.
Pagination cursor.
Page size, maximum 100.
x <= 100