Skip to Content
Members and roles

List members

Permissionmembers:readAuthentication
GET
/members

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.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Query Parameters

cursor?string

Opaque pagination cursor from a previous response's next_cursor.

limit?integer

Number of memberships to return.

Range1 <= value <= 100
Default50

Response Body

One page of current memberships.

application/json
  1. response
data*array<>
next_cursor*|

Cursor for the next membership page, or null after the final page.

Example Request
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"}