Skip to main content
POST
TypeScript

Authorizations

session
string
cookie
required

The signed session cookie of a trdrs user who is signed in, used by trdrs's own apps in a browser. The trading app and the Connect dashboard each sign in on their own: the trading app with a trader's session and the Connect dashboard with a Connect account's session, and a route takes the session of the one that calls it. An API key cannot reach a route secured this way.

Body

application/json

The program to enroll in, and the size.

challengeId
string<uuid>
required

The program's id.

size
integer
required

The starting balance, in whole dollars.

Response

You are enrolled.

Your new enrollment.

enrollment
object
required

The enrollment.