gpt4 book ai didi

Zoho API : Get the user that is making the request

转载 作者:行者123 更新时间:2023-12-02 03:25:42 25 4
gpt4 key购买 nike

我已经看到 Zoho API 为我们提供了获取各种用户信息的选项,但我找不到任何方法来获取有关当前发出请求的用户的信息。

OAuth2 安全 API 通常提供这样的端点,例如 GoogleTwitter做。

在他们的documentation中有一些看起来像这样的东西:

https://www.zohoapis.com/crm/v2/users?type= 当前用户

但随后他们的解释让所有希望破灭了:CurrentUser - 获取当前 CRM 用户列表

有什么已知的方法可以实现这一点吗?

最佳答案

这是正确的端点:https://accounts.zoho.com/oauth/user/info

它需要 aaaserver.profile.READ 范围。

响应示例:

{
"ZUID": 123123123123,
"First_Name": "Example",
"Last_Name": "Name",
"Display_Name": "Example Name",
"Email": "<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="5a3f223b372a363f1a3f373b333674393537" rel="noreferrer noopener nofollow">[email protected]</a>"
}

关于Zoho API : Get the user that is making the request,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53504268/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com