Nurama Developers
Chats

Get a list of addable members to a member chat based on the chats scope and the users role in that scope.

GET
/chats/member/members/{chatId}

Authorization

AuthorizationBearer <token>

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

Path Parameters

chatId*string
Match^[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}$
Formatuuid

Response Body

application/json

curl -X GET "https://example.com/chats/member/members/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"      }    }  ]}