Skip to content

# Representatives

The platform uses the Represent API to look up elected representatives by postal code across all government levels.

## How It Works

- Postal code lookup — enter a Canadian postal code to retrieve federal, provincial, municipal, and school board representatives
- Redis cache — lookup results are cached to reduce API calls and improve response times
- Cache management — view cache status and clear entries from `/app/representatives`
- Government levels — campaigns can target specific levels (federal, provincial, municipal, school board)

## Admin Routes

- `/app/representatives` — representative cache management and lookup testing