Lists
Get field values on a single List Entry
Paginate through all field values on a single list entry.
All fields will be included by default. The ids and types parameters can be used to filter the collection.
get/v2/lists/{listId}/list-entries/{listEntryId}/fields
Path parameters
listIdinteger required
List ID
listEntryIdinteger required
List Entry ID
Query parameters
idsstring[]
Field IDs for which to return field data
[ "field-1" ]
typesstring[]
Field Types for which to return field data
cursorstring
Example:ICAgICAgYmVmb3JlOjo6Nw
Cursor for the next or previous page
limitinteger
Example:20
Number of items to include in the page
Response
OK
Example response
{
"data": [
{
"id": "affinity-data-location",
"name": "Location",
"type": "enriched",
"enrichmentSource": "affinity-data",
"value": {
"type": "company-multi",
"data": [
{
"id": 1,
"name": "Horizon Technologies",
"domain": "horizontech.com"
},
{
"id": 2,
"name": "Crestwood Capital",
"domain": "crestwoodcap.com"
}
]
}
}
],
"pagination": {
"prevUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgYmVmb3JlOjo6Nw",
"nextUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgIGFmdGVyOjo6NA"
}
}