API Reference
Complete REST API reference for the ViewRoyal.ai civic intelligence platform
The ViewRoyal.ai API provides read-only access to council meeting data for the Town of View Royal, BC. All endpoints return JSON and require an API key unless noted otherwise.
Base URL: https://viewroyal.ai/api/v1/view-royal
Endpoint Groups
- System -- Health check and API status (no auth required)
- Meetings -- Council meetings with agenda items and attendance
- People -- Council members, mayors, and municipal staff
- Matters -- Ongoing issues tracked across meetings
- Motions -- Formal proposals with vote results
- Bylaws -- Municipal legislation
- Search -- Full-text search across all content types
Authentication
All data endpoints require an API key passed via the X-API-Key header. See the Authentication guide for details on obtaining and using API keys.