auth

Verify password and issue access + refresh tokens

Verifies the password (Argon2id), records the session in tmai_sessions, and returns a 1h access JWT plus a 30-day refresh token. Use the access token as Authorization: Bearer for session-authenticated routes.

post/v1/login

Request

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

Request body

emailstring email required
passwordstring 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.