AimableDocs
DocsAPI Reference
POST/v1/refresh

Refresh

Issue a new access token if the provided token is valid. Strict rotation: the old session is invalidated and a fresh one is issued. The new bearer token is returned in the body AND mirrored into the auth cookie so browser sessions (which rely on the cookie as primary auth) survive a refresh without falling back to bearer-only.

Headers

NameTypeRequiredDescription
X-API-KeystringOptional

Request

curl -X POST '/api-proxy/v1/refresh' \
  -H 'Authorization: Bearer <YOUR_TOKEN>'

Response

200

No response body documented

Error Responses