Renew Session Token / Renovar Token de Sesion
POST
/external/renovar-token
const url = 'https://api-dev.zonaparqueo.com/external/renovar-token';const options = {method: 'POST', headers: {token: '<token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api-dev.zonaparqueo.com/external/renovar-token \ --header 'token: <token>'Renews the current session token, extending its validity without repeating
the login. The current token is sent in the token header.
Contract not verified by our integration: documented from the provider’s official collection.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Token renewed
Media typeapplication/json
object
login
string
id
External user identifier
integer
token
Session token
string
minutos
Token duration in minutes
integer
Example
{ "login": "ok"}Invalid request
Media typeapplication/json
object
estado
string
error
Error message
string
errores
Field-specific error details
object
Example
{ "estado": "fail"}