curl --request GET \
--url https://api.yorlet.com/v1/loyalty/residents \
--header 'Authorization: <api-key>'{
"count": 1,
"has_more": false,
"object": "list",
"data": [
{
"id": "<string>",
"created": 123,
"object": "resident",
"building": "<string>",
"email": "<string>",
"name": "<string>",
"tier": "<string>",
"status": "active",
"account": "<string>",
"deleted": false
}
]
}List all residents
curl --request GET \
--url https://api.yorlet.com/v1/loyalty/residents \
--header 'Authorization: <api-key>'{
"count": 1,
"has_more": false,
"object": "list",
"data": [
{
"id": "<string>",
"created": 123,
"object": "resident",
"building": "<string>",
"email": "<string>",
"name": "<string>",
"tier": "<string>",
"status": "active",
"account": "<string>",
"deleted": false
}
]
}API Key authentication. Use "Bearer YOUR_API_KEY".
A dictionary with a data property that contains an array of up to limit residents. Each entry in the array is a separate resident object. If no more residents are available, the resulting array will be empty.
Was this page helpful?