API Documentation
Developer API
A small, read-only REST API for pulling your agency's data into your own tools. More endpoints (write access, webhooks, AI tool invocation) are on the roadmap — email support@agencypilothq.com if you need one sooner.
Authentication
Create a key from Settings → API Keys in your dashboard. Send it as a Bearer token on every request.
curl https://agencypilothq.com/api/v1/clients \
-H "Authorization: Bearer apk_live_xxxxxxxxxxxxxxxxxxxxxxxx"Keys are scoped to a single agency workspace and can be revoked at any time. Treat them like a password — anyone with the key can read your agency's data.
Base URL
https://agencypilothq.com/api/v1Endpoints
Errors
Requests with a missing, invalid, or revoked key return 401 with { "error": "Invalid or missing API key" }.