# Adding a New API Endpoint > **Status: stub — Phase 1 (structure).** Content to be written in Phase 2. > > **Scope:** Step-by-step recipe for adding an HTTP/RPC endpoint to the relay. ## Outline - Routing and handler placement - Auth requirements - Persistence and errors - Tests ## Source material - `CONTRIBUTING.md` §How to Add a New API Endpoint - `crates/buzz-relay/src/api/`