Skip to main content
POST
Exchange API Key for JWT

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
apiKey
string
required

API Key generated on TCInvest.

otp
string
required

OTP code from TCInvest app.

otpId
string

OTP ID returned from Step 1.

Response

200 - application/json

Successful response

token
string

JWT token for subsequent requests.