Get Member
const url = 'https://example.com/v1/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'X-API-Key: <X-API-Key>'One person’s role on every space of the organization the caller reads,
with where each comes from. Needs members:read and an organization
key: a workspace key never reads across the organization.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”The person’s access across the organization
One person’s access across the organization: every space the caller reads.
object
A member of the organization; false for a guest
One space of a person’s access across the organization.
object
A workspace’s icon; null for none
Their effective role here
Organization or workspace
The role granted on this space itself, if any
One reason a person holds a role on a space.
object
Direct, inherited (from the organization), membership or inherited_membership
The space the grant sits on: this one or the organization
object
A workspace’s icon; null for none
The space whose membership carried the grant, if any
object
A workspace’s icon; null for none
Example
{ "member": false, "spaces": [ { "kind": "organization", "role": "viewer", "direct": "viewer", "paths": [ { "role": "viewer", "granted_on": { "kind": "organization" }, "via": { "kind": "organization" } } ] } ]}Invalid or missing API key
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}The key lacks members:read, or its creator’s role does not allow it
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}Not found or not readable
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}