Authenticate with email and password.
Returns access and refresh tokens on success.
cURL
curl --request POST \ --url https://api.example.com/api/auth/login \ --header 'Content-Type: application/json' \ --data ' { "email": "jsmith@example.com", "password": "<string>" } '
{ "access_token": "<string>", "refresh_token": "<string>", "token_type": "bearer" }
Request schema for user login.
Successful Response
Response schema for authentication tokens.