Docs
Workspace Settings

List members

List workspace members and their roles

Every member of the workspace plus the organization owners, who hold implicit admin on every workspace and so carry no membership row of their own (isOrgOwner: true). Pending invites are not members and are not listed.

GET
/v2/workspaces/{workspaceId}/members

Path Parameters

workspaceIdnumber

Response Body

curl -X GET "https://lynx-api.trulyinbox.com/v2/workspaces/0/members"
{
  "data": [
    {
      "userId": 0,
      "email": "string",
      "name": {},
      "role": "owner",
      "isOrgOwner": true,
      "joinedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}