No token needed: this is how you get one. See the REST API overview.
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_tokenstringrequired422 Validation Error
Type: object.
Show the response shape (6 fields)
detailobject[]5 properties
loc(string | integer)[]requiredmsgstringrequiredtypestringrequiredinputanyctxobject