AgencyPilotHQ | REST API, Signed Webhooks & Stripe in Next.js by Raja SheryarAgencyPilotHQ | REST API, Signed Webhooks & Stripe in Next.js by Raja Sheryar
AgencyPilotHQ | REST API, Signed Webhooks & Stripe in Next.js
AgencyPilotHQ is my own SaaS for web agencies: AI tools, CRM, projects, contracts and invoices in one workspace. This case study covers the integration layer: a public REST API, signed webhooks and Stripe billing.
Public REST API (v1)
Read-only endpoints for clients and projects, with an OpenAPI 3.0 spec
API keys scoped to one agency workspace, revocable at any time
60 requests per minute per key, with X-RateLimit headers and 429 + Retry-After