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>"
}
}This endpoint takes an email and password, and if a User exists with the given data it returns a session_jwt for usage with the API. This session_jwt should be added to the headers of further requests like so:
Authorization: Bearer <session_jwt>
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.
The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.
"en"
OK
AuthToken model for reads.
Show child attributes