Skip to main content
POST
/
v1
/
auth
/
login
Generate an auth token
curl --request POST \
  --url https://api.tread-horizon.com/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "pbailey@phauling.com",
  "password": "whatsupdoc"
}
'
{
  "data": {
    "session_jwt": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tread.ai/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Accept-Language
string
default:en

The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.

Example:

"en"

Body

application/json

AuthLogin model for creates.

email
string<email>
required
password
string<password>
required

Response

OK

data
AuthToken · object
required

AuthToken model for reads.