Build on the supported package contract
Use @absolutejs/engagement-apollo through its supported public entry points.
@absolutejs/engagement-apollov0.0.8betaCommerce & GrowthApollo.io EngagementSource adapter for @absolutejs/engagement — person/company enrichment and outreach activity (emails sent/opened/replied) from the Apollo API.
bun add @absolutejs/engagement-apolloApollo.io adapter for @absolutejs/engagement.
Method — Apollo endpoint — Notes
enrichPerson — POST /v1/people/match — Consumes an enrichment credit per match.
enrichCompany — GET /v1/organizations/enrich — Domain required.
listActivities — POST /v1/emailer_messages/search — Plan-gated — engagement API access varies by Apollo plan. Returns [] if unsupported; verify field mapping against a live account before relying on it.
All calls fail soft: a non-2xx response or an unexpected shape returns null / [] rather than throwing, so a consumer can treat the source as best-effort.
Outcomes
Use @absolutejs/engagement-apollo through its supported public entry points.
Hardening checklist
Follow in order
# @absolutejs/engagement-apollo
import { apolloSource } from "@absolutejs/engagement-apollo";
const apollo = apolloSource({ apiKey: process.env.APOLLO_KEY! });
// Enrichment
const person = await apollo.enrichPerson?.({ email: "jane@acme.com" });
const company = await apollo.enrichCompany?.({ domain: "acme.com" });
// Outreach activity (what's been sent / opened / replied) for a contact
const activity = await apollo.listActivities?.({
contactEmail: "jane@acme.com",
});Supported entry points declared by this package manifest.
Package entry point declared in package.json.
Scripts declared by this package manifest.
Search the declarations exported by the current package type files. Expand a symbol to inspect its source-backed signature.
type ApolloOptions = {
apiKey: string;
/** Override for testing or a proxy. Defaults to https://api.apollo.io. */
baseUrl?: string;
/** Inject a fetch (tests, instrumentation). Defaults to global fetch. */
fetchImpl?: typeof fetch;
};@absolutejs/engagement-apollo