---
title: 获取部门讨论
description: POST /nd/api/file/dep_discussion：获取部门讨论 接口说明，包含路径、方法、参数和返回信息。
slug: api-post-nd-api-file-dep-discussion
lang: zh
category: 消息与登录 API
category_order: 8
order: 156
api_method: POST
api_path: /nd/api/file/dep_discussion
api_label: 获取部门讨论
keywords:
  - API
  - 获取部门讨论
  - /nd/api/file/dep_discussion
---

# 获取部门讨论

| 属性 | 值 |
| --- | --- |
| HTTP 方法 | `POST` |
| 接口路径 | `/nd/api/file/dep_discussion` |
| 所属分类 | 消息与登录 API |

## 接口说明

接口路径：`/nd/api/file/dep_discussion`

HTTP 方法：`POST`


**HTTP 方法：** `POST`

#### POST 请求体参数

参数名 Comment(说明)
dep_id 部门 id（必填）string
pagesize 页的大小 string
start_id 消息 id,只会获取此消息之前的消息，为空则获取最新消息 string
#### 返回字段说明

{"msgArr":[],"gotMoreMessages":1,"code":0,"success":true}

## 调用说明

- 调用前需完成 [获取 token](api-post-api-token-do.md) 或相应免登录认证，并在请求 Header 中携带 `Authorization: Bearer <access_token>`。
- 参数和返回字段如因部署版本存在差异，应以实际私有云 API 文档和联调结果为准。
- 所属分类：消息与登录 API。
