- Passive: the target is not contacted
Send the returned login_token as Authorization: Bearer on every other call. In v1.1 a login_token URL or form parameter is refused.
Request body (form) · 2ShowHide
username
Account username, usually an email address
password
Account password
Response fields · 2ShowHide
success
Whether the login worked
login_token
Token for the Authorization header
curl -X POST 'https://www.docketalarm.com/api/v1.1/login/' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d '{
"username": "user@example.com",
"password": "YOUR_PASSWORD"
}'{
"success": true,
"login_token": "YOUR_LOGIN_TOKEN"
}