Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add a List Entry to a List
AFFINITY_ADD_A_LIST_ENTRY_TO_A_LISTBeta Affinity API v2 action. Add a List Entry to a List. Adds a Company or Person to a List as a new List Entry. Opportunities cannot be added with this endpoint. The type of the entity referenced by `entity.id` is determined by the List's type: a Company ID for a company List, a Person ID for a person List. If no entity of the List's type exists with the given ID, the request is rejected with `400 Bad Request`. Only the List's own required fields are checked. Required fields on the entity itself were already enforced when the entity was created, so they are not re-checked here. If the List has a required field, the request is rejected with `400 Bad Request` and the missing field IDs are returned in the response body. This endpoint does not accept field values, so there is no API-level remediation: populate such a List through a UI flow that provides values at add time, or remove the required flag from the List's field configuration.
Create a Company Field
AFFINITY_CREATE_A_COMPANY_FIELDBeta Affinity API v2 action. Create a Company Field. Creates a Company Field. A Company Field is available on every company in the organization. Values for the new Field can be set on each company via `POST /v2/companies/{companyId}/fields/{fieldId}`. Requires the Manage global fields permission. Fields of value type `dropdown`, `dropdown-multi`, and `ranked-dropdown` are created without any dropdown options.
Create a dropdown option for a List Field
AFFINITY_CREATE_A_DROPDOWN_OPTION_FOR_A_LIST_FIELDAffinity API v2 action. Create a dropdown option for a List Field. Create a dropdown option for a List Field.
Create a List
AFFINITY_CREATE_A_LISTAffinity API v2 action. Create a List. Create a new List. The List type determines the kind of entities (Companies, Persons, or Opportunities) that can be added. The requester is recorded as the creator and the owner.
Create a List Field
AFFINITY_CREATE_A_LIST_FIELDBeta Affinity API v2 action. Create a List Field. | This endpoint is currently in BETA | |--| Creates a list-specific Field on a List. Values for the new Field can be set on each List Entry via `POST /v2/lists/{listId}/list-entries/{listEntryId}/fields/{fieldId}`. Requires the Standard role or higher on the List. Creating a field with `isRequired` set to `true` requires the Admin role on the List. Fields of value type `dropdown`, `dropdown-multi`, and `ranked-dropdown` are created without any dropdown options.
Create an Opportunity
AFFINITY_CREATE_AN_OPPORTUNITYBeta Affinity API v2 action. Create an Opportunity. | This endpoint is currently in BETA | |--| Creates an Opportunity on an opportunity List. The Opportunity is added to the List as a List Entry. When `listId` is not an opportunity List, the request fails. The new List Entry gets the default values of the List. When the List has a Status Field, the Status is the first open status. When the List has an Owners Field, the requester is added as an Owner. The name must be unique on the List. The request cannot include Field values, so the required Fields of the List are not checked. When `isRestricted` is `true`, the Opportunity is restricted, and the requester is added to its allow list. When a Person Field of the List sets the allow list, the requester is added to that Field. When the requester cannot access the new Opportunity, the response is redacted. When your organization does not allow the requested type of Opportunity, the request fails. Requires access to the List.
Create a Note
AFFINITY_CREATE_A_NOTEAffinity API v2 action. Create a Note. Create a new note. By default it is authored by the calling user; set `creator` to attribute it to a different internal person in your organization. Notes can be attached directly to entities (`Persons`, `Companies`, `Opportunities`), anchored to an interaction (`meeting`, `call`, or `chat message`), or written as a reply to an existing note. The `type` field selects the shape of the request body. AI Notetaker note types (`ai-notetaker`, `ai-notetaker-reply`) are system-generated and cannot be created through this endpoint.
Create a Person
AFFINITY_CREATE_A_PERSONBeta Affinity API v2 action. Create a Person. This endpoint is currently in BETA. Creates a new Person. Setting `fields` values requires the "Edit Global Field Values" permission and returns a 403 error if the caller lacks it.
Create a Person Field
AFFINITY_CREATE_A_PERSON_FIELDBeta Affinity API v2 action. Create a Person Field. Creates a Person Field. A Person Field is available on every person in the organization. Values for the new Field can be set on each person via `POST /v2/persons/{personId}/fields/{fieldId}`. Requires the Manage global fields permission. Fields of value type `dropdown`, `dropdown-multi`, and `ranked-dropdown` are created without any dropdown options.
Create a Reminder
AFFINITY_CREATE_A_REMINDERAffinity API v2 action. Create a Reminder. Creates a new Reminder. Exactly one of `company`, `person`, or `opportunity` must be provided. The `creator` of the new reminder is the user associated with the API key.
Delete a Company Field
AFFINITY_DELETE_A_COMPANY_FIELDBeta Affinity API v2 action. Delete a Company Field. Deletes a Company Field. **Warning:** This permanently removes the field and clears every field value set on it across all companies. The cleared values cannot be recovered. 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. Native and enriched fields cannot be deleted and return 400. Fields that are computed by Affinity, such as `first-email`, return 404.
Delete a dropdown option for a List Field
AFFINITY_DELETE_A_DROPDOWN_OPTION_FOR_A_LIST_FIELDAffinity API v2 action. Delete a dropdown option for a List Field. Delete a dropdown option for a List Field. **Warning:** This permanently removes the option and clears every field value currently set to it across all List Entries. The cleared values cannot be recovered.
Delete a List Field
AFFINITY_DELETE_A_LIST_FIELDBeta Affinity API v2 action. Delete a List Field. | This endpoint is currently in BETA | |--| Deletes a list-specific Field from a List. **Warning:** This permanently removes the field and clears every field value set on it across all List Entries in the List. The cleared values cannot be recovered. Only list-specific (custom) fields can be removed via this endpoint. Native list-managed fields cannot be deleted. Requires the Admin role on the List. A user with the Standard role on the List can delete a field only when no values are set on it.
Delete an Opportunity
AFFINITY_DELETE_AN_OPPORTUNITYBeta Affinity API v2 action. Delete an Opportunity. | This endpoint is currently in BETA | |--| Deletes an Opportunity. Requires manage access to the opportunity.
Delete a Person
AFFINITY_DELETE_A_PERSONBeta Affinity API v2 action. Delete a Person. This endpoint is currently in BETA. Deletes a Person. Returns a 403 error if the Person is internal or inferred internal, since those Persons cannot be deleted.
Delete a Person Field
AFFINITY_DELETE_A_PERSON_FIELDBeta Affinity API v2 action. Delete a Person Field. Deletes a Person Field. **Warning:** This permanently removes the field and clears every field value set on it across all persons. The cleared values cannot be recovered. 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. Native and enriched fields cannot be deleted and return 400. Fields that are computed by Affinity, such as `first-email`, return 404.
Delete a Reminder
AFFINITY_DELETE_A_REMINDERBeta Affinity API v2 action. Delete a Reminder. Deletes a Reminder. Only the reminder's creator or owner may delete it.
Delete a single Note
AFFINITY_DELETE_A_SINGLE_NOTEAffinity API v2 action. Delete a single Note. Delete a note. You can only delete notes you created. Deleting a root note also deletes its replies (both user replies and AI Notetaker replies); deleting a reply removes only that reply.
Delete a single Transcript
AFFINITY_DELETE_A_SINGLE_TRANSCRIPTBeta Affinity API v2 action. Delete a single Transcript. Delete a transcript. The AI Notetaker summary note the transcript belongs to is kept. You can only delete transcripts of notes you created.
Generate suggested field updates
AFFINITY_GENERATE_SUGGESTED_FIELD_UPDATESBeta Affinity API v2 action. Generate suggested field updates. The endpoint returns 404 when AI agents access is not enabled for the organization. Generate suggested field updates from a note or a meeting. Generation runs asynchronously: poll the returned `taskUrl` until the task finishes, then retrieve the set. The set can also be retrieved while generation runs, with `status` `pending`. Sets belong to the user who requested them. Sets generated automatically for a new note belong to the note's creator. You have at most one `pending` set per subject. While it is generating, repeated requests return its task. Otherwise each request generates a new set, and your `open` set for the subject becomes `done`. Its undecided suggestions can no longer be decided. Other users' sets for the subject are not affected. Returns `404` when the subject does not exist or is not accessible to you.