Relationship-intelligence CRM API for reading and updating lists, organizations, persons, and opportunities that a team tracks in Affinity.
Relationship-intelligence CRM API for reading and updating lists, organizations, persons, and opportunities that a team tracks in Affinity. Use when an agent needs to pull deal pipelines, account data, field values, or interaction history from a team’s Affinity workspace. Unlike enrichment APIs (Apollo, People Data Labs), Affinity returns data the customer has already curated — their own pipeline state, not public records.12 example endpoints available through Lava’s AI Gateway. See the Affinity API docs for full documentation.
This provider requires your own credentials — connect your API key or OAuth account before use.
This is a catch-all provider — any valid URL under https://api.affinity.co is supported. Any Affinity v1 API endpoint. Construct URL as https://api.affinity.co/{path}. Common roots: lists, list-entries, persons, organizations, opportunities, fields, field-values, field-value-changes, notes, interactions. See https://api-docs.affinity.co/ for full reference. The endpoints below are curated examples.
Create a note attached to persons, organizations, or opportunities
POSThttps://api.affinity.co/notes — Free
SDK
cURL
const data = await lava.gateway('https://api.affinity.co/notes', { body: {"person_ids": [ 12345],"content": "Kicked off intro call — follow up next week."},});
curl -X POST "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.affinity.co%2Fnotes" \ -H "Authorization: Bearer $LAVA_SECRET_KEY" \ -H "Content-Type: application/json" \ -d '{"person_ids":[12345],"content":"Kicked off intro call — follow up next week."}'