Connector guide — Apollo.io (apollo)

Fixed sections (Phase D1 format; tests/governance/test_onboarding_connector_guides.py pins them). Facts marked [Validated] are measured in code or tests; [Observed] facts carry a date; [Gap] names an open item. No credential, token, account identifier or tenant value appears in this file. CRE lane only. No connector is unconditional; consent is the one universal requirement.

What it is

Organization contact enrichment for CRE prospecting (Cell 38 cre-prospecting-core SENSE→REASON, Cell 39 cre-outreach-engine). It is a third-party PII enrichment vendor, so the credential cannot exist without a recorded DPA: dpa_reference and dpa_recorded_at are required at save, and the gateway re-checks them fail-closed on every lookup (owner decision O8; P2 governance, OCP-20260816-001 lane). Catalog category enrichment, wave 2.

Status (measured)

[Validated] available: true in CONNECTOR_CATALOG (services/service-marketing-connectors/connector_credentials.py, measured 2026-10-12). Required fields api_key, dpa_reference, dpa_recorded_at; optional retention_days. Test connection is a key-validity check only (GET /v1/auth/health with the X-Api-Key header) — never a person lookup. [Validated] lookups run only through enrichment_connectors.build_enrichment_router (mounted at /api/v1/enrichment: GET /status, POST /{provider}:lookup), with the gates in order: provider known (404) → credentials exist (503 not_configured) → DPA recorded (403 dpa_not_recorded) → purpose stated (422) → organization-keyed input only (person identifiers 422 person_identifier_rejected). The gateway persists nothing; the result is stored only in Cell 38's operational tier. Collectable today (checklist P3-8); not a measurement rail, so readiness never gaps on it.

Who owns the account

The tenant (the brokerage or prospecting team). The Apollo workspace, its API key and its data-processing agreement with Apollo stay in the tenant's name; the tenant can revoke the key at any time (law 3). The DPA the card records is the tenant's own agreement, referenced by document id or URL — never a platform document.

Prerequisites

Visibility invite (click path)

None. There is no seat to request for discovery: the connection is the tenant's own API key plus its recorded DPA, entered on the card. Playbook §5 lists no Apollo row.

Connecting in the onboarding UI

  1. Open /onboarding → Connectors → the Apollo.io card (CRE lane tenants only; optional for everyone else).
  2. Enter api_key from the tenant's Apollo workspace. Paste it on the card — nowhere else (law 2).
  3. Enter dpa_reference (document id or URL of the signed DPA) and dpa_recorded_at (the date it was recorded, YYYY-MM-DD). The save is refused without both.
  4. Optionally enter retention_days.
  5. Click Test connection. Move on only when it passes. GET /api/v1/enrichment/status then reports ready; it reports dpa_missing if a legacy entry lacks the DPA fields and not_configured when nothing is stored.

Fields

key where the tenant finds it format secret? required?
api_key Apollo → Settings → Integrations → API Keys → Create new key (Apollo "Create an API Key", fetched 2026-10-12) opaque; never echoed, masked hint only yes yes
dpa_reference the tenant's signed DPA with Apollo document id or URL (catalog placeholder DPA-2026-…) no yes
dpa_recorded_at the date the DPA was recorded YYYY-MM-DD (catalog placeholder 2026-08-17) no yes
retention_days the tenant's retention policy for enrichment results integer days (catalog placeholder 90) no no

Test connection

Failure Plain-English fix
422 missing_required_fields naming dpa_reference / dpa_recorded_at The DPA fields are part of the credential by design (owner decision O8); record the DPA and re-save with both.
422 unknown_fields Only the four catalog fields are accepted; remove anything else.
"Apollo rejected the API key" (401/403) The key is wrong or was revoked in the Apollo workspace. Create a new key and re-save.
"Apollo answered HTTP " Apollo's auth/health did not answer 200; retry once, then check the workspace's plan and API access.
Lookup: 403 dpa_not_recorded A stored entry lacks the DPA fields (legacy or hand-made secret). Re-save the card with dpa_reference and dpa_recorded_at; no person data flows until then.
Lookup: 503 not_configured No Apollo credentials are stored for this tenant; complete the card.
Lookup: 422 person_identifier_rejected Lookups are organization-keyed; email, phone, name or person id never enter the vendor query. Query by organization_domain or organization_name.
Lookup: 422 missing_organization_key Provide organization_domain or organization_name.
Lookup: 502 vendor_rejected_credentials / vendor_error Apollo refused the stored key or failed; rotate the key on the card, or retry later.
404 not_configured (stored-credential test) Nothing is saved for this tenant yet; connect first.
429 test_rate_limited More than 20 tests for this provider in 60 s from this tenant; wait the retry_after_seconds it names.
503 fail-closed (vault error) The credential vault could not be read; an operator checks vault health. Nothing for the tenant to re-enter.

What it feeds

The CRE prospecting lane only: Cell 38 (cre-prospecting-core) calls the gateway's governed enrichment route; the gateway calls Apollo and returns the organization-scoped result with dpa_reference and retention_days echoed, persisting nothing — the caller stores it only in Cell 38's operational tier (two-tier identity, integration plan §4.4). No direct third-party PII call from cell code. Outreach (Cell 39) consumes Cell 38's output under its own opt-out and suppression registries. Saving the key arms nothing and dispatches no outreach (law 8).

Person-level enrichment fields flow only under the recorded DPA and a consent-registry grant: the lookup is refused 403 dpa_not_recorded without the DPA, and person identifiers never enter the vendor query (the entity spine is organization-scoped — rule 03: person-level data is never sent to third-party enrichment outside organizations, brands, products and campaigns). Any person-level result that reaches canonical persistence passes the consent gate first (fail-closed, per-subject basis required). The tenant's consent declaration (P2-5) is required of every tenant and never substitutes for a per-subject basis. Consent is the one universal requirement; no connector is unconditional.

Revoke / offboard

Tenant side: Apollo → Settings → Integrations → API Keys → delete the key. Platform side: the operator removes the tenant's apollo vault entry through the governed path, or offboards the whole tenant with POST /api/v1/tenant/offboard/credentials; /api/v1/enrichment/status then reports not_configured. Enrichment results already held in Cell 38's operational tier follow the recorded retention_days and the canonical subject-erasure surface, not the vault.

Known gaps

Last verified

Catalog and readiness code measured 2026-10-12 on main 47309238. Vendor documentation: Apollo API reference — "Authentication" (docs.apollo.io/reference/authentication) and "Create an API Key" (docs.apollo.io/docs/create-api-key) — both fetched 2026-10-12. Lane records: docs/tenants/TENANT_ONBOARDING_CHECKLIST.md P3-8; services/service-marketing-connectors/enrichment_connectors.py module docstring.

← All docsView source on GitHub →