Exchange Key

Exchange API key for access token

This API Endpoint will take an API key for the project and provide an access token to be used for accessing the application. The session token JWT token will be valid for the configured Session Token Timeout, and its expiration time will be provided in the expiration field of the response object.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer <Project ID:Access Key>

SecurityAuthProjectIdAccessKey
Request
Request Body schema: application/json
required
object (onetimev1.AccessKeyLoginOptions)
Responses
200

OK

post/v1/auth/accesskey/exchange
Request samples
Response samples
application/json
{
  • "keyId": "string",
  • "sessionJwt": "string"
}