Theme switcher

Retrieve One Time Token for Login

Header Parameters

Authorizationstring

Bearer token used to authenticate the request and authorize access to the resource.

Body Parameters

emailstring Required
validityTimestring

Validity time of the one time token in ISO 8601 duration format. Should be between 30 seconds and 1 hour. If not set, token is valid for 15 minutes.

Default value
PT15M
selectedTradingAccountLoginstring

Login of the trading account that will be set after logging into the platform.

Response

200
Object

Response Attributes

tokenstring
expirationstring
400
Object

Bad Request. Possible types: error://broker-api/bad-request, error://broker-api/one-time-token/validity-time-out-of-range

Response Attributes

pathstring

Request path

statusnumber

HTTP status code

typestring

Error type

titlestring

Error title

detailstring

Error detail

timestampstring

Error timestamp

additionalInfostring

Additional error information

401
Object

Unauthorized

Response Attributes

pathstring

Request path

statusnumber

HTTP status code

typestring

Error type

titlestring

Error title

detailstring

Error detail

timestampstring

Error timestamp

additionalInfostring

Additional error information

403
Object

Forbidden

Response Attributes

pathstring

Request path

statusnumber

HTTP status code

typestring

Error type

titlestring

Error title

detailstring

Error detail

timestampstring

Error timestamp

additionalInfostring

Additional error information

404
Object

Not Found. Possible types: error://broker-api/user-account/not-found, error://broker-api/one-time-token/trading-account/not-found

Response Attributes

pathstring

Request path

statusnumber

HTTP status code

typestring

Error type

titlestring

Error title

detailstring

Error detail

timestampstring

Error timestamp

additionalInfostring

Additional error information

429
Object

Too Many Requests

Response Attributes

typestring

Error type

titlestring

Error title

httpStatusnumber

HTTP status code

detailstring

Error detail

500
Object

Internal Server Error

Response Attributes

pathstring

Request path

statusnumber

HTTP status code

typestring

Error type

titlestring

Error title

detailstring

Error detail

timestampstring

Error timestamp

additionalInfostring

Additional error information

POST

/

Select
1

Response