curl --request GET \
--url http://127.0.0.1:3333/v3/workspaces/{workspaceId}/members \
--header 'Authorization: Bearer <token>'{
"members": [
{
"userId": "<string>",
"workspaceId": "<string>",
"role": "ADMIN",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"email": "<string>",
"image": "<string>"
}
],
"invitations": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"workspaceId": "<string>",
"type": "ADMIN"
}
]
}List members and invitations for a workspace.
curl --request GET \
--url http://127.0.0.1:3333/v3/workspaces/{workspaceId}/members \
--header 'Authorization: Bearer <token>'{
"members": [
{
"userId": "<string>",
"workspaceId": "<string>",
"role": "ADMIN",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"email": "<string>",
"image": "<string>"
}
],
"invitations": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"workspaceId": "<string>",
"type": "ADMIN"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.