Access Token Renewal

This method is responsible for renewing the access token generated using other login endpoints, which has a validity period of 30 days. After this period, it is necessary to generate a new Access Token. The only parameter required for renewal is the previous access token, as long as it has not expired. This service only renews tokens that are still valid.

Implementation

Endpoint to query:

https://api.verifik.co/v2/auth/session

Headers

You must provide a token that is still valid, meaning it can still be used to make queries.

{
		"Authorization": "<token>"
}

Successful response (Token successfully renewed)

{
    "accessToken": "eyJhbGcpXVCJ9.eyJjbGllbnR...JZCIYiUzNjEaIWxYShWeBaRs",
    "tokenType": "bearer"
}