curl --request POST \
--url https://api.truthlocks.com/v1/consumer/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "user@example.com",
"password": "password123"
}
'{
"session_token": "<string>",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"name": "<string>",
"realm": "<string>"
}
}Authenticates a consumer and returns a session token. No API key required.
curl --request POST \
--url https://api.truthlocks.com/v1/consumer/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "user@example.com",
"password": "password123"
}
'{
"session_token": "<string>",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"name": "<string>",
"realm": "<string>"
}
}Authenticate a consumer and receive a session cookie. The session cookie is HttpOnly and Secure. Consumers must verify their email before logging in.Documentation Index
Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt
Use this file to discover all available pages before exploring further.