Skip to main content
POST
/
v1
/
sessions
/
refresh
curl -X POST https://api.caracracha.dev/v1/sessions/refresh \
  -H "Authorization: Bearer eyJhbGciOi..."
{
  "token": "eyJhbGciOi...",
  "expiresAt": "2026-05-24T18:38:28.573Z"
}
🚧 API em desenvolvimento — este endpoint é um rascunho.

Response

token
string
Novo JWT de sessão.
expiresAt
string
Nova data de expiração em ISO 8601.
curl -X POST https://api.caracracha.dev/v1/sessions/refresh \
  -H "Authorization: Bearer eyJhbGciOi..."
{
  "token": "eyJhbGciOi...",
  "expiresAt": "2026-05-24T18:38:28.573Z"
}