Get a single field on a Person
Changed on| ⚠️ This endpoint is currently in BETA |
|---|
Retrieve a single field on a person. Returns basic information and the field value.
Request
- Base URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/persons/{personId}/fields/{fieldId}
- AuthHTTP bearer
Path parameters
Person ID
Field ID
Response
OK
Example response
{
"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 theresponse property for the response status - info
removed the
hiddenenum value from theresponse property for the response status
- info