---
title: "Get all channels for an organization"
method: GET
path: "/chat/{organization_id}"
tags: ["chat"]
---

# Get all channels for an organization

`GET /chat/{organization_id}`

## Request

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

## 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)
