Paginate through Persons in Affinity. Returns basic information and non-list-specific field data on each Person.
To retrieve field data, you must use either the fieldIds or the fieldTypes parameter
to specify the Fields for which you want data returned.
These Field IDs and Types can be found using the GET /v2/persons/fields endpoint.
When no fieldIds or fieldTypes are provided, Persons will be returned without any field data attached.
To supply multiple fieldIds or fieldTypes parameters, generate a query string that looks like this:
?fieldIds=field-1234&fieldIds=affinity-data-location or ?fieldTypes=enriched&fieldTypes=global.
Requires the "Export All People directory" permission.
OK
Bad Request
Forbidden
Errors
{- "pagination": {
}, - "data": [
- {
- "firstName": "Jane",
- "lastName": "Doe",
- "emailAddresses": [
- "jane.doe@acme.co",
- "janedoe@gmail.com"
], - "id": 1,
- "type": "internal",
- "fields": [
- {
- "enrichmentSource": "affinity-data",
- "name": "Location",
- "id": "affinity-data-location",
- "type": "enriched",
- "value": {
- "data": {
- "continent": "North America",
- "country": "United States",
- "streetAddress": "1 Main Street",
- "city": "San Francisco",
- "state": "California"
}, - "type": "location"
}
}, - {
- "enrichmentSource": "affinity-data",
- "name": "Location",
- "id": "affinity-data-location",
- "type": "enriched",
- "value": {
- "data": {
- "continent": "North America",
- "country": "United States",
- "streetAddress": "1 Main Street",
- "city": "San Francisco",
- "state": "California"
}, - "type": "location"
}
}
], - "primaryEmailAddress": "jane.doe@acme.co"
}, - {
- "firstName": "Jane",
- "lastName": "Doe",
- "emailAddresses": [
- "jane.doe@acme.co",
- "janedoe@gmail.com"
], - "id": 1,
- "type": "internal",
- "fields": [
- {
- "enrichmentSource": "affinity-data",
- "name": "Location",
- "id": "affinity-data-location",
- "type": "enriched",
- "value": {
- "data": {
- "continent": "North America",
- "country": "United States",
- "streetAddress": "1 Main Street",
- "city": "San Francisco",
- "state": "California"
}, - "type": "location"
}
}, - {
- "enrichmentSource": "affinity-data",
- "name": "Location",
- "id": "affinity-data-location",
- "type": "enriched",
- "value": {
- "data": {
- "continent": "North America",
- "country": "United States",
- "streetAddress": "1 Main Street",
- "city": "San Francisco",
- "state": "California"
}, - "type": "location"
}
}
], - "primaryEmailAddress": "jane.doe@acme.co"
}
]
}Returns metadata on non-list-specific Person Fields.
Use the returned Field IDs to request field data from the GET /v2/persons and GET /v2/persons/{id} endpoints.
OK
| X-Ratelimit-Limit-User | integer Number of requests allowed per minute for the user |
| X-Ratelimit-Limit-User-Remaining | integer Number of requests remaining for the user |
| X-Ratelimit-Limit-User-Reset | integer Time in seconds before the limit resets for the user |
| X-Ratelimit-Limit-Org | integer Number of requests allowed per month for the account |
| X-Ratelimit-Limit-Org-Remaining | integer Number of requests remaining for the account |
| X-Ratelimit-Limit-Org-Reset | integer Time in seconds before the limit resets for the account |
required | Array of objects (FieldMetadata) <= 100 items A page of FieldMetadata results | ||||||||||
Array (<= 100 items)
| |||||||||||
required | object (Pagination) | ||||||||||
Bad Request
Errors
{- "data": [
- {
- "enrichmentSource": "affinity-data",
- "valueType": "location",
- "name": "Location",
- "id": "affinity-data-location",
- "type": "enriched"
}
], - "pagination": {
}
}Returns basic information and non-list-specific field data on the requested Person.
To retrieve field data, you must use either the fieldIds or the fieldTypes parameter
to specify the Fields for which you want data returned.
These Field IDs and Types can be found using the GET /v2/persons/fields endpoint.
When no fieldIds or fieldTypes are provided, Persons will be returned without any field data attached.
To supply multiple fieldIds or fieldTypes parameters, generate a query string that looks like this:
?fieldIds=field-1234&fieldIds=affinity-data-location or ?fieldTypes=enriched&fieldTypes=global.
Requires the "Export All People directory" permission.
OK
| X-Ratelimit-Limit-User | integer Number of requests allowed per minute for the user |
| X-Ratelimit-Limit-User-Remaining | integer Number of requests remaining for the user |
| X-Ratelimit-Limit-User-Reset | integer Time in seconds before the limit resets for the user |
| X-Ratelimit-Limit-Org | integer Number of requests allowed per month for the account |
| X-Ratelimit-Limit-Org-Remaining | integer Number of requests remaining for the account |
| X-Ratelimit-Limit-Org-Reset | integer Time in seconds before the limit resets for the account |
| id required | integer <int64> [ 1 .. 9007199254740991 ] The persons's unique identifier | ||||||||||
| firstName required | string The person's first name | ||||||||||
| lastName required | string or null The person's last name | ||||||||||
| primaryEmailAddress required | string or null <email> The person's primary email address | ||||||||||
| emailAddresses required | Array of strings <email> All of the person's email addresses | ||||||||||
| type required | string The person's type | ||||||||||
Array of objects (Field) The fields associated with the person | |||||||||||
Array
| |||||||||||
Bad Request
Forbidden
Not Found
Errors
{- "firstName": "Jane",
- "lastName": "Doe",
- "emailAddresses": [
- "jane.doe@acme.co",
- "janedoe@gmail.com"
], - "id": 1,
- "type": "internal",
- "fields": [
- {
- "enrichmentSource": "affinity-data",
- "name": "Location",
- "id": "affinity-data-location",
- "type": "enriched",
- "value": {
- "data": {
- "continent": "North America",
- "country": "United States",
- "streetAddress": "1 Main Street",
- "city": "San Francisco",
- "state": "California"
}, - "type": "location"
}
}, - {
- "enrichmentSource": "affinity-data",
- "name": "Location",
- "id": "affinity-data-location",
- "type": "enriched",
- "value": {
- "data": {
- "continent": "North America",
- "country": "United States",
- "streetAddress": "1 Main Street",
- "city": "San Francisco",
- "state": "California"
}, - "type": "location"
}
}
], - "primaryEmailAddress": "jane.doe@acme.co"
}Paginate through the List Entries (AKA rows) for the given Person across all Lists. Each List Entry includes field data for the Person, including list-specific field data. Each List Entry also includes metadata about its creation, i.e., when it was added to the List and by whom.
Requires the "Export data from Lists" permission.
OK
| X-Ratelimit-Limit-User | integer Number of requests allowed per minute for the user |
| X-Ratelimit-Limit-User-Remaining | integer Number of requests remaining for the user |
| X-Ratelimit-Limit-User-Reset | integer Time in seconds before the limit resets for the user |
| X-Ratelimit-Limit-Org | integer Number of requests allowed per month for the account |
| X-Ratelimit-Limit-Org-Remaining | integer Number of requests remaining for the account |
| X-Ratelimit-Limit-Org-Reset | integer Time in seconds before the limit resets for the account |
required | Array of objects (ListEntry) <= 100 items A page of ListEntry results | ||||||||||
Array (<= 100 items)
| |||||||||||
required | object (Pagination) | ||||||||||
Bad Request
Forbidden
Not Found
Errors
{- "pagination": {
}, - "data": [
- {
- "listId": 1,
- "createdAt": "2023-01-01T00:00:00Z",
- "creatorId": 1,
- "id": 1,
- "fields": [
- {
- "enrichmentSource": "affinity-data",
- "name": "Location",
- "id": "affinity-data-location",
- "type": "enriched",
- "value": {
- "data": {
- "continent": "North America",
- "country": "United States",
- "streetAddress": "1 Main Street",
- "city": "San Francisco",
- "state": "California"
}, - "type": "location"
}
}, - {
- "enrichmentSource": "affinity-data",
- "name": "Location",
- "id": "affinity-data-location",
- "type": "enriched",
- "value": {
- "data": {
- "continent": "North America",
- "country": "United States",
- "streetAddress": "1 Main Street",
- "city": "San Francisco",
- "state": "California"
}, - "type": "location"
}
}
]
}, - {
- "listId": 1,
- "createdAt": "2023-01-01T00:00:00Z",
- "creatorId": 1,
- "id": 1,
- "fields": [
- {
- "enrichmentSource": "affinity-data",
- "name": "Location",
- "id": "affinity-data-location",
- "type": "enriched",
- "value": {
- "data": {
- "continent": "North America",
- "country": "United States",
- "streetAddress": "1 Main Street",
- "city": "San Francisco",
- "state": "California"
}, - "type": "location"
}
}, - {
- "enrichmentSource": "affinity-data",
- "name": "Location",
- "id": "affinity-data-location",
- "type": "enriched",
- "value": {
- "data": {
- "continent": "North America",
- "country": "United States",
- "streetAddress": "1 Main Street",
- "city": "San Francisco",
- "state": "California"
}, - "type": "location"
}
}
]
}
]
}Paginate through all Lists where the given Person appears as an entry and that you have access to view. Returns basic List information for each List that contains this Person.
OK
| X-Ratelimit-Limit-User | integer Number of requests allowed per minute for the user |
| X-Ratelimit-Limit-User-Remaining | integer Number of requests remaining for the user |
| X-Ratelimit-Limit-User-Reset | integer Time in seconds before the limit resets for the user |
| X-Ratelimit-Limit-Org | integer Number of requests allowed per month for the account |
| X-Ratelimit-Limit-Org-Remaining | integer Number of requests remaining for the account |
| X-Ratelimit-Limit-Org-Reset | integer Time in seconds before the limit resets for the account |
required | Array of objects (List) <= 100 items A page of List results | ||||||||||
Array (<= 100 items)
| |||||||||||
required | object (Pagination) | ||||||||||
Bad Request
Not Found
Errors
{- "pagination": {
}, - "data": [
- {
- "name": "All companies",
- "creatorId": 1,
- "isPublic": false,
- "id": 1,
- "ownerId": 1
}, - {
- "name": "All companies",
- "creatorId": 1,
- "isPublic": false,
- "id": 1,
- "ownerId": 1
}
]
}| ⚠️ This endpoint is currently in BETA |
|---|
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.
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 | Description | Type | Allowed Operators | Examples |
|---|---|---|---|---|
creator.id |
Filter notes by the creator of the note | int32 |
= |
creator.id=1 |
createdAt |
Filter notes by when it was created | datetime |
>, <, >=, <= |
createdAt<2025-02-04T10:48:24Z |
updatedAt |
Filter notes by when it was updated | datetime |
>, <, >=, <= |
updatedAt>=2025-02-03T10:48:24Z |
OK
| X-Ratelimit-Limit-User | integer Number of requests allowed per minute for the user |
| X-Ratelimit-Limit-User-Remaining | integer Number of requests remaining for the user |
| X-Ratelimit-Limit-User-Reset | integer Time in seconds before the limit resets for the user |
| X-Ratelimit-Limit-Org | integer Number of requests allowed per month for the account |
| X-Ratelimit-Limit-Org-Remaining | integer Number of requests remaining for the account |
| X-Ratelimit-Limit-Org-Reset | integer Time in seconds before the limit resets for the account |
required | Array of any (notes.Note) <= 100 items A page of Note objects | ||||||||||||||||||||||||
Array (<= 100 items)
| |||||||||||||||||||||||||
required | object (PaginationWithTotalCount) | ||||||||||||||||||||||||
Bad Request
Not Found
Errors
{- "data": [
- {
- "id": 1,
- "type": "entities",
- "content": {
- "html": "<p>test</p><p>%</p>"
}, - "creator": {
- "id": 1,
- "firstName": "Jane",
- "lastName": "Doe",
- "primaryEmailAddress": "jane.doe@acme.co",
- "type": "internal"
}, - "mentions": [
- {
- "id": 1,
- "type": "person",
- "person": {
- "id": 1,
- "firstName": "Jane",
- "lastName": "Doe",
- "primaryEmailAddress": "jane.doe@acme.co",
- "type": "internal"
}
}
], - "createdAt": "2023-01-01T00:00:00Z",
- "updatedAt": "2023-01-01T00:00:00Z",
- "permissions": {
- "sharingType": "private",
- "owner": {
- "id": 1,
- "firstName": "Jane",
- "lastName": "Doe",
- "primaryEmailAddress": "jane.doe@acme.co",
- "type": "internal"
}
}
}
], - "pagination": {
}
}