A
APOLLO COUNTER
SEARCH URL → pipeline_total
● CHECKING SESSION...
matching contacts in Apollo
How it works:
The server logs into Apollo using your configured credentials, caches the session, then fires the internal Apollo API call with your URL's filters applied.

If Apollo asks for a verification code, it's fetched automatically from your inbox via IMAP.

Session is cached for 60 minutes — subsequent requests don't re-login.

API usage:
POST /count · body: {"url": "..."} · returns: {"count": 2220}
Header: x-api-secret: your-secret
▸ API REFERENCE
# Count endpoint
POST /count
Content-Type: application/json
x-api-secret: your-secret

{ "url": "https://app.apollo.io/#/people?page=1&personTitles[]=ceo..." }

→ { "count": 2220 }

# Session status
GET /session-status
→ { "active": true, "expiresInMinutes": 47, "apolloEmail": "you@example.com" }

# Force re-login
POST /invalidate-session

# Health check
GET /health
→ { "ok": true, "uptime": 3600 }