cURL
curl --request GET \ --url https://api.example.com/api/ee/users \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "name": "<string>", "email": "<string>", "role": "OWNER", "createdAt": "2023-11-07T05:31:56Z", "lastActivityAt": "2023-11-07T05:31:56Z" } ]
Returns all members of the organization. Only organization owners can access this endpoint.
Send either a Sourcebot API key (sbk_...) or, on EE instances with OAuth enabled, an OAuth access token (sboa_...) in the Authorization header.
sbk_...
sboa_...
List of organization members.
OWNER
MEMBER
GUEST
Was this page helpful?