List Target List Members
List the people who can work one of the calling organisation's target lists.
Each item is a member's email, name and access (owner, editor or viewer), plus a member_id identifying that person's access to the list. Owner first by default; keyset cursor pagination. Requires the target_lists:read scope.
Errors: 400 a malformed cursor ยท 404 the list does not exist, belongs to another organisation, or is hidden from the caller, as on GET /v1/target-lists/{id} (deliberately indistinguishable) ยท 422 target_list_id is not a UUID, limit is out of range, or sort_order is not asc/desc.
curl -X GET "https://api.handshaik.com/v1/target-lists/3fa85f64-5717-4562-b3fc-2c963f66afa6/members" \
-H "Authorization: Bearer $HANDSHAIK_PUBLIC_API_KEY"Authorization
AuthorizationstringheaderrequiredOAuth2 client_credentials (M2M). Request a token with the
audienceset tohttps://api.handshaik.com.Handshaik's own first-party apps, such as the Chrome extension, instead sign a Handshaik user in with the authorization code flow and PKCE, with the same
audience. Such a token acts as that user, within their organisation. Partner integrations use client_credentials.
Parameters
target_list_idstring<uuid>pathrequiredThe target list's
id, as returned byGET /v1/target-listscursorstring | nullqueryOpaque pagination cursor
limitintegerqueryItems per page (1โ100)
Default:50sort_orderenum<string>queryOrder by access, then by when the member was added: asc lists the owner first, then editors, then viewers, each oldest first; desc reverses that order
One of:ascdescDefault:asc
Response
Successful Response
itemsTargetListMemberPublic[]requiredThis page of results, in the requested sort order
next_cursorstring | nullrequiredOpaque cursor for the following page โ pass it back as
cursor. Null when this is the last page. Treat it as opaque: its encoding is not contract and changes without noticeprev_cursorstring | nullrequiredOpaque cursor for the preceding page. Null on the first page, and always null on endpoints documented as forward-only
has_nextbooleanrequiredWhether a further page follows. Page on this and `next_cursor`, never on `len(items)` โ a page may hold fewer than
limititems, even none at all, while this is still true, so a client that stops at the first short page silently truncates its resultshas_prevbooleanrequiredWhether a preceding page exists
limitintegerrequiredThe page size that was applied โ an upper bound on
items, not the number returnedtotal_countinteger | nullHow many records match, or null where the endpoint does not count. Read `count_capped` before using this: when counting is capped this is clamped to the cap and the true total is higher. Some endpoints return it on the first page only, rather than paying for a count on every page
total_pagesinteger | nullPages at the current
limit, derived fromtotal_countโ so it inheritstotal_count's capping and is a lower bound whenevercount_cappedis truecount_cappedboolean | nullWhether
total_countwas limited by a counting cap. True means it was clamped to the cap and the real total is greater than or equal to it โ never present it as an exact figure. False means a cap was in force but the real total fell under it; null means no cap applied. Under either,total_countis exact *when present* โ but it can still be null, because an endpoint that does not count, and a bounded count that timed out, both leave it null without flagging a cap
{
"items": [
{
"member_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"email": "string",
"name": "string",
"access": "owner"
}
],
"next_cursor": "string",
"prev_cursor": "string",
"has_next": true,
"has_prev": true,
"limit": 0,
"total_count": 0,
"total_pages": 0,
"count_capped": true
}