# Exit WeWeb Portal API Documentation

Welcome to the Exit WeWeb Portal API documentation. This comprehensive guide covers all Supabase endpoints, database schemas, and integration details for the Exit building inspection management system.

# Overview

The Exit WeWeb Portal is a sophisticated building inspection management system with:

  • Role-based access control (RBAC) with Super Admins, Client Admins, and Client Managers
  • Building and inspection management with comprehensive tracking
  • Fire alert integration for automated incident notifications
  • RESTful API powered by Supabase with Row Level Security (RLS)

# Quick Start

# API URL

https://edknwrcztqwhskjpoxta.supabase.co

# Authentication

All API requests require authentication using the Supabase anonymous key in the header:

apikey: YOUR_ANON_KEY
Authorization: Bearer YOUR_ANON_KEY

# Key Features

  • Hierarchical Role System: Three-tier access control with database-enforced security
  • Real-time Fire Alerts: Integration with 1rwn.com for NY/NJ fire incidents
  • Comprehensive RLS: Row Level Security policies ensure data isolation
  • Performance Optimized: Extensive indexing for sub-100ms query performance
  • Edge Functions: Serverless functions for fire alerts and notifications

# Documentation Structure