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

Body

application/json
email
string<email>
required
Example:

"rep@acmesolar.com"

password
string<password>
required

Response

Login successful. A session cookie is set on the response.

user
object
organization
object