v1

latestSwagger 2.02026-07-173540.5 KB

GenerateToken retrieves a token

Retrieves an access token for the authorized user. If no access token is available, complete the "Authorization Code Flow" beginning w/ GenerateAuthorizationUrl

get/token:generate

Query parameters

applicationNamestring required

application_name is an OAuth2 application client.

Headers

VND.com.blackrock.Request-IDstring UUID required

A unique identifier for this request.

VND.com.blackrock.Origin-Timestampstring date-time required

Timestamp assigned to this request at origin, in "HTTP-date" format as defined by RFC 7231.

Response

A successful response.

applicationNamestring

application_name is the full name of the authorizing application

accessTokenstring

An access token is a string used when making authenticated requests to an API. It represents that the user has authorized a third-party application access to their account

refreshTokenstring

Refresh tokens are used to request a new access token from an authorization server - in this case a new access token will be retrieved from Okta on behalf of the user

tokenTypestring

token_type is the type of token.

The Type method returns either this or "Bearer", the default.