Legacy API (api.casafari.com). A route of the existing API for Casafari clients with a contract, not of the platform. On the platform: no sign-in call: a platform API key from the console signs every call.
No token needed: this is how you get one, on the Legacy API at api.casafari.com (contract clients). See how to get a token.
Request body
Content type application/json. Required. Type: object.
emailstringrequiredpasswordstringrequiredExample request
Placeholders only: replace the token and the values with your own.
curl -X POST "https://api.casafari.com/login" \
-H "Content-Type: application/json" \
-d '{
"email": "<email>",
"password": "<password>"
}'Responses
200 Successful Response
Type: object.
Show the response shape (2 fields)
access_tokenstringrequiredrefresh_tokenstringrequiredExample (token values are placeholders)
{
"access_token": "<access token (JWT)>",
"refresh_token": "<refresh token (JWT)>"
}422 Validation Error
Type: object.
Show the response shape (6 fields)
detailobject[]5 properties
loc(string | integer)[]requiredmsgstringrequiredtypestringrequiredinputanyctxobject