Get a single Person
Changed onReturns 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.
Request
- Base URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/persons/{personId}
- AuthHTTP bearer
Path parameters
Person ID
Query parameters
Field IDs for which to return field data
[ "field-1" ]
Field Types for which to return field data
Response
OK
Example response
{
"id": 1,
"firstName": "Jane",
"lastName": "Doe",
"primaryEmailAddress": "jane.smith@northpointvc.com",
"emailAddresses": [
"jane.smith@northpointvc.com",
"janedoe@gmail.com"
],
"type": "internal",
"fields": [
{
"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"
}
]
}
}
]
}Changes
- info
added
authenticationauthorizationbad-requestconflictmethod-not-allowednot-acceptablenot-foundnot-implementedrate-limitservertimeoutunprocessable-entityunsupported-media-typevalidationdiscriminator mapping keys to the/response property for the response status - info
added
bad-requestvalidationdiscriminator mapping keys to the/response property for the response status - info
added
chat-messageemailmeetingcalldiscriminator mapping keys to the/////response property for the response status - info
added
companycompany-multidatetimedropdowndropdown-multinumbernumber-multifilterable-textfilterable-text-multiformula-numberinteractionlocationlocation-multipersonperson-multiranked-dropdowntextdiscriminator mapping keys to the//response property for the response status - info
removed the
hiddenenum value from the//response property for the response status
- info