Authenticates a partner user account with email and password, returning a token and user information. Use the returned token in the Authorization header for subsequent requests.
cURL
curl --request POST \ --url https://playground.answeringagent.com/api/auth/login \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "password": "<string>" } '
{ "token": "<string>", "user": { "id": 123, "name": "<string>", "email": "<string>", "current_team_id": 123, "profile_photo_url": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
User's email address
User's password
Successful authentication
Authentication token for subsequent API requests
Show child attributes