Skip to content

获取认证信息

获取企业主体名称、是否认证等信息。

请求

项目
HTTP URLhttps://open.feishu.cn/open-apis/verification/v1/verification
HTTP MethodGET
支持的应用类型custom,isv
权限要求 调用该 API 所需的权限。开启其中任意一项权限即可调用verification:verification_information:readonly 查看租户认证信息

请求头

名称类型必填描述
Authorizationstringtenant_access_token 值格式:"Bearer access_token" 示例值:"Bearer t-7f1bcd13fc57d46bac21793a18e560" 了解更多:如何选择与获取 access token

响应

响应体

名称类型描述
codeint错误码,非 0 表示失败
msgstring错误描述
data\--
  └ verificationverification认证信息
    └ namestring企业主体名称
    └ has_verificationboolean企业是否完成认证; true 表示已经完成认证,false 表示未认证

响应体示例

json
{
    "code": 0,
    "data": {
        "verification": {
            "has_verification": true,
            "name": "无限未来科技公司"
        }
    },
    "msg": ""
}

错误码

HTTP状态码错误码描述排查建议
4042010001tenant not found确认tenant_access_key是否正确
4032010002no permission如果ISV应用是预装的并且180天内企业未使用过此应用,则无法通过此接口获取到企业信息

内容来源:飞书开放平台 · 自动爬取整理