Members and roles
List members
Permission
members:readAuthenticationGET
Returns workspace memberships in reverse creation order. Invitations have their own cursor stream at GET /members/invitations; follow next_cursor until null for a complete traversal.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
cursor?stringOpaque pagination cursor from a previous response's next_cursor.
limit?integerNumber of memberships to return.
Range
1 <= value <= 100Default
50One page of current memberships.
application/json- response
data*array<>next_cursor*|Cursor for the next membership page, or null after the final page.
curl -X GET 'https://api.kejue.co/v1/members'Example Response
{ "data": [ { "membership_id": "a4a28f8e-1ae6-49f7-beed-4e090aa324f4", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "email": "user@example.com", "display_name": "string", "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9", "role": "string", "version": 1, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "is_protected": true } ], "next_cursor": "string"}