// 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}/firm', {
method: 'POST',
credentials: 'include',
})
const data = await res.json()curl -X POST 'https://app.trdrs.co/api/operator/venues/{venueId}/firm' \
-b "session=$TRDRS_SESSION"import requests
url = "https://app.trdrs.co/api/operator/venues/{venueId}/firm"
headers = {"cookie": "session="}
response = requests.post(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/operator/venues/{venueId}/firm",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/firm"
req, _ := http.NewRequest("POST", 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.post("https://app.trdrs.co/api/operator/venues/{venueId}/firm")
.header("cookie", "session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/operator/venues/{venueId}/firm")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'session='
response = http.request(request)
puts response.read_body{
"venue": {
"id": "00000000-0000-0000-0000-000000000001",
"organizationId": "00000000-0000-0000-0000-000000000001",
"legacyFirmId": "00000000-0000-0000-0000-000000000001",
"name": "Meridian Evaluation",
"description": null,
"environment": "sandbox",
"state": "draft",
"version": 2,
"createdAt": "2026-09-14T12:00:00.000Z"
}
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}Adopt your firm into this venue
Private preview, disabled unless VENUE_CONFIGURATION_ENABLED is enabled and the vault is configured. This branch has not enabled these routes in the public sandbox. Existing trdrs_sk partner/tenant keys do not authorize these routes. Verified owner session and trusted origin required. No body: the caller owns at most one firm, so the only thing an id could name is somebody else’s. Adopting moves nothing - accounts the firm already issued keep the conditions they were issued under, and this venue’s groups and stages govern what it issues from here. A firm another venue already holds returns 409 firm_already_linked; a venue that already holds a different firm returns 409 venue_already_linked; a caller with no firm returns 404 no_firm. Asking for the link that already exists returns the venue unchanged.
// 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}/firm', {
method: 'POST',
credentials: 'include',
})
const data = await res.json()curl -X POST 'https://app.trdrs.co/api/operator/venues/{venueId}/firm' \
-b "session=$TRDRS_SESSION"import requests
url = "https://app.trdrs.co/api/operator/venues/{venueId}/firm"
headers = {"cookie": "session="}
response = requests.post(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/operator/venues/{venueId}/firm",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/firm"
req, _ := http.NewRequest("POST", 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.post("https://app.trdrs.co/api/operator/venues/{venueId}/firm")
.header("cookie", "session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/operator/venues/{venueId}/firm")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'session='
response = http.request(request)
puts response.read_body{
"venue": {
"id": "00000000-0000-0000-0000-000000000001",
"organizationId": "00000000-0000-0000-0000-000000000001",
"legacyFirmId": "00000000-0000-0000-0000-000000000001",
"name": "Meridian Evaluation",
"description": null,
"environment": "sandbox",
"state": "draft",
"version": 2,
"createdAt": "2026-09-14T12:00:00.000Z"
}
}{
"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; a firm API key cannot reach a route secured this way.
Path Parameters
Response
Scoped result. Cache-Control: no-store.
Show child attributes
Show child attributes