Chats
Get a list of addable members to a member chat based on the chats scope and the users role in that scope.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
chatId*string
Query Parameters
chatId?string
Format
uuidResponse Body
application/json
curl -X GET "https://example.com/chats/member/members/string"{ "projectMembership": [ { "userId": "6661714bb26e266ece994286", "resourceId": "6661714bb26e266ece99427f", "resourceType": "project", "roles": [ "projectOwner" ], "createdAt": 1717662028244, "updatedAt": 1717662028244, "id": "6661714cb26e266ece99428b", "resource": { "workspaceId": "6661714bb26e266ece994278", "name": "McGlynn Group", "slug": "mcglynn-group", "status": "active", "createdAt": 1717662027953, "updatedAt": 1717662027953, "id": "6661714bb26e266ece99427f" }, "user": { "firstName": "Rory", "lastName": "Mann", "displayName": "Catherine", "id": "6661714bb26e266ece994286" } } ], "workspaceMembership": [ { "userId": "6661714bb26e266ece994286", "resourceId": "6661714bb26e266ece99427f", "resourceType": "project", "roles": [ "projectOwner" ], "createdAt": 1717662028244, "updatedAt": 1717662028244, "id": "6661714cb26e266ece99428b", "resource": { "workspaceId": "6661714bb26e266ece994278", "name": "McGlynn Group", "slug": "mcglynn-group", "status": "active", "createdAt": 1717662027953, "updatedAt": 1717662027953, "id": "6661714bb26e266ece99427f" }, "user": { "firstName": "Rory", "lastName": "Mann", "displayName": "Catherine", "id": "6661714bb26e266ece994286" } } ]}