v1

latestOpenAPI 3.0.22026-07-24113565544.0 KB
Auth

Create Session Token

Creates a session token for an implementer to utilize for subsequent API requests.

post/auth/tokens

Request body

clientIDstring required

The identifier of the client accessing the DriveWealth system.

clientSecretstring required

The secret of the client accessing the DriveWealth system.

Example request

{
  "clientID": "0oafccTendies67BTx113",
  "clientSecret": "8WfNzC4oTendiesTradingCompanyPuQNwg7BPByWqQOj"
}

Response

Creating Session Token was Successful.

token_type'Bearer'

The type of token that was generated.

expires_instring

The length of time in seconds for which the session token is valid.

access_tokenstring

The session token.

scopestring

The scope of permission set for the JSON Web Token (JWT).

Example response

{
  "token_type": "Bearer",
  "expires_in": "3600",
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
  "scope": "all_trading"
}
All 113 operations