API Reference
37 endpoints across 6 pillars. All routes require Bearer auth unless marked public.
Base URLhttps://digital-grid-production-cb20.up.railway.app/api/v1
AuthenticationPass your API key as
Authorization: Bearer <key> or X-API-Key: <key>GET
/buildingsList buildings with optional filtersGET
/buildings/:idGet building by ID with enrichment dataGET
/buildings/:id/floorsList floors and spaces for a buildingPOST
/buildingsCreate a new building recordGET
/spacesList occupiable spaces across portfolioGET
/energy/metersList utility meters for a buildingGET
/leasesList leases with filters and field selectionGET
/leases/:idFull lease record including clauses and datesPOST
/leasesCreate a new lease recordPATCH
/leases/:idUpdate lease fieldsGET
/financial/dashboardPortfolio-level financial KPIsGET
/invoicesInvoice and payment recordsGET
/service-requestsList service requests with status filtersPOST
/service-requestsCreate a new service requestGET
/bookingsResource booking recordsPOST
/bookingsCreate a resource bookingGET
/visitorsVisitor records and check-in historyGET
/work-ordersMaintenance work ordersGET
/tenantsList tenant companies for the portfolioGET
/tenants/:idTenant detail with contacts and leasesGET
/contactsContact records across all companiesGET
/organizationsUniversal organization registryGET
/eventsBuilding events listPOST
/eventsCreate a building eventGET
/notificationsNotification records and templatesPOST
/notifications/sendSend a push or email notificationGET
/metrics/tenant-healthTenant health scores (Enterprise only)GET
/metrics/building-healthBuilding health indexGET
/market/benchmarksRent and occupancy benchmarks (Ent.)GET
/healthService health check (no auth)publicGET
/auth/api-keysList API keys for authenticated userPOST
/auth/api-keysCreate a new API keyDELETE
/auth/api-keys/:idRevoke an API keyGET
/webhooksList registered webhook endpointsPOST
/webhooksRegister a new webhookGET
/developer/sdksList available SDKs (public)publicGET
/developer/sandboxSandbox environment info (public)public