---
title: "Create File Channel"
method: POST
path: "/v1/channels/files"
---

# Create File Channel

`POST /v1/channels/files`

This API endpoint creates a new file channel. See the File Channel resource for detailed descriptions of the properties.

## Request body

- object
  - `membershipType` string, required — The type of membership that this channel is associated with. Can be one of `individual`, `group` or `company`.
  - `membershipEntityId` string — Deprecated: Use clientId and companyId instead.
  - `memberIds` string[] — The `id`s of the clients to be added to this particular channel. Required for `group` channels. Ignored for `individual` and `company` channels.
  - `clientId` string — The `id` of the client this channel is for. Required when membershipType is `individual`.
  - `companyId` string — The `id` of the client this channel belongs to. Required when membershipType is `company` or when member(s) have multiple companies.

## Response `200`

200

- object
  - `id` string
  - `createdAt` string
  - `updatedAt` string
  - `membershipType` string
  - `clientId` string
  - `companyId` string
  - `membershipEntityId` string
  - `memberIds` string[]

## Other responses

- `400` — 400

---

[API](https://skmtc.net/assembly/apis/core-resources.md) · [All operations](https://skmtc.net/assembly/apis/core-resources/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/assembly/core-resources/versions/28a9e7d13a8c/schema)
