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.
Endpoint to query:
https://api.verifik.co/v2/auth/session
You must provide a token that is still valid, meaning it can still be used to make queries.
{
"Authorization": "<token>"
}
{
"accessToken": "eyJhbGcpXVCJ9.eyJjbGllbnR...JZCIYiUzNjEaIWxYShWeBaRs",
"tokenType": "bearer"
}