Skip to main content
POST
/
api
/
auth
/
login
Log in
curl --request POST \
  --url https://app.demandiq.com/api/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "sales@acmeroofing.com",
  "password": "s3cureP@ss"
}
'
{
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "jsmith@example.com",
    "name": "<string>"
  },
  "organization": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>"
  }
}

Body

application/json
email
string<email>
required
Example:

"sales@acmeroofing.com"

password
string
required
Example:

"s3cureP@ss"

Response

Login successful

user
object
organization
object