Create client access token

Creates a new JWT the client can use as an access token.

POST
https://identity.krystal.io/api/v1/client/access_tokens

If successful, this endpoint will return a 200 OK status.

Scopes

One of the following scopes are required to use this endpoint.

Arguments

The following arguments are supported for this endpoint.

Name Type Default Value

properties Required

AccessTokenCreateProperties None

Potential Errors

The following errors may occur during this request.

Details HTTP status

invalid_scopes

The scopes requested were invalid

422 Unprocessable Entity

Returned Object

When the request is successful, you can expect an object matching the specification below to be returned.

{
    access_token: String
}