Token
Exchange authorization code for access token
Validates the authorization code and creates a JWT access token for the holder
post
Body
Request containing the authorization code
authorization_codestringRequiredExample:
Authorization code received from the authorization request The code must be a non-empty string in format of [A-Za-z0-9-_] with length between 32 and 128 characters
AF3DiOZy_x1jF9mKJqUwN5JDnpxk0GlwJMdfQOiAbcResponses
201
Success
application/json
Response DTO for access token operations
access_tokenstringRequiredExample:
JWT access token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkaWQ6ZW1wZToweDEyMzQ1Njc4OTBhYmNkZWYiLCJpYXQiOjE2NjQ4OTc3NDIsImV4cCI6MTY2NDkwMTM0MiwiaXNzIjoiaHR0cHM6Ly9pc3N1ZXItc2VydmljZS5leGFtcGxlLmNvbSIsImF1ZCI6Imh0dHBzOi8vaXNzdWVyLXNlcnZpY2UuZXhhbXBsZS5jb20ifQ.Kt-SbnKU9S7BbCvHVsgCU3KnUYvekrFQCRRjYSlbGC0token_typestringRequiredExample:
Token type (always "Bearer")
Bearerexpires_innumber · doubleRequiredExample:
Token expiration time in seconds
3600400
Bad Request - Invalid or missing authorization code
application/json
404
Not Found - Authorization request not found
application/json
500
Server Error
application/json
post
/api/v1/tokensLast updated