Affinity v2
Connect to Affinity External API v2 to manage CRM companies, people, opportunities, lists, notes, interactions, and webhooks.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| API Key | api_key | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "AFFINITY_V2_DELETE_LISTS_BY_LISTID_FIELDS_BY_FIELDID_DROPDOWN_OPTIONS_BY_DROPDOWNOPTIONID", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("AFFINITY_V2_DELETE_LISTS_BY_LISTID_FIELDS_BY_FIELDID_DROPDOWN_OPTIONS_BY_DROPDOWNOPTIONID", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute AFFINITY_V2_DELETE_LISTS_BY_LISTID_FIELDS_BY_FIELDID_DROPDOWN_OPTIONS_BY_DROPDOWNOPTIONID --data '{ }'Tool 目录
可用 Tools
86 个可调用操作
Delete a dropdown option for a List FieldAFFINITY_V2_DELETE_LISTS_BY_LISTID_FIELDS_BY_FIELDID_DROPDOWN_OPTIONS_BY_DROPDOWNOPTIONIDDelete a dropdown option for a List Field.需要连接
Delete a dropdown option for a List Field.
认证
需要 Connected AccountTags
Delete a single NoteAFFINITY_V2_DELETE_NOTES_BY_NOTEIDDelete a note. You can only delete notes you created. Deleting a root note also deletes its需要连接
Delete a note. You can only delete notes you created. Deleting a root note also deletes its
认证
需要 Connected AccountTags
Get current userAFFINITY_V2_GET_AUTH_WHOAMIReturns information about the authenticated user, their current organization, and API key permissions.需要连接
Returns information about the authenticated user, their current organization, and API key permissions.
认证
需要 Connected AccountTags
Get metadata on all CallsAFFINITY_V2_GET_CALLSPaginate through all calls in Affinity. Returns basic information about the call interaction需要连接
Paginate through all calls in Affinity. Returns basic information about the call interaction
认证
需要 Connected AccountTags
Get metadata on all Chat MessagesAFFINITY_V2_GET_CHAT_MESSAGESPaginate through all chat messages in Affinity. Returns basic information about the chat message需要连接
Paginate through all chat messages in Affinity. Returns basic information about the chat message
认证
需要 Connected AccountTags
Get all CompaniesAFFINITY_V2_GET_COMPANIESPaginate through Companies in Affinity.需要连接
Paginate through Companies in Affinity.
认证
需要 Connected AccountTags
Get a single CompanyAFFINITY_V2_GET_COMPANIES_BY_COMPANYIDReturns basic information and non-list-specific field data on the requested Company.需要连接
Returns basic information and non-list-specific field data on the requested Company.
认证
需要 Connected AccountTags
Get field values on a single CompanyAFFINITY_V2_GET_COMPANIES_BY_COMPANYID_FIELDSPaginate through field values on a single company.需要连接
Paginate through field values on a single company.
认证
需要 Connected AccountTags
Get a single field value on a CompanyAFFINITY_V2_GET_COMPANIES_BY_COMPANYID_FIELDS_BY_FIELDIDRetrieve a single field on a company. Returns basic information and the field value.需要连接
Retrieve a single field on a company. Returns basic information and the field value.
认证
需要 Connected AccountTags
Get a Company's List EntriesAFFINITY_V2_GET_COMPANIES_BY_COMPANYID_LIST_ENTRIESPaginate through the List Entries (AKA rows) for the given Company across all Lists.需要连接
Paginate through the List Entries (AKA rows) for the given Company across all Lists.
认证
需要 Connected AccountTags
Get a Company's ListsAFFINITY_V2_GET_COMPANIES_BY_COMPANYID_LISTSPaginate through all Lists where the given Company appears as an entry and that you have access to view.需要连接
Paginate through all Lists where the given Company appears as an entry and that you have access to view.
认证
需要 Connected AccountTags
Get Notes for a CompanyAFFINITY_V2_GET_COMPANIES_BY_COMPANYID_NOTESReturns relevant notes for a given company which includes directly attached notes and notes attached to persons on this company.需要连接
Returns relevant notes for a given company which includes directly attached notes and notes attached to persons on this company.
认证
需要 Connected AccountTags
Get Relationships for a CompanyAFFINITY_V2_GET_COMPANIES_BY_COMPANYID_RELATIONSHIPSReturns the relationships for a given company, including the interaction score that measures需要连接
Returns the relationships for a given company, including the interaction score that measures
认证
需要 Connected AccountTags
Get metadata on Company FieldsAFFINITY_V2_GET_COMPANIES_FIELDSReturns metadata on non-list-specific Company Fields.需要连接
Returns metadata on non-list-specific Company Fields.
认证
需要 Connected AccountTags
Get dropdown options for a Company FieldAFFINITY_V2_GET_COMPANIES_FIELDS_BY_FIELDID_DROPDOWN_OPTIONSReturns the dropdown options for a specific dropdown or ranked-dropdown field on a Company.需要连接
Returns the dropdown options for a specific dropdown or ranked-dropdown field on a Company.
认证
需要 Connected AccountTags
Get All Company MergesAFFINITY_V2_GET_COMPANY_MERGESRetrieve paginated company merges for the organization.需要连接
Retrieve paginated company merges for the organization.
认证
需要 Connected AccountTags
Get Company MergeAFFINITY_V2_GET_COMPANY_MERGES_BY_MERGEIDRetrieve the status and details of a specific company merge.需要连接
Retrieve the status and details of a specific company merge.
认证
需要 Connected AccountTags
Get metadata on all EmailsAFFINITY_V2_GET_EMAILSPaginate through all emails in Affinity. Returns basic information about the email interaction需要连接
Paginate through all emails in Affinity. Returns basic information about the email interaction
认证
需要 Connected AccountTags
Get all field value changesAFFINITY_V2_GET_FIELD_VALUE_CHANGESRetrieve field value changes across all entities and fields in your Affinity workspace.需要连接
Retrieve field value changes across all entities and fields in your Affinity workspace.
认证
需要 Connected AccountTags
Get Coworker Inferred ConnectionsAFFINITY_V2_GET_INFERRED_CONNECTIONS_COWORKERSReturns inferred connections based on shared work history, grouped by the target person, strongest first.需要连接
Returns inferred connections based on shared work history, grouped by the target person, strongest first.
认证
需要 Connected AccountTags
Get metadata on all ListsAFFINITY_V2_GET_LISTSPaginate through all Lists in your organization that you have access to view.需要连接
Paginate through all Lists in your organization that you have access to view.
认证
需要 Connected AccountTags
Get metadata on a single ListAFFINITY_V2_GET_LISTS_BY_LISTIDRetrieve detailed information about a specific List you have access to view.需要连接
Retrieve detailed information about a specific List you have access to view.
认证
需要 Connected AccountTags
Get metadata on a single List's FieldsAFFINITY_V2_GET_LISTS_BY_LISTID_FIELDSReturns metadata on the Fields available on a single List.需要连接
Returns metadata on the Fields available on a single List.
认证
需要 Connected AccountTags
Get dropdown options for a List FieldAFFINITY_V2_GET_LISTS_BY_LISTID_FIELDS_BY_FIELDID_DROPDOWN_OPTIONSReturns the dropdown options for a specific dropdown or ranked-dropdown field on a List.需要连接
Returns the dropdown options for a specific dropdown or ranked-dropdown field on a List.
认证
需要 Connected AccountTags
Get a dropdown option for a List FieldAFFINITY_V2_GET_LISTS_BY_LISTID_FIELDS_BY_FIELDID_DROPDOWN_OPTIONS_BY_DROPDOWNOPTIONIDGet a single dropdown option for a List Field.需要连接
Get a single dropdown option for a List Field.
认证
需要 Connected AccountTags
Get all List Entries on a ListAFFINITY_V2_GET_LISTS_BY_LISTID_LIST_ENTRIESPaginate through the List Entries (AKA rows) on a given List.需要连接
Paginate through the List Entries (AKA rows) on a given List.
认证
需要 Connected AccountTags
Get a single List Entry on a ListAFFINITY_V2_GET_LISTS_BY_LISTID_LIST_ENTRIES_BY_LISTENTRYIDRetrieve a single list entry.需要连接
Retrieve a single list entry.
认证
需要 Connected AccountTags
Get Field Value Changes on a List EntryAFFINITY_V2_GET_LISTS_BY_LISTID_LIST_ENTRIES_BY_LISTENTRYID_FIELD_VALUE_CHANGESPaginate through the historical value changes on the fields of a List Entry.需要连接
Paginate through the historical value changes on the fields of a List Entry.
认证
需要 Connected AccountTags
Get field values on a single List EntryAFFINITY_V2_GET_LISTS_BY_LISTID_LIST_ENTRIES_BY_LISTENTRYID_FIELDSPaginate through all field values on a single list entry.需要连接
Paginate through all field values on a single list entry.
认证
需要 Connected AccountTags
Get a single field valueAFFINITY_V2_GET_LISTS_BY_LISTID_LIST_ENTRIES_BY_LISTENTRYID_FIELDS_BY_FIELDIDReturns a single field value on a list entry.需要连接
Returns a single field value on a list entry.
认证
需要 Connected AccountTags
Get metadata on Saved ViewsAFFINITY_V2_GET_LISTS_BY_LISTID_SAVED_VIEWSPaginate through all Saved Views you have access to view for a specific List.需要连接
Paginate through all Saved Views you have access to view for a specific List.
认证
需要 Connected AccountTags
Get metadata on a single Saved ViewAFFINITY_V2_GET_LISTS_BY_LISTID_SAVED_VIEWS_BY_VIEWIDRetrieve detailed information about a specific Saved View you have access to view.需要连接
Retrieve detailed information about a specific Saved View you have access to view.
认证
需要 Connected AccountTags
Get all List Entries on a Saved ViewAFFINITY_V2_GET_LISTS_BY_LISTID_SAVED_VIEWS_BY_VIEWID_LIST_ENTRIESPaginate through the List Entries (AKA rows) on a given Saved View.需要连接
Paginate through the List Entries (AKA rows) on a given Saved View.
认证
需要 Connected AccountTags
Get metadata on all MeetingsAFFINITY_V2_GET_MEETINGSPaginate through all Meetings in Affinity. Returns basic information about past and future meeting interactions需要连接
Paginate through all Meetings in Affinity. Returns basic information about past and future meeting interactions
认证
需要 Connected AccountTags
Get all NotesAFFINITY_V2_GET_NOTESReturns all notes, with the exception of replies.需要连接
Returns all notes, with the exception of replies.
认证
需要 Connected AccountTags
Get a single NoteAFFINITY_V2_GET_NOTES_BY_NOTEIDGet a Note with a given id需要连接
Get a Note with a given id
认证
需要 Connected AccountTags
Get Companies attached to a NoteAFFINITY_V2_GET_NOTES_BY_NOTEID_ATTACHED_COMPANIESReturns directly attached companies for a given Note.需要连接
Returns directly attached companies for a given Note.
认证
需要 Connected AccountTags
Get Opportunities attached to a NoteAFFINITY_V2_GET_NOTES_BY_NOTEID_ATTACHED_OPPORTUNITIESReturns directly attached opportunities for a given Note.需要连接
Returns directly attached opportunities for a given Note.
认证
需要 Connected AccountTags
Get Persons attached to a NoteAFFINITY_V2_GET_NOTES_BY_NOTEID_ATTACHED_PERSONSReturns directly attached persons for a given Note.需要连接
Returns directly attached persons for a given Note.
认证
需要 Connected AccountTags
Get replies for a NoteAFFINITY_V2_GET_NOTES_BY_NOTEID_REPLIESThis endpoint returns reply notes for a given note id.需要连接
This endpoint returns reply notes for a given note id.
认证
需要 Connected AccountTags
Get all OpportunitiesAFFINITY_V2_GET_OPPORTUNITIESPaginate through Opportunities in Affinity.需要连接
Paginate through Opportunities in Affinity.
认证
需要 Connected AccountTags
Get a single OpportunityAFFINITY_V2_GET_OPPORTUNITIES_BY_OPPORTUNITYIDReturns basic information but **not** field data on the requested Opportunity.需要连接
Returns basic information but **not** field data on the requested Opportunity.
认证
需要 Connected AccountTags
Get Notes for an OpportunityAFFINITY_V2_GET_OPPORTUNITIES_BY_OPPORTUNITYID_NOTESReturns Notes for a given Opportunity which includes directly attached notes and those attached to persons on this Opportunity.需要连接
Returns Notes for a given Opportunity which includes directly attached notes and those attached to persons on this Opportunity.
认证
需要 Connected AccountTags
Get All Person MergesAFFINITY_V2_GET_PERSON_MERGESRetrieve paginated person merges for the organization.需要连接
Retrieve paginated person merges for the organization.
认证
需要 Connected AccountTags
Get Person MergeAFFINITY_V2_GET_PERSON_MERGES_BY_MERGEIDRetrieve the status and details of a specific person merge.需要连接
Retrieve the status and details of a specific person merge.
认证
需要 Connected AccountTags
Get all PersonsAFFINITY_V2_GET_PERSONSPaginate through Persons in Affinity.需要连接
Paginate through Persons in Affinity.
认证
需要 Connected AccountTags
Get a single PersonAFFINITY_V2_GET_PERSONS_BY_PERSONIDReturns basic information and non-list-specific field data on the requested Person.需要连接
Returns basic information and non-list-specific field data on the requested Person.
认证
需要 Connected AccountTags
Get field values on a single PersonAFFINITY_V2_GET_PERSONS_BY_PERSONID_FIELDSPaginate through field values on a single person.需要连接
Paginate through field values on a single person.
认证
需要 Connected AccountTags
Get a single field on a PersonAFFINITY_V2_GET_PERSONS_BY_PERSONID_FIELDS_BY_FIELDIDRetrieve a single field on a person. Returns basic information and the field value.需要连接
Retrieve a single field on a person. Returns basic information and the field value.
认证
需要 Connected AccountTags
Get a Person's List EntriesAFFINITY_V2_GET_PERSONS_BY_PERSONID_LIST_ENTRIESPaginate through the List Entries (AKA rows) for the given Person across all Lists.需要连接
Paginate through the List Entries (AKA rows) for the given Person across all Lists.
认证
需要 Connected AccountTags
Get a Person's ListsAFFINITY_V2_GET_PERSONS_BY_PERSONID_LISTSPaginate through all Lists where the given Person appears as an entry and that you have access to view.需要连接
Paginate through all Lists where the given Person appears as an entry and that you have access to view.
认证
需要 Connected AccountTags
Get Notes for a PersonAFFINITY_V2_GET_PERSONS_BY_PERSONID_NOTESReturns notes for a given person id which includes directly attached notes, notes on meetings this person attended, and notes where this person is mentioned.需要连接
Returns notes for a given person id which includes directly attached notes, notes on meetings this person attended, and notes where this person is mentioned.
认证
需要 Connected AccountTags
Get Relationships for a PersonAFFINITY_V2_GET_PERSONS_BY_PERSONID_RELATIONSHIPSReturns the relationships for a given person, including the interaction score that measures the需要连接
Returns the relationships for a given person, including the interaction score that measures the
认证
需要 Connected AccountTags
Get metadata on Person FieldsAFFINITY_V2_GET_PERSONS_FIELDSReturns metadata on non-list-specific Person Fields.需要连接
Returns metadata on non-list-specific Person Fields.
认证
需要 Connected AccountTags
Get dropdown options for a Person FieldAFFINITY_V2_GET_PERSONS_FIELDS_BY_FIELDID_DROPDOWN_OPTIONSReturns the dropdown options for a specific dropdown or ranked-dropdown field on a Person.需要连接
Returns the dropdown options for a specific dropdown or ranked-dropdown field on a Person.
认证
需要 Connected AccountTags
Get all RemindersAFFINITY_V2_GET_REMINDERSReturns a page of Reminders visible to the caller.需要连接
Returns a page of Reminders visible to the caller.
认证
需要 Connected AccountTags
Get All Company Merge TasksAFFINITY_V2_GET_TASKS_COMPANY_MERGESRetrieve paginated company merge tasks for the organization.需要连接
Retrieve paginated company merge tasks for the organization.
认证
需要 Connected AccountTags
Get Company Merge TaskAFFINITY_V2_GET_TASKS_COMPANY_MERGES_BY_TASKIDRetrieve the status and details of a specific task for company merges.需要连接
Retrieve the status and details of a specific task for company merges.
认证
需要 Connected AccountTags
Get All Person Merge TasksAFFINITY_V2_GET_TASKS_PERSON_MERGESRetrieve paginated person merge tasks for the organization.需要连接
Retrieve paginated person merge tasks for the organization.
认证
需要 Connected AccountTags
Get Person Merge TaskAFFINITY_V2_GET_TASKS_PERSON_MERGES_BY_TASKIDRetrieve the status and details of a specific task for person merges.需要连接
Retrieve the status and details of a specific task for person merges.
认证
需要 Connected AccountTags
Get all TranscriptsAFFINITY_V2_GET_TRANSCRIPTSPaginate through all transcripts and return basic metadata only. Use the single transcript endpoint to fetch the entire transcript data.需要连接
Paginate through all transcripts and return basic metadata only. Use the single transcript endpoint to fetch the entire transcript data.
认证
需要 Connected AccountTags
Get a single TranscriptAFFINITY_V2_GET_TRANSCRIPTS_BY_TRANSCRIPTIDGet a transcript with a given id with the first 100 fragments of the transcript. Use the /fragments endpoint to fetch all fragments of the transcript.需要连接
Get a transcript with a given id with the first 100 fragments of the transcript. Use the /fragments endpoint to fetch all fragments of the transcript.
认证
需要 Connected AccountTags
Get fragments of a transcriptAFFINITY_V2_GET_TRANSCRIPTS_BY_TRANSCRIPTID_FRAGMENTSGet fragments of a transcript given a transcript id.需要连接
Get fragments of a transcript given a transcript id.
认证
需要 Connected AccountTags
Get all UsersAFFINITY_V2_GET_USERSPaginate through internal Users in your organization.需要连接
Paginate through internal Users in your organization.
认证
需要 Connected AccountTags
Get a single UserAFFINITY_V2_GET_USERS_BY_USERIDReturns information about a single internal User, including name, primary email需要连接
Returns information about a single internal User, including name, primary email
认证
需要 Connected AccountTags
Perform batch operations on a company's fieldsAFFINITY_V2_PATCH_COMPANIES_BY_COMPANYID_FIELDSPerform batch operations on a company's fields.需要连接
Perform batch operations on a company's fields.
认证
需要 Connected AccountTags
Perform batch operations on a list entry's fieldsAFFINITY_V2_PATCH_LISTS_BY_LISTID_LIST_ENTRIES_BY_LISTENTRYID_FIELDSPerform batch operations on a list entry's fields.需要连接
Perform batch operations on a list entry's fields.
认证
需要 Connected AccountTags
Perform batch operations on a person's fieldsAFFINITY_V2_PATCH_PERSONS_BY_PERSONID_FIELDSPerform batch operations on a person's fields.需要连接
Perform batch operations on a person's fields.
认证
需要 Connected AccountTags
Update a single field value on a CompanyAFFINITY_V2_POST_COMPANIES_BY_COMPANYID_FIELDS_BY_FIELDIDUpdate a single field value on a company.需要连接
Update a single field value on a company.
认证
需要 Connected AccountTags
Search CompaniesAFFINITY_V2_POST_COMPANIES_SEARCHSearch for Companies matching the given criteria.需要连接
Search for Companies matching the given criteria.
认证
需要 Connected AccountTags
Initiate Company MergeAFFINITY_V2_POST_COMPANY_MERGESInitiate a company merge to combine a duplicate company profile into a primary company profile.需要连接
Initiate a company merge to combine a duplicate company profile into a primary company profile.
认证
需要 Connected AccountTags
Send FeedbackAFFINITY_V2_POST_FEEDBACKSend feedback to Affinity about a particular product area or feature.需要连接
Send feedback to Affinity about a particular product area or feature.
认证
需要 Connected AccountTags
Search Files by KeywordAFFINITY_V2_POST_FILES_SEARCHSearch files by keyword. The scope of the search is controlled by the request body:需要连接
Search files by keyword. The scope of the search is controlled by the request body:
认证
需要 Connected AccountTags
Create a ListAFFINITY_V2_POST_LISTSCreate a new List.需要连接
Create a new List.
认证
需要 Connected AccountTags
Create a dropdown option for a List FieldAFFINITY_V2_POST_LISTS_BY_LISTID_FIELDS_BY_FIELDID_DROPDOWN_OPTIONSCreate a dropdown option for a List Field.需要连接
Create a dropdown option for a List Field.
认证
需要 Connected AccountTags
Update a dropdown option for a List FieldAFFINITY_V2_POST_LISTS_BY_LISTID_FIELDS_BY_FIELDID_DROPDOWN_OPTIONS_BY_DROPDOWNOPTIONIDUpdate a dropdown option for a List Field.需要连接
Update a dropdown option for a List Field.
认证
需要 Connected AccountTags
Update a single field value on a List EntryAFFINITY_V2_POST_LISTS_BY_LISTID_LIST_ENTRIES_BY_LISTENTRYID_FIELDS_BY_FIELDIDUpdate a single field value.需要连接
Update a single field value.
认证
需要 Connected AccountTags
Search List EntriesAFFINITY_V2_POST_LISTS_BY_LISTID_LIST_ENTRIES_SEARCHSearch for List Entries on a List matching the given criteria.需要连接
Search for List Entries on a List matching the given criteria.
认证
需要 Connected AccountTags
Create a NoteAFFINITY_V2_POST_NOTESCreate a new note. By default it is authored by the calling user; set `creator` to attribute需要连接
Create a new note. By default it is authored by the calling user; set `creator` to attribute
认证
需要 Connected AccountTags
Update a single NoteAFFINITY_V2_POST_NOTES_BY_NOTEIDMake an update to an existing note's body content or its entity associations.需要连接
Make an update to an existing note's body content or its entity associations.
认证
需要 Connected AccountTags
Search Notes by KeywordAFFINITY_V2_POST_NOTES_SEARCHSearch notes by keyword. The scope of the search is controlled by the request body:需要连接
Search notes by keyword. The scope of the search is controlled by the request body:
认证
需要 Connected AccountTags
Initiate Person MergeAFFINITY_V2_POST_PERSON_MERGESInitiate a person merge to combine a duplicate person profile into a primary person profile.需要连接
Initiate a person merge to combine a duplicate person profile into a primary person profile.
认证
需要 Connected AccountTags
Update a single field value on a PersonAFFINITY_V2_POST_PERSONS_BY_PERSONID_FIELDS_BY_FIELDIDUpdate a single field value on a person.需要连接
Update a single field value on a person.
认证
需要 Connected AccountTags
Search PersonsAFFINITY_V2_POST_PERSONS_SEARCHSearch for Persons matching the given criteria.需要连接
Search for Persons matching the given criteria.
认证
需要 Connected AccountTags
Create a ReminderAFFINITY_V2_POST_REMINDERSCreates a new Reminder. Exactly one of `company`, `person`, or `opportunity` must be provided.需要连接
Creates a new Reminder. Exactly one of `company`, `person`, or `opportunity` must be provided.
认证
需要 Connected AccountTags
Semantic SearchAFFINITY_V2_POST_SEMANTIC_SEARCHPerform an AI-powered semantic search. Use the `entity-type` field in the request body to需要连接
Perform an AI-powered semantic search. Use the `entity-type` field in the request body to
认证
需要 Connected AccountTags