---
title: "POST /api/message-channel/"
method: POST
path: "/api/message-channel/"
tags: ["message-channel"]
---

# POST /api/message-channel/

`POST /api/message-channel/`

## Headers

- `X-Company` string

## Request body

- MessageChannel
  - `id` string, uuid, required
  - `company` string, uuid
  - `members` string
  - `last_message` string, required
  - `unread_messages` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable
  - `name` string, required
  - `image` string, uri, nullable
  - `is_company_channel` boolean
  - `is_project_channel` boolean
  - `created_by` string, uuid, nullable

## Response `201`

- MessageChannel
  - `id` string, uuid, required
  - `company` string, uuid
  - `members` string
  - `last_message` string, required
  - `unread_messages` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable
  - `name` string, required
  - `image` string, uri, nullable
  - `is_company_channel` boolean
  - `is_project_channel` boolean
  - `created_by` string, uuid, nullable

---

[API](https://skmtc.net/crewtraka/apis/crewtraka-api.md) · [All operations](https://skmtc.net/crewtraka/apis/crewtraka-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crewtraka/crewtraka-api/revisions/1c6a1af6e3ae/schema)
