Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get a company s list entries
AFFINITY_GET_A_COMPANY_S_LIST_ENTRIESSummarize company data across all lists, including list-specific fields and metadata like creation date and author. Access requires "Export data from Lists" permission.
Get a company s lists
AFFINITY_GET_A_COMPANY_S_LISTSReturns metadata for all the Lists on which the given Company appears.
Get a dropdown option for a List Field
AFFINITY_GET_A_DROPDOWN_OPTION_FOR_A_LIST_FIELDAffinity API v2 action. Get a dropdown option for a List Field. Get a single dropdown option for a List Field.
Get all companies
AFFINITY_GET_ALL_COMPANIESRequest paginated company information, optionally filtering by company IDs and specifying field IDs or types. Export permission is needed.
Get All Company Duplicate Suggestions
AFFINITY_GET_ALL_COMPANY_DUPLICATE_SUGGESTIONSBeta Affinity API v2 action. Get All Company Duplicate Suggestions. Retrieves company duplicate suggestions detected for your organization. Each suggestion contains a recommended `primaryProfile` and a `duplicateProfiles` array containing the single company profile Affinity has identified as a likely duplicate, along with the `matchCriteria` that produced the suggestion. The full company payload is returned for both sides so that an automated agent can evaluate the suggestion without additional lookups. Only actionable suggestions are returned: pairs that have no feedback recorded yet (not merged, not marked as not-duplicates, and not skipped) and whose underlying company profiles are still active and eligible to be merged. Suggestions that have already been acted on are omitted. You can narrow the results using the `filter` query parameter, which accepts the Affinity Filtering Language.
Get All Company Merges
AFFINITY_GET_ALL_COMPANY_MERGESAffinity API v2 action. Get All Company Merges. Retrieve paginated company merges for the organization. Returns all company merges initiated by users in your organization, including their current status, the companies involved, and merge details. You can filter company merges using the `filter` query parameter. The filter parameter is a string that you can specify conditions based on the following properties: | **Property Name** | **Type** | **Allowed Operators** | **Examples** | |---|---|---|---| | `status` | `enum` | `=` | `status=in-progress`, `status=success`, `status=failed` | | `taskId` | `text` | `=` | `taskId=789e0123-e45b-67c8-d901-234567890123` | Company merges are returned in reverse chronological order (most recent first). Requires the "Manage duplicates" [permission](/pages/external-api-v2/permissions) and organization admin role.
Get All Company Merge Tasks
AFFINITY_GET_ALL_COMPANY_MERGE_TASKSAffinity API v2 action. Get All Company Merge Tasks. Retrieve paginated company merge tasks for the organization. Returns all merge tasks initiated by users in your organization, including their current status, the companies involved, and task details. You can filter tasks using the `filter` query parameter. The filter parameter is a string that you can specify conditions based on the following properties: | **Property Name** | **Type** | **Allowed Operators** | **Examples** | |---|---|---|---| | `status` | `enum` | `=` | `status=in-progress`, `status=success`, `status=failed` | Tasks are returned in reverse chronological order (most recent first). Requires the "Manage duplicates" [permission](/pages/external-api-v2/permissions) and organization admin role.
Get all field value changes
AFFINITY_GET_ALL_FIELD_VALUE_CHANGESAffinity API v2 action. Get all field value changes. Retrieve field value changes across all entities and fields in your Affinity workspace. For an overview of field value changes, including which fields support change tracking and how the action types behave, see [Field Value Changes](/pages/data-model/working-with-field-data#field-value-changes). This endpoint is built for delta-sync. Within a single sync, follow `pagination.nextUrl` to page through results until it becomes `null`, which means you have reached the most recent change. To run the next incremental sync, record the `changedAt` of the last change you processed and, on your next sync, filter for changes newer than that timestamp (for example, `filter=changedAt>2024-06-01T12:00:00Z`). Do not persist `nextUrl` between syncs, since it is `null` once you are caught up. Changes are returned in ascending order of `changedAt`, then by internal change ID. Only fields with change tracking enabled are included.
Get all Files
AFFINITY_GET_ALL_FILESBeta Affinity API v2 action. Get all Files. | This endpoint is currently in BETA | |--| Returns a page of Files visible to the caller. You can filter files using the `filter` query parameter. The filter parameter is a string that you can specify conditions based on the following properties. | **Property Name** | **Type** | **Allowed Operators** | **Examples** | |---|---|---|---| | `createdAt` | `datetime` | `>`, `<`, `>=`, `<=` | `createdAt>=2026-01-01T00:00:00Z` | | `creator.id` | `int64` | `=` | `creator.id=1` | | `person.id` | `int64` | `=` | `person.id=1` | | `company.id` | `int64` | `=` | `company.id=1` | | `opportunity.id` | `int64` | `=` | `opportunity.id=1` | Results are ordered by `createdAt` descending (most recently uploaded first).
Get all list entries on a list
AFFINITY_GET_ALL_LIST_ENTRIES_ON_A_LISTRetrieve list entries and entity metadata for companies, persons, or opportunities on a list. The request accepts field IDs or types and requires "Export data from Lists" permission.
Get all list entries on a saved view
AFFINITY_GET_ALL_LIST_ENTRIES_ON_A_SAVED_VIEWUse the endpoint to access rows in a Saved View with specific filters and selected fields from a web app. It doesn't maintain sort order, supports only sheet-type views, and requires export permissions.
Get all Lists a Team has access to
AFFINITY_GET_ALL_LISTS_A_TEAM_HAS_ACCESS_TOBeta Affinity API v2 action. Get all Lists a Team has access to. Paginate through all Lists this Team has been granted access to. This endpoint backs the `accessibleListsPreview` returned by `GET /v2/teams/{teamId}?includes=accessibleListsPreview`.
Get all members of a Team
AFFINITY_GET_ALL_MEMBERS_OF_A_TEAMBeta Affinity API v2 action. Get all members of a Team. Paginate through all members of a specific Team. This endpoint backs the `membersPreview` returned by `GET /v2/teams/{teamId}?includes=membersPreview`.
Get all Notes
AFFINITY_GET_ALL_NOTESAffinity API v2 action. Get all Notes. Returns all notes, with the exception of replies. You can filter notes using the `filter` query parameter. The filter parameter is a string that you can specify conditions based on the following properties. | **Property Name** | **Type** | **Allowed Operators** | **Examples** | |---|---|---|---| | `id` | `int32` | `=` | `id=1\|id=2\|id=3` | | `creator.id` | `int32` | `=` | `creator.id=1` | | `createdAt` | `datetime` | `>`, `<`, `>=`, `<=` | `createdAt<2025-02-04T10:48:24Z` | | `updatedAt` | `datetime` | `>`, `<`, `>=`, `<=` | `updatedAt>=2025-02-03T10:48:24Z` |
Get all opportunities
AFFINITY_GET_ALL_OPPORTUNITIESPagination through Opportunities in Affinity yields basic info but excludes field data. For field data, use specified GET endpoints. "Export data from Lists" permission needed.
Get All Person Duplicate Suggestions
AFFINITY_GET_ALL_PERSON_DUPLICATE_SUGGESTIONSBeta Affinity API v2 action. Get All Person Duplicate Suggestions. Retrieves person duplicate suggestions detected for your organization. Each suggestion contains a recommended `primaryProfile` and a `duplicateProfiles` array containing the single person profile Affinity has identified as a likely duplicate, along with the `matchCriteria` that produced the suggestion. The full person payload is returned for both sides so that an automated agent can evaluate the suggestion without additional lookups. Only actionable suggestions are returned: pairs that have no feedback recorded yet (not merged, not marked as not-duplicates, and not skipped) and whose underlying person profiles are still active and eligible to be merged. Suggestions that have already been acted on are omitted. You can narrow the results using the `filter` query parameter, which accepts the Affinity Filtering Language.
Get All Person Merges
AFFINITY_GET_ALL_PERSON_MERGESAffinity API v2 action. Get All Person Merges. Retrieve paginated person merges for the organization. Returns all person merges initiated by users in your organization, including their current status, the persons involved, and merge details. You can filter person merges using the `filter` query parameter. The filter parameter is a string that you can specify conditions based on the following properties: | **Property Name** | **Type** | **Allowed Operators** | **Examples** | |---|---|---|---| | `status` | `enum` | `=` | `status=in-progress`, `status=success`, `status=failed` | | `taskId` | `text` | `=` | `taskId=789e0123-e45b-67c8-d901-234567890123` | Person merges are returned in reverse chronological order (most recent first). Requires the "Manage duplicates" [permission](/pages/external-api-v2/permissions) and organization admin role.
Get All Person Merge Tasks
AFFINITY_GET_ALL_PERSON_MERGE_TASKSAffinity API v2 action. Get All Person Merge Tasks. Retrieve paginated person merge tasks for the organization. Returns all merge tasks initiated by users in your organization, including their current status, the persons involved, and task details. You can filter tasks using the `filter` query parameter. The filter parameter is a string that you can specify conditions based on the following properties: | **Property Name** | **Type** | **Allowed Operators** | **Examples** | |---|---|---|---| | `status` | `enum` | `=` | `status=in-progress`, `status=success`, `status=failed` | Tasks are returned in reverse chronological order (most recent first). Requires the "Manage duplicates" [permission](/pages/external-api-v2/permissions) and organization admin role.
Get all persons
AFFINITY_GET_ALL_PERSONSThe Affinity API offers paginated access to Person data using `fieldIds` or `fieldTypes`. Bulk extraction needs special permissions and supports multiple parameters.
Get all Reminders
AFFINITY_GET_ALL_REMINDERSAffinity API v2 action. Get all Reminders. Returns a page of Reminders visible to the caller. You can filter reminders using the `filter` query parameter. The filter parameter is a string that you can specify conditions based on the following properties.