> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 获取子部门ID列表

普通自建应用只能拉取token对应的应用的权限范围内的部门列表通讯录同步助手可获取企业所有部门id

指令参数说明：

通过【初始化-获取access\_token】指令获取参数

<img src="https://mintcdn.com/bazhuayu-rpa-docs/3T28-M3CPw0yKoKf/helpcenter/commands/custom-commands/IPzFl8Q0/images/jluwEFEU-01.png?fit=max&auto=format&n=3T28-M3CPw0yKoKf&q=85&s=e5dd65aa8fb7608f80d5b001e4aa8d5b" alt="image" width="661" height="431" data-path="helpcenter/commands/custom-commands/IPzFl8Q0/images/jluwEFEU-01.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/3T28-M3CPw0yKoKf/helpcenter/commands/custom-commands/IPzFl8Q0/images/jluwEFEU-02.png?fit=max&auto=format&n=3T28-M3CPw0yKoKf&q=85&s=cd87c364d836d032afc127919a835768" alt="image" width="1004" height="251" data-path="helpcenter/commands/custom-commands/IPzFl8Q0/images/jluwEFEU-02.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
