← Tools Reference

Affinity

Affinity integration (Productivity, Data). Imported from open-connector.

API key20 toolshttps://api.affinity.co
GET
affinity_get_current_user
Get the authenticated Affinity user, tenant, and API grant summary.

/v2/auth/whoami

GET
affinity_list_persons
List Affinity persons with optional ID and field selectors.

/v2/persons

5 parameters
ParamTypeRequiredDescription
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
idsarrayoptionalThe Affinity person IDs to fetch directly.
fieldIdsarrayoptionalThe field IDs for which to return person field data.
fieldTypesarrayoptionalThe field types for which to return person field data.
GET
affinity_get_person
Get one Affinity person by ID with optional field selectors.

/v2/persons/{personId}

3 parameters
ParamTypeRequiredDescription
personIdintegerrequiredThe Affinity person ID.
fieldIdsarrayoptionalThe field IDs for which to return person field data.
fieldTypesarrayoptionalThe field types for which to return person field data.
GET
affinity_list_person_fields
List non-list-specific Affinity person field metadata.

/v2/persons/fields

2 parameters
ParamTypeRequiredDescription
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
GET
affinity_list_person_lists
List the Affinity lists that contain one person.

/v2/persons/{personId}/lists

3 parameters
ParamTypeRequiredDescription
personIdintegerrequiredThe Affinity person ID.
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
GET
affinity_list_person_list_entries
List all Affinity list entries for one person across lists.

/v2/persons/{personId}/list-entries

3 parameters
ParamTypeRequiredDescription
personIdintegerrequiredThe Affinity person ID.
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
GET
affinity_list_companies
List Affinity companies with optional ID and field selectors.

/v2/companies

5 parameters
ParamTypeRequiredDescription
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
idsarrayoptionalThe Affinity company IDs to fetch directly.
fieldIdsarrayoptionalThe field IDs for which to return company field data.
fieldTypesarrayoptionalThe field types for which to return company field data.
GET
affinity_get_company
Get one Affinity company by ID with optional field selectors.

/v2/companies/{companyId}

3 parameters
ParamTypeRequiredDescription
companyIdintegerrequiredThe Affinity company ID.
fieldIdsarrayoptionalThe field IDs for which to return company field data.
fieldTypesarrayoptionalThe field types for which to return company field data.
GET
affinity_list_company_fields
List non-list-specific Affinity company field metadata.

/v2/companies/fields

2 parameters
ParamTypeRequiredDescription
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
GET
affinity_list_company_lists
List the Affinity lists that contain one company.

/v2/companies/{companyId}/lists

3 parameters
ParamTypeRequiredDescription
companyIdintegerrequiredThe Affinity company ID.
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
GET
affinity_list_company_list_entries
List all Affinity list entries for one company across lists.

/v2/companies/{companyId}/list-entries

3 parameters
ParamTypeRequiredDescription
companyIdintegerrequiredThe Affinity company ID.
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
GET
affinity_list_opportunities
List Affinity opportunities with optional ID filtering.

/v2/opportunities

3 parameters
ParamTypeRequiredDescription
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
idsarrayoptionalThe Affinity opportunity IDs to fetch directly.
GET
affinity_get_opportunity
Get one Affinity opportunity by ID.

/v2/opportunities/{opportunityId}

1 parameter
ParamTypeRequiredDescription
opportunityIdintegerrequiredThe Affinity opportunity ID.
GET
affinity_list_lists
List the Affinity lists visible to the authenticated user.

/v2/lists

2 parameters
ParamTypeRequiredDescription
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
GET
affinity_get_list
Get one Affinity list by ID.

/v2/lists/{listId}

1 parameter
ParamTypeRequiredDescription
listIdintegerrequiredThe Affinity list ID.
GET
affinity_list_list_fields
List the field metadata for one Affinity list.

/v2/lists/{listId}/fields

3 parameters
ParamTypeRequiredDescription
listIdintegerrequiredThe Affinity list ID.
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
GET
affinity_list_list_entries
List the Affinity list entries for one list with optional field selectors.

/v2/lists/{listId}/list-entries

5 parameters
ParamTypeRequiredDescription
listIdintegerrequiredThe Affinity list ID.
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
fieldIdsarrayoptionalThe field IDs for which to return list entry field data.
fieldTypesarrayoptionalThe field types for which to return list entry field data.
GET
affinity_list_saved_views
List the saved views configured on one Affinity list.

/v2/lists/{listId}/saved-views

3 parameters
ParamTypeRequiredDescription
listIdintegerrequiredThe Affinity list ID.
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.
GET
affinity_get_saved_view
Get one Affinity saved view by list ID and saved view ID.

/v2/lists/{listId}/saved-views/{viewId}

2 parameters
ParamTypeRequiredDescription
listIdintegerrequiredThe Affinity list ID.
viewIdintegerrequiredThe Affinity saved view ID.
GET
affinity_list_saved_view_list_entries
List the Affinity list entries returned by one saved view.

/v2/lists/{listId}/saved-views/{viewId}/list-entries

4 parameters
ParamTypeRequiredDescription
listIdintegerrequiredThe Affinity list ID.
viewIdintegerrequiredThe Affinity saved view ID.
cursorstringoptionalThe pagination cursor returned by Affinity.
limitintegeroptionalThe number of items to include in the page.