TypeScript
// First-party cookie auth: this runs in a signed-in trdrs session, not under an API key.
const res = await fetch('https://app.trdrs.co/api/operator/venues/{venueId}/webhooks', {
credentials: 'include',
})
const data = await res.json()curl 'https://app.trdrs.co/api/operator/venues/{venueId}/webhooks' \
-b "session=$TRDRS_SESSION"import requests
url = "https://app.trdrs.co/api/operator/venues/{venueId}/webhooks"
headers = {"cookie": "session="}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/operator/venues/{venueId}/webhooks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "session=",
]);
$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://app.trdrs.co/api/operator/venues/{venueId}/webhooks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.trdrs.co/api/operator/venues/{venueId}/webhooks")
.header("cookie", "session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/operator/venues/{venueId}/webhooks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'session='
response = http.request(request)
puts response.read_body{
"webhooks": [
{
"id": "00000000-0000-0000-0000-000000000001",
"url": "https://backoffice.example.com/trdrs",
"events": [],
"enabled": true,
"secret": "trdrs_whsec_example",
"createdAt": "2026-09-14T12:00:00.000Z"
}
],
"eventTypes": [
"registration.linked",
"registration.revoked",
"account.reset",
"balance.recorded",
"risk.locked",
"risk.unlocked"
]
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}Venue services: usage, balance receipts, webhooks
List the venue's webhooks
Preview: served on the sandbox to every venue; production availability is arranged when a venue qualifies. Trading API keys and Partner keys do not authorize these routes. Requires a verified authorized operator session; writes require a trusted origin. venue:read. Runs the same operation the Legacy Partner API route runs, and refuses the same things; this is the venue twin of it, not a second implementation. Every endpoint the firm registered, through either door, newest first, with the event catalog a filter may name. The signing secret is included: it authenticates us to the endpoint and grants nothing here.
GET
/
api
/
operator
/
venues
/
{venueId}
/
webhooks
TypeScript
// First-party cookie auth: this runs in a signed-in trdrs session, not under an API key.
const res = await fetch('https://app.trdrs.co/api/operator/venues/{venueId}/webhooks', {
credentials: 'include',
})
const data = await res.json()curl 'https://app.trdrs.co/api/operator/venues/{venueId}/webhooks' \
-b "session=$TRDRS_SESSION"import requests
url = "https://app.trdrs.co/api/operator/venues/{venueId}/webhooks"
headers = {"cookie": "session="}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/operator/venues/{venueId}/webhooks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "session=",
]);
$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://app.trdrs.co/api/operator/venues/{venueId}/webhooks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.trdrs.co/api/operator/venues/{venueId}/webhooks")
.header("cookie", "session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/operator/venues/{venueId}/webhooks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'session='
response = http.request(request)
puts response.read_body{
"webhooks": [
{
"id": "00000000-0000-0000-0000-000000000001",
"url": "https://backoffice.example.com/trdrs",
"events": [],
"enabled": true,
"secret": "trdrs_whsec_example",
"createdAt": "2026-09-14T12:00:00.000Z"
}
],
"eventTypes": [
"registration.linked",
"registration.revoked",
"account.reset",
"balance.recorded",
"risk.locked",
"risk.unlocked"
]
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}Authorizations
The signed session cookie of a logged-in trdrs user. First-party/browser only; an API key cannot reach a route secured this way.