FacilityVibe API Documentation | Developer Reference
FacilityVibe is built on Supabase. Data reads and writes go through the PostgREST REST API, and AI automations run via Supabase Edge Functions. All requests require a valid JWT obtained via the auth token endpoint.
Key API Areas
- Work Orders — create, list, update status, assign vendors, and close work orders via REST
- Vendors — manage vendor profiles, compliance documents, and dispatch records
- Contacts & Companies — CRM data including contacts, companies, deals, and engagement history
- Invoices & Estimates — generate, retrieve, and update financial records tied to work orders
- Preventive Maintenance — query PM schedules, meter readings, and asset records
- AI Agents (NEURO) — trigger agent tasks, retrieve briefings, and monitor workforce activity
- Reports & Analytics — pull dashboard metrics, KPIs, and operational data programmatically
Authentication
Use Authorization: Bearer <jwt> for user-scoped requests. For server-to-server calls, use the service role key with appropriate scope. The anon key is accepted for public-readable data.
Base URL
All REST calls go to your project's Supabase URL at /rest/v1/. Edge Functions are available at /functions/v1/.