No token needed: this is how you get one, on the existing API at api.casafari.com (contract clients). See the existing API.
Request body
Content type application/json. Required. Type: object.
emailstringrequiredpasswordstringrequiredat least 1 character
Example 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