GET
/
api
/
v1
/
workspace-memberships
{
  "data": [
    {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "privileges": [
        "ROLE_WORKSPACE_OWNER"
      ],
      "user": {
        "id": "<string>",
        "email": "jsmith@example.com",
        "name": "<string>",
        "picture": "<string>",
        "updatedAt": "2023-11-07T05:31:56Z",
        "createdAt": "2023-11-07T05:31:56Z",
        "emailVerified": true
      },
      "userId": "<string>",
      "workspace": {
        "id": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "name": "<string>"
      },
      "workspaceId": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

user_id
string[] | null
workspace_id
string[] | null
expand
enum<string>[] | null
Available options:
user,
workspace

Response

200
application/json
Successful Response
data
object[]
required