Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

The Venue key (trdrs_vk_sandbox_… or trdrs_vk_production_…), in preview. It belongs to one venue in one environment and carries the scopes it was created with. The venue's verified owner creates it while signed in. It works on the /api/venues/{venueId} routes and, with trader:read or trader:trade, on the account, market and trading routes, reading the venue's own traders' accounts and routing their orders, each request naming its trader in x-trdrs-trader. A trdrs_sk_… key can't be used in its place. It reaches its venue's routes and its venue's own traders, and the owner manages keys from a signed-in session. Keep it on your server.

Headers

Idempotency-Key
string
required

The publication's reference, 1 to 128 characters. The same key again returns that publication, with preview null and status 200; with another version it's refused as idempotency_conflict.

Required string length: 1 - 128

Path Parameters

venueId
string<uuid>
required
policyId
string
required

The policy's id, as you named it in its first version.

Body

application/json
basedOn
string
required

The version in force the sheet was previewed against. The apply publishes only while it is still in force.

version
string
required

The name of the version to publish. A name is used once.

label
string
required

What the sheet is, recorded as each applied figure's source, such as Bolsador swap file 2026-11-03.

Maximum string length: 120
rows
object[]
required

The same rows as the preview, 1 to 2,000.

confirm
string[]

The symbols of held rows you confirm, each a row of the sheet.

Response

Success. The response is sent with Cache-Control: no-store, so don't cache it.

publication
object
required
version
object
required
preview
object | null
required