POST
/
refresh
curl --request POST \
  --url https://lab.trustos.telefonicatech.com/id/v2/refresh \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "message": "Sucessful refresh",
  "data": {
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e"
  }
}

Over time, a JWT may expire, which means that the user will need to log in again to obtain a new JWT. However, the “/refresh” method provides a way for the user to refresh their existing login session without having to log in again.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Successful token refresh.

The response is of type object.