access
GET /v1/orgs/{orgId}/members/{userId}/client-access
Which client accounts a team member may reach.
Authentication
Send an API key as a bearer token. The key must carry the members.read permission; a key without it is refused with 403, not 404.
Where your organisation id goes
This endpoint takes your organisation id in the URL itself, as orgId. Substitute it into the path — there is no header or query parameter that will do instead.
Your organisation id is on the API keys screen in your dashboard, beside the key itself. It is the same id in every call you make.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/orgs/{orgId}/members/{userId}/client-access \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Requires members.read on the org. A user who is not a member of it is a 404.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
orgId (path) | Uuid | Yes | Organization ID (UUIDv7). |
userId (path) | Uuid | Yes | The team member. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
user_id | Uuid | Yes | UUIDv7 identifier — sortable by creation time. |
limited | boolean | Yes | — |
client_org_ids | Uuid[] | Yes | The named client accounts, sorted. Empty when not limited. |
clients | object[] | Yes | The named client accounts that still exist, with their names. |
Errors this endpoint can return
401 · 404 · 429