Skip to main content
POST
/
v1
/
consumer
/
login
Consumer Login
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>"
  }
}

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.

Authenticate a consumer and receive a session cookie. The session cookie is HttpOnly and Secure. Consumers must verify their email before logging in.

Parameters

email
string
required
Consumer’s email address
password
string
required
Account password

Responses

Body

application/json
email
string<email>
required
password
string<password>
required

Response

200 - application/json

Login successful

session_token
string
user
object