应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 支持 | chat相关接口的读取权限 | API Explorer |
第三方企业应 用 | 支持 | chat相关接口的读取权限 | API Explorer |
第三方个人应用 | 暂不支持 | chat相关接口的读取权限 | 暂不支持 |
错误码(errorcode) | 错误码描述(errmsg) | 解决方案 |
---|---|---|
40035 | 无效的请求参数 | 请确认参数是否符合上述入参要求 |
400020 | 无访问权限 | 请确认群内是否安装群模板,或者安装的群模板是否属于当前token对应的应用名下 |
400001 | 系统错误 | 优先确认群ID是否正确,请稍后重试 |
curl --location --request POST 'https://oapi.dingtalk.com/topapi/im/chat/scenegroup/get?access_token' \
--header 'Content-Type: application/json' \
--data-raw '{
"open_conversation_id":"cid9FTRQSLo+s*****=="
}'
{
"result": {
"sub_admin_staff_ids": [
"string"
],
"open_conversation_id": "string",
"icon": "string",
"template_id": "string",
"title": "string",
"owner_staff_id": "string",
"management_options": {
"chat_banned_type": "string",
"validation_type": "string",
"mention_all_authority": "string",
"management_type": "string",
"searchable": "string",
"show_history_type": "string"
},
"group_url": "string"
},
"errcode": 0,
"success": true,
"errmsg": "string",
"request_id": "string"
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通