Skip to main content

Refresh token

Description

The refresh token API retrieves the refresh token (JWT) that is used for the application REST API authentication.

HTTP method GET

Endpoint

https://7ahayhpwz9.execute-api.us-west-2.amazonaws.com/prod/security/api/auth/refresh-token
info

Before proceeding, make sure you have your jwt token, if you don't, check the login documentation.

Request header Parameter:

NameRequiredTypeDescription
Authorizationstringbearer jwt token

Status code responses

CodeDescription
200Return a body response with token
400Bad request
403Unauthorized
500Internal Server Error

The full documentation error codes can be found here.

Response 200 status code

{
"token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlMTlkNjg5YS00ZDVhLTExZWQtYmRjMy0wMjQyYWMxMjAwMDIiLCJhdXRoIjoiUk9MRV9CMkNfVVNFUiIsImlhdCI6MTY4MzE0MzkxNywiZXhwIjoxNjgzMTUzMjE3fQ.rrFX2N8YQO5Rl8SbuLM_FTk9GLfXm_tWHkKnxU0KsS3-pO36aX7Or7ffZ_WJpqYWs1pdy9nY6yyMNT5AeoBT5A",
"expiration": 155
}

Response 400 status code

{
"traceId": "dc18be30f2b58644",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "Token RefreshToken is blank",
"message": "Token RefreshToken is blank",

}

Response 403 status code

{
"timestamp": "yyyy-mm-dd HH:MM:SS",
"status": 500,
"message": "[authentication.invalid.credentials]###[403]",
"error": "Internal Server Error",
}