Get members addable to a NEW member chat, by scope, before the chat exists.
Populates the create-chat member picker. Unlike the raw membership-list endpoints, this is not admin-gated — any user permitted to create a member chat in the scope (including a plain workspaceChatMember) may call it, and only chat-eligible members are returned.
Populates the create-chat member picker. Unlike the raw membership-list endpoints, this is not admin-gated — any user permitted to create a member chat in the scope (including a plain workspaceChatMember) may call it, and only chat-eligible members are returned.
OAuth 2.1 authorization code flow with PKCE (required of every client, public or confidential). Scopes are a ceiling on the credential, not a grant of access: a token also cannot exceed what the user who approved it may already do. A write scope does not imply its matching read — ask for both.
In: header
Scope: chat:read
Query Parameters
Value in
- "workspace"
- "project"
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$uuidResponse Body
application/json
curl -X GET "https://example.com/chats/member/addable?scopeType=workspace&scopeId=497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "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" } } ]}