Skip to main content
POST
/
api
/
v1
/
auth
/
password-login
Password login
curl --request POST \
  --url https://api.callaro.ai/api/v1/auth/password-login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "password": "<string>"
}
'
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({email: '<string>', password: '<string>'})
};

fetch('https://api.callaro.ai/api/v1/auth/password-login', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.callaro.ai/api/v1/auth/password-login"

payload = {
"email": "<string>",
"password": "<string>"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "data": {},
  "message": "<string>",
  "meta": {},
  "request_id": "<string>"
}
{
"error": "<string>",
"error_code": "<string>",
"request_id": "<string>",
"details": {},
"errors": [
"<string>"
]
}
{
"error": "<string>",
"error_code": "<string>",
"request_id": "<string>",
"details": {},
"errors": [
"<string>"
]
}

Body

application/json
email
string
required
password
string
required

Response

Logged in

data
object | null
message
string | null
meta
object | null
request_id
string | null