Skip to main content

Get a token with an API key

POST 

/auth/v1/oauth2/token

Exchange an API key for tokens (OAuth2 client_credentials). Send HTTP Basic auth with <client_id>:<client_secret> and the query grant_type=client_credentials&remember_me=true. Create the key with POST /api/v1/accounts/me/client-secret. The token carries the API_Trader scope. Reuse and refresh tokens: each call opens a session, and an account has at most 5.

Login using account client_id and client secret passed using basic auth method

Request​

Responses​

OK