This resource represents a channel where Files can be shared across Clients and Companies. Items associated with a channel are only accessible to the members of that channel. The members of the channel are users in a portal including both clients and internal users.

Based on the membershipType of a file channel, the client members in that channel are either pre-determined or fluid. An individual file channel contains a single client; a company file channel always has all clients associated with the corresponding company.

On the other hand, a group file channel has a fluid list of clients within a company (it could potentially have one, several, or even all clients within the company). The members of a group file channel can be added or removed via the UI.

The membershipEntityId is a convenience property for individual and company file channels that allows you to easily identify the source entity for that file channel (without having to e.g. search through the memberIds).

Properties

This resources uses all common resource properties.

membershipType string
The type of membership that this channel is associated with. Can be one of individual, group or company.

individual: This channel is associated with a single client user.

group: This channel contains multiple client users. All clients users in a group must belong to the same company.

company: This channel contains all clients that are associated with a company. When a client is assigned to a company, they will be added to this channel. When a client is deleted or unassigned from a company, they will be removed from this channel.

membershipEntityId string

The id of the entity (client or company) that is the source of this file channel. Based on membershipType this value will represent the id of different resources. If membership type is:

individual: this value represents a Client.

company: this values represents a Company.

group: this value is empty.

memberIds array of strings
The user IDs associated with this particular channel. These will always be UUIDs of the members of the channel, including clients and internal users.

{
  "id": "us-east-1_JDwzcwQiA/339b6252-d773-4c58-a5ef-236ac3edc566",
  "object": "fileChannel",
  "createdAt": "2022-08-07T15:04:23Z",
  "updatedAt": "2022-08-07T15:12:05Z",
  "membershipType": "company",
  "membershipEntityId": "a6fcd58b-fc40-46e1-ab49-219ec8162a6b",
  "memberIds": [
    "b22a34db-f6ba-40cb-a415-c112d4c853d8",
    "1dbb3e36-af70-4f41-89e6-6ddf9e2c62b5",
    "5c65898e-ce60-4668-b7c8-901a124d046b"
  ]
}