Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Perform batch operations on a company's fields
AFFINITY_PERFORM_BATCH_OPERATIONS_ON_A_COMPANY_S_FIELDSAffinity API v2 action. Perform batch operations on a company's fields. Perform batch operations on a company's fields. Currently the only operation at the endpoint is `update-fields`, which allows you to update multiple field values with a single request. This is equivalent to calling [the single field update](/api-reference/companies/update-a-single-field-value-on-a-company) endpoint multiple times. You can update up to 100 fields per request.
Perform batch operations on a list entry's fields
AFFINITY_PERFORM_BATCH_OPERATIONS_ON_A_LIST_ENTRY_S_FIELDSAffinity API v2 action. Perform batch operations on a list entry's fields. Perform batch operations on a list entry's fields. Currently the only operation at the endpoint is `update-fields`, which allows you to update multiple field values with a single request. This is equivalent to calling [the single field update](/api-reference/lists/update-a-single-field-value-on-a-list-entry) endpoint multiple times. You can update up to 100 fields per request. Requires the "Export data from Lists" [permission](/pages/external-api-v2/permissions).
Perform batch operations on a person's fields
AFFINITY_PERFORM_BATCH_OPERATIONS_ON_A_PERSON_S_FIELDSAffinity API v2 action. Perform batch operations on a person's fields. Perform batch operations on a person's fields. Currently the only operation at the endpoint is `update-fields`, which allows you to update multiple field values with a single request. This is equivalent to calling [the single field update](/api-reference/persons/update-a-single-field-value-on-a-person) endpoint multiple times. You can update up to 100 fields per request.
Update a Company Field
AFFINITY_UPDATE_A_COMPANY_FIELDBeta Affinity API v2 action. Update a Company Field. Updates a Company Field. Only the provided properties are updated. Requires the Manage global fields permission. Accepts the Field ID of a custom field (`field-<number>`), of an enriched field (for example, `affinity-data-location`), or of a native field (for example, `source-of-introduction`). An enriched or native field by its `field-<number>` ID returns 404. A field from a restricted data partner (see Partner Data Restrictions) returns 404. On native and enriched fields, only `isRequired` can be updated. Fields that are computed by Affinity, such as `first-email`, return 404.
Update a dropdown option for a List Field
AFFINITY_UPDATE_A_DROPDOWN_OPTION_FOR_A_LIST_FIELDAffinity API v2 action. Update a dropdown option for a List Field. Update a dropdown option for a List Field.
Update a List Field
AFFINITY_UPDATE_A_LIST_FIELDBeta Affinity API v2 action. Update a List Field. | This endpoint is currently in BETA | |--| Updates a list-specific Field on a List. Only the provided properties are updated. Requires the Standard role or higher on the List. Updating the List's Status or Owners field, or changing `isRequired`, requires the Admin role on the List.
Update an Opportunity
AFFINITY_UPDATE_AN_OPPORTUNITYBeta Affinity API v2 action. Update an Opportunity. | This endpoint is currently in BETA | |--| Updates an Opportunity. Only provided properties are updated; properties omitted from the request keep their current value. Requires manage access to the opportunity.
Update a Person
AFFINITY_UPDATE_A_PERSONBeta Affinity API v2 action. Update a Person. Updates a Person. Only properties included in the request body are changed; any property omitted from the request body is left alone. Likewise, only field-value entries listed in `fields` are updated. Any field not included in `fields` keeps its current value.
Update a Person Field
AFFINITY_UPDATE_A_PERSON_FIELDBeta Affinity API v2 action. Update a Person Field. Updates a Person Field. Only the provided properties are updated. Requires the Manage global fields permission. Accepts the Field ID of a custom field (`field-<number>`), of an enriched field (for example, `affinity-data-current-job-title`), or of a native field (for example, `source-of-introduction`). An enriched or native field by its `field-<number>` ID returns 404. On native and enriched fields, only `isRequired` can be updated. Fields that are computed by Affinity, such as `first-email`, return 404.
Update a Reminder
AFFINITY_UPDATE_A_REMINDERBeta Affinity API v2 action. Update a Reminder. Updates a Reminder. Only provided fields are changed; omitted fields keep their current value. Setting `completedAt` marks the reminder complete (for `recurring` reminders, this advances `dueDate` by `recurrence.periodDays` and `completedAt` remains `null` on the resource). Setting `completedAt` to `null` marks the reminder incomplete and is rejected for `recurring` reminders. Only the reminder's creator or owner may update it (including completing or uncompleting it).
Update a single field value on a Company
AFFINITY_UPDATE_A_SINGLE_FIELD_VALUE_ON_A_COMPANYAffinity API v2 action. Update a single field value on a Company. Update a single field value on a company. To clear the value, send `null` as `data`; a required field cannot be cleared. For a multi-value field, `data` replaces all current values: to remove one value, send the values to keep.
Update a single field value on a List Entry
AFFINITY_UPDATE_A_SINGLE_FIELD_VALUE_ON_A_LIST_ENTRYAffinity API v2 action. Update a single field value on a List Entry. Update a single field value. To clear the value, send `null` as `data`; a required field cannot be cleared. For a multi-value field, `data` replaces all current values: to remove one value, send the values to keep. Requires the "Export data from Lists" [permission](/pages/external-api-v2/permissions).
Update a single field value on a Person
AFFINITY_UPDATE_A_SINGLE_FIELD_VALUE_ON_A_PERSONAffinity API v2 action. Update a single field value on a Person. Update a single field value on a person. To clear the value, send `null` as `data`; a required field cannot be cleared. For a multi-value field, `data` replaces all current values: to remove one value, send the values to keep.
Update a single Note
AFFINITY_UPDATE_A_SINGLE_NOTEAffinity API v2 action. Update a single Note. Make an update to an existing note's body content or its entity associations. You can only update notes you have write access to. You can update any type of note including AI Notetaker notes (`ai-notetaker`, `ai-notetaker-reply`), but a note's type itself cannot be changed. All body properties are optional: only the properties supplied are updated, and other properties are left unchanged. For each of `persons`, `companies`, and `opportunities`, you may: - omit the field to leave existing associations unchanged - send an empty array (`[]`) to clear all associations of that kind - send a non-empty array to replace the existing set with the supplied list. Reply notes (`user-reply`, `ai-notetaker-reply`) have no entity associations, so only `content` can be updated for replies. Updating `content` is subject to the same HTML restrictions as creation; submitting restricted HTML will cause the request to fail. See the request examples below.