Persons
Get a Person's Lists
Changed onPaginate 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.
get/v2/persons/{personId}/lists
Request
- Base URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/persons/{personId}/lists
- AuthHTTP bearer
Path parameters
personIdinteger required
Persons ID
Query parameters
cursorstring
Example:ICAgICAgYmVmb3JlOjo6Nw
Cursor for the next or previous page
limitinteger
Example:100
Number of items to include in the page
Response
OK
Example response
{
"data": [
{
"id": 1,
"name": "All companies",
"creatorId": 1,
"ownerId": 1,
"createdAt": "2024-03-07T20:21:42Z"
}
],
"pagination": {
"prevUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgYmVmb3JlOjo6Nw",
"nextUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgIGFmdGVyOjo6NA"
}
}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