Skip to main content
GET
https://api.memcontext.in
/
api
/
workspaces
/
{workspaceId}
/
team
List workspace team
curl --request GET \
  --url https://api.memcontext.in/api/workspaces/{workspaceId}/team \
  --header 'X-API-Key: <api-key>'
{
  "members": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "userId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "email": "jsmith@example.com",
      "name": "<string>",
      "image": "<string>"
    }
  ],
  "invitations": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "email": "jsmith@example.com",
      "expiresAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

API key created from the MemContext dashboard. Keys are prefixed with mc_.

Path Parameters

workspaceId
string<uuid>
required

Response

200 - application/json

Current members and pending invitations for a workspace.

currentUserRole
enum<string>
required
Available options:
owner,
admin,
member,
viewer
members
object[]
required
invitations
object[]
required