cURL
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>" } }
Authenticate with email and password. Returns user and organization info and sets a session cookie.
"sales@acmeroofing.com"
"s3cureP@ss"
Login successful
Show child attributes