# 获取应用

# 请求方式

GET

# 请求地址

https://nbd-api.myscrm.cn/open-nbd-qw-enterprise/v1/enterprise/self-built-app/get

# 请求参数

# 示例

https://nbd-api.myscrm.cn/open-nbd-qw-enterprise/v1/enterprise/self-built-app/get?app_id=39fe462e-21d3-0117-40f5-8a5ef7905328

# 说明

参数 必须 说明
app_id 企微中台应用 id

# 返回参数

# 示例

{
  "errcode": 0,
  "errmsg": "",
  "app_id": "39fe462e-21d3-0117-40f5-8a5ef7905328",
  "app_name": "newName",
  "qw_agentid": "newqw_agentid",
  "tenant_id": "39fdc0b7-221b-0346-5b68-06348a38d827",
  "e_id": "39fe462c-c857-0600-a486-da7963a8027d",
  "qw_api_secret": "newqw_api_secret",
  "has_disabled": true,
  "msg_callback_sec": {
    "msg_token": "RuRwqcV5xLhNA75px3PPK",
    "msg_encoding_aes_key": "3ksD8ssDuaWPEOAzf3Uo4sY17Af6XxpI9UCLhSFq9XD"
  },
  "app_type": 1,
  "is_upgraded": true
}

# 说明

参数 说明
app_id 企微中台应用 id
app_name 应用名称
qw_agentid 企微应用 id
tenant_id 企微中台租户 id
e_id 企微中台企业 id
qw_api_secret 企微 API 密钥
has_disabled 是否停用
msg_callback_sec.msg_token 消息 token
msg_callback_sec.msg_encoding_aes_key 消息密钥
app_type 应用类型:1-自建应用,2-代开发应用
is_upgraded 代开发应用是否已升级为密文