Get subscription
curl --request GET \
--url https://api-sandbox.endl.io/api/v0/webhooks/subscriptions/{id} \
--header 'API-KEY: <api-key>' \
--header 'Api-Version: <api-version>'import requests
url = "https://api-sandbox.endl.io/api/v0/webhooks/subscriptions/{id}"
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/webhooks/subscriptions/{id}', 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/webhooks/subscriptions/{id}",
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/webhooks/subscriptions/{id}"
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/webhooks/subscriptions/{id}")
.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/webhooks/subscriptions/{id}")
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": {
"id": "2b1e8f40-3c9a-4d21-9f7e-6a1c0b5d2e34",
"deliveryMode": "PUSH",
"target": "https://api.acme.com/webhooks/endl",
"eventFilter": [
"payout.completed",
"payout.failed"
],
"schemaVersion": "2026-09.1",
"status": "ACTIVE",
"secretHint": "whsec_…5RtBw",
"createdOn": "2026-09-02T12:34:56.789Z"
},
"errors": []
}{
"code": 400,
"message": "Parameter 'id' is not a valid UUID",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRCORE_1001",
"message": "Parameter 'id' is not a valid UUID",
"field": null
}
]
}{
"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": "subscription not found",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRWHK_1000",
"message": "subscription not found",
"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
}
]
}Get subscription
Fetches one subscription by its UUID.
GET
/
api
/
v0
/
webhooks
/
subscriptions
/
{id}
Get subscription
curl --request GET \
--url https://api-sandbox.endl.io/api/v0/webhooks/subscriptions/{id} \
--header 'API-KEY: <api-key>' \
--header 'Api-Version: <api-version>'import requests
url = "https://api-sandbox.endl.io/api/v0/webhooks/subscriptions/{id}"
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/webhooks/subscriptions/{id}', 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/webhooks/subscriptions/{id}",
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/webhooks/subscriptions/{id}"
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/webhooks/subscriptions/{id}")
.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/webhooks/subscriptions/{id}")
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": {
"id": "2b1e8f40-3c9a-4d21-9f7e-6a1c0b5d2e34",
"deliveryMode": "PUSH",
"target": "https://api.acme.com/webhooks/endl",
"eventFilter": [
"payout.completed",
"payout.failed"
],
"schemaVersion": "2026-09.1",
"status": "ACTIVE",
"secretHint": "whsec_…5RtBw",
"createdOn": "2026-09-02T12:34:56.789Z"
},
"errors": []
}{
"code": 400,
"message": "Parameter 'id' is not a valid UUID",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRCORE_1001",
"message": "Parameter 'id' is not a valid UUID",
"field": null
}
]
}{
"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": "subscription not found",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "ERRWHK_1000",
"message": "subscription not found",
"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.
Pattern:
^\d{4}-\d{2}\.\d+$Path Parameters
The subscription's UUID.