Request
Basic information
| Field | Value |
|---|---|
| HTTP URL | https://api.dingtalk.io/v1.0/rooms/meetingRoomLists |
| HTTP Method | GET |
| Supported app types | appType-Internal app appType-Third-party enterprise app |
| Permissions required | permission-VideoConference.Conference.Read-Read permission for Video Meeting information |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
| x-acs-dingtalk-access-token | String | Yes | The access credential for calling this API. Obtain it as follows: - For an internal app, call the Get the access token of an internal app API. - For a third-party enterprise app, call the Get the access token of an organization authorized to a third-party app API. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| nextToken | Long | No | The pagination cursor. - Leave this parameter empty for the first call. - For subsequent calls, pass the nextToken returned by the previous call. |
| maxResults | Integer | No | The page size. Default: 20. Maximum: 100. |
| unionId | String | Yes | The unionId of the operator. Obtain it by calling the Query user details API. |
Request example
HTTPResponse
Response body
| Name | Type | Description |
|---|---|---|
| hasMore | Boolean | Whether more results are available. - true: Yes - false: No |
| nextToken | Long | The pagination cursor. |
| result | Array | The list of rooms. |
| roomId | String | The room ID. |
| roomStaffId | String | The employee ID of the room within the organization. Reserved field. Not currently used. |
| corpId | String | The organization ID (CorpId) the room belongs to. |
| roomName | String | The room name. |
| roomStatus | Integer | The room status. - 0: Visible to all members - 1: Visible to admins only - 2: Visible to selected users |
| roomLabels | Array | The list of room tags. |
| labelId | Long | The tag ID. - 1: TV - 2: Phone - 3: Projector - 4: Whiteboard - 5: Video Meeting |
| labelName | String | The tag name. |
| roomCapacity | Integer | The room capacity. |
| roomLocation | Object | The room location. |
| title | String | The location name of the room. |
| desc | String | The detailed location information of the room. |
| roomPicture | String | The room image. |
| isvRoomId | String | The external room ID of the caller. |
| roomGroup | Object | The room group information. |
| groupId | Long | The group ID. |
| groupName | String | The group name. |
| parentId | Long | The parent group ID. |
Response body example
Error codes
If an error occurs when calling this API, refer to the Global error codes document for solutions based on the error message.| HttpCode | Error code | Error message | Description |
|---|---|---|---|
| 400 | param.error | Param Error | Parameter missing error |
| 400 | user.not.employee | User Not Employee | User is not in the organization |
| 400 | org.not.found | Org Not Found | Organization not found |
| 500 | system.error | System Error | System error |