auth

Rotate the refresh token; mint a fresh access + refresh pair

Validates the supplied refresh token, replaces the stored hash, and issues a new access JWT + new refresh token. The old refresh token stops working immediately (rotation pattern — limits damage on leak).

post/v1/refresh

Request

  • Base URL: https://api.travelminds.ai
  • URL: https://api.travelminds.ai/v1/refresh
  • Auth: none declared

Request body

refresh_tokenstring required

Response

Successful Response

access_tokenstring required
refresh_tokenstring required
token_typestring
expires_ininteger
accountobject required

Changes

No recorded changes to this operation across all 1 revision of this API.