Secure REST API for properties, units, lands, offers, transactions and more.
Issue a token via /api/login, then call any protected endpoint with
Authorization: Bearer <token>.
# Register
curl -X POST https://primorasystems.com/api/register \
-H "Content-Type: application/json" \
-d '{"first_name":"Ada","last_name":"Lovelace","email":"ada@example.com","password":"password123","password_confirmation":"password123"}'
# Login → returns {"token":"..."}
curl -X POST https://primorasystems.com/api/login \
-H "Content-Type: application/json" \
-d '{"email":"ada@example.com","password":"password123"}'
# Authorized request
curl -H "Authorization: Bearer <TOKEN>" https://primorasystems.com/api/properties