Skip to content

Log in

POST
/login/
curl --request POST \
--url https://api.semantico.ai/api/v1/login/ \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com", "password": "example" }'

Exchange email and password for an access + refresh token pair.

Media typeapplication/json
object
email
required
string format: email
password
required
string format: password
Examplegenerated
{
"email": "hello@example.com",
"password": "example"
}

Token pair

Media typeapplication/json
object
access
string
refresh
string
Examplegenerated
{
"access": "example",
"refresh": "example"
}

Missing or invalid token.

Media typeapplication/json
object
detail
string
Examplegenerated
{
"detail": "example"
}