Nurama Developers
Chats

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.

GET
/chats/member/addable

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.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

scopeType*string

Value in

  • "workspace"
  • "project"
scopeId*string
Formatuuid

Response 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"      }    }  ]}