Developer Portal

Create SessionPOST

Authenticate a client profile and issue an end-user access token for client-facing trading services.

View as Markdown
POST
/trade/login

Authorization

Authorization<token>

Bearer access token issued by the admin login flow.

In: header

Request Body

application/jsonRequired

End-user (client) credentials for issuing a trading access token.

emailstring
passwordstring
curl -X POST "https://example.com/trade/login" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "string",
    "password": "string"
  }'

A successful response.

{
  "accessToken": "string",
  "expiresAt": "string",
  "accounts": [
    {
      "id": "string",
      "gId": "string"
    }
  ]
}