---
title: "Get all channels for an organization"
method: POST
path: "/chat/channel/{channel_id}/message"
tags: ["chat"]
---

# Get all channels for an organization

`POST /chat/channel/{channel_id}/message`

## Request

- Base URL: `https://api.ora.pm`
- URL: `https://api.ora.pm/chat/channel/{channel_id}/message`
- Auth: OAuth 2
  - Authorization code: `https://app.ora.pm/authorize`
  - Token URL: `https://api.ora.pm/oauth/token` scopes: `read`, `write`

## Request body

- SendMessage
  - `text` string, required: Text of the message.

## Response `200`

Success

- Discussion
  - `id` integer: ID of the channel.
  - `autojoin` boolean: True if new members are added to the channel automatically
  - `archived` boolean: True if the project is archived, if false it is not.
  - `created_at` string, date-time: Date and time when the channel is created.
  - `last_update` string: Date and time when the channel was last updated.
  - `created_by` integer: ID of the channel creator.
  - `name` string, required: Name of the channel.
  - `description` string, required: Description of the channel.
  - `picture` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

[API](https://skmtc.dev/ora/apis/ora-api.md) - [All operations](https://skmtc.dev/ora/apis/ora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ora/apis/ora-api/revisions/983b9e0b0dda?raw)
