Auth

Create Session Token

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

post/auth/tokens

Request

  • Base URL
    https://bo-api.drivewealth.io/back-office
  • URL
    https://bo-api.drivewealth.io/back-office/auth/tokens
  • Auth
    none required

Request body

clientIDstring required

sensitive The identifier of the client accessing the DriveWealth system.

clientSecretstring required

sensitive 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

sensitive 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"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.