Skip to main content

Refresh JWT token with

post/v1/token/refresh

Refresh a JWT token by sending the previous valid JWT in the auth header

post/v1/token/refresh

https://managedservices-prod.rteappbuilder.com/

Request

HEADER

AuthorizationREQUIRED
TYPE: STRING

JWT token as auth header


X-Project-ID
TYPE: STRING

Project ID

Responses

success

token
TYPE: STRING

user
TYPE: OBJECT
user_id
TYPE: STRING

user_auid
TYPE: INTEGER

screen_auid
TYPE: INTEGER

roles
TYPE: ARRAY

SAMPLE RESPONSE
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdXRoZW50aWNhdGlvbl90eXBlIjowLCJhcHBfaWQiOiJhYjFmZTQ5NGFiNjA0ZmRmYWZiZjYzYzY0Yzg2ZDE5NCIsInVzZXJfaWQiOiJqb2UyMzQ2MiIsInByb2plY3RfaWQiOiJkdW1teXByb2plY3QiLCJzcGFjZV9pZCI6Im15X3NlY29uZF9zcGFjZSIsImV4cCI6MTY3OTAzNzA3N30.2vXGdYCZb_j_S-c6KCbSwYE3fzVvg24uKeXT_pIjfOA",
"user": {
"user_id": "c-de34a8cc-73f5-410c-a138-4c665c9c6d4a",
"user_auid": 228863768,
"screen_auid": 211707882,
"roles": [
"permission01",
"permission002"
]
}
}
Loading...