---
title: Get department discussions
description: POST /nd/api/file/dep_discussion: Get the department discussion interface description, including path, method, parameters and return information.
slug: api-post-nd-api-file-dep-discussion
lang: en
category: Messages And Login API
category_order: 8
order: 156
api_method: POST
api_path: /nd/api/file/dep_discussion
api_label: Get department discussions
keywords:
  - API
  - Get department discussions
  - /nd/api/file/dep_discussion
---

# Get department discussions

| Properties | Values |
| --- | --- |
| HTTP method | `POST` |
| Interface path | `/nd/api/file/dep_discussion` |
| Category | Message and Login API |

## Interface description

Interface path: `/nd/api/file/dep_discussion`

HTTP method: `POST`


**HTTP method:** `POST`

#### POST request body parameters

Parameter name Comment (description)
dep_id department id (required) string
pagesize page size string
start_id message id, only the messages before this message will be obtained, if it is empty, the latest message will be obtained string
#### Return field description

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

## Call instructions

- Before calling, you need to complete [Get token](api-post-api-token-do.md) or the corresponding login-free authentication, and carry `Authorization: Bearer <access_token>` in the request header.
- If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: Message and Login API.
