cURL
curl --request POST \ --url http://0.0.0.0:8000/users/login \ --header 'Content-Type: application/json' \ --data ' { "email": "jsmith@example.com", "password": "<string>" } '
{ "access_token": "<string>", "token_type": "<string>", "user": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "first_name": "<string>", "last_name": "<string>", "email": "jsmith@example.com" }, "organizations": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>" } ] }
Authenticate a user and return access token along with user information and organizations they belong to.
Successful Response
Show child attributes
Was this page helpful?