مرجع API

POST/auth/login

Login

Authenticate with email and password

بدنه درخواست

فیلدنوعالزامیتوضیح
emailstringالزامیUser email
passwordstringالزامیUser password

پاسخ

برمی‌گرداند: AuthResponse

مثال

درخواست

{"email": "user@example.com", "password": "pass123"}

پاسخ

{"accessToken": "jwt...", "user": {"id": "uuid", "email": "user@example.com"}}