Skip to main content
POST
/
users
/
login
Login user
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>"
    }
  ]
}

Body

application/json
email
string<email>
required
password
string
required

Response

Successful Response

access_token
string
required
token_type
string
required
user
UserInfo · object
required
organizations
OrganizationResponse · object[]
required