Affinity
Overview
SLUG: AFFINITY
Description
Affinity helps private capital investors to find, manage, and close more deals
Authentication Details
API Key
Connecting to Affinity
Create an auth config
Use the dashboard to create an auth config for the Affinity toolkit. This allows you to connect multiple Affinity accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Integration”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Affinity toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
AFFINITY_GET_ALL_COMPANIES
Tool Name: Get all companies
Description
Action Parameters
Action Response
AFFINITY_GET_ALL_LIST_ENTRIES_ON_A_LIST
Tool Name: Get all list entries on a list
Description
Action Parameters
Action Response
AFFINITY_GET_ALL_LIST_ENTRIES_ON_A_SAVED_VIEW
Tool Name: Get all list entries on a saved view
Description
Action Parameters
Action Response
AFFINITY_GET_ALL_OPPORTUNITIES
Tool Name: Get all opportunities
Description
Action Parameters
Action Response
AFFINITY_GET_ALL_PERSONS
Tool Name: Get all persons
Description
Action Parameters
Action Response
AFFINITY_GET_A_COMPANY_S_LISTS
Tool Name: Get a company s lists
Description
Action Parameters
Action Response
AFFINITY_GET_A_COMPANY_S_LIST_ENTRIES
Tool Name: Get a company s list entries
Description
Action Parameters
Action Response
AFFINITY_GET_A_PERSON_S_LISTS
Tool Name: Get a person s lists
Description
Action Parameters
Action Response
AFFINITY_GET_A_PERSON_S_LIST_ENTRIES
Tool Name: Get a person s list entries
Description
Action Parameters
Action Response
AFFINITY_GET_A_SINGLE_COMPANY
Tool Name: Get a single company
Description
Action Parameters
Action Response
AFFINITY_GET_A_SINGLE_OPPORTUNITY
Tool Name: Get a single opportunity
Description
Action Parameters
Action Response
AFFINITY_GET_A_SINGLE_PERSON
Tool Name: Get a single person
Description
Action Parameters
Action Response
AFFINITY_GET_CURRENT_USER
Tool Name: Get current user
Description
Action Parameters
Action Response
AFFINITY_GET_METADATA_ON_ALL_LISTS
Tool Name: Get metadata on all lists
Description
Action Parameters
Action Response
AFFINITY_GET_METADATA_ON_A_SINGLE_LIST
Tool Name: Get metadata on a single list
Description
Action Parameters
Action Response
AFFINITY_GET_METADATA_ON_A_SINGLE_LIST_S_FIELDS
Tool Name: Get metadata on a single list s fields
Description
Action Parameters
Action Response
AFFINITY_GET_METADATA_ON_A_SINGLE_SAVED_VIEW
Tool Name: Get metadata on a single saved view
Description
Action Parameters
Action Response
AFFINITY_GET_METADATA_ON_COMPANY_FIELDS
Tool Name: Get metadata on company fields
Description
Action Parameters
Action Response
AFFINITY_GET_METADATA_ON_PERSON_FIELDS
Tool Name: Get metadata on person fields
Description
Action Parameters
Action Response
AFFINITY_GET_METADATA_ON_SAVED_VIEWS
Tool Name: Get metadata on saved views
Description
Action Parameters
Action Response