如何找到我的 Zoho 账户的 AccountId?

发布于 2025-01-16 16:33:13 字数 396 浏览 1 评论 0原文

我正在尝试为 Zoho 进行一些 API 调用,例如电子邮件 API。 但由于不知道我的帐户 ID,我无法提出有效的请求。 请注意,我知道我的用户 ID,可以从 Zoho 中的个人资料部分找到该用户 ID。

如何找到我的帐户 ID?

注意:

我尝试调用此 API,但出现错误。

http://mail.zoho.com/api/accounts

我得到的错误:

{"data":{"errorCode":"INVALID_TICKET","moreInfo":"Invalid ticket"},"status":{"code":400,"description":"Invalid Input"}}

谢谢!

Im trying to make some API calls for Zoho, like Email API.
But i am not able to make a valid request due to not knowing my Account Id.
Note that i know my User Id which i can find from my profile section in Zoho.

How can I find my Account Id?

Notes:

I tried calling this API, but getting an error.

http://mail.zoho.com/api/accounts

The error I get:

{"data":{"errorCode":"INVALID_TICKET","moreInfo":"Invalid ticket"},"status":{"code":400,"description":"Invalid Input"}}

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

滿滿的愛 2025-01-23 16:33:13

Zoho 文档对帐户 ID 的解释:

“每个用户可能有多个与其 Zoho Mail 帐户关联的帐户。他们可能添加了多个可以从 Zoho Mail 界面访问的 POP 帐户。您关联的每个帐户Zoho 帐户将有一个单独的帐户 ID。在传递多个用户和帐户相关的 API 请求时,您可以使用组织用户详细信息 API 检索与 Zoho 帐户关联的每个帐户的帐户 ID。需要 OrgID使用此 API 获取用户帐户详细信息。”

提到的组织用户详细信息 api 是这个
https://www.zoho.com/mail/ help/api/get-org-users-details.html

在这里你可以看到你获取了帐户ID

在此输入图片描述

Zoho's documentation explanation of account id:

"Each user might have more than just one account associated with their Zoho Mail account. They might have added several POP accounts that can be accessed from the Zoho Mail interface. Each account that you associate with a Zoho account will have a separate Account ID. You'll need the account ID while passing several user and account related API requests. The account ID for each account associated with a Zoho account can be retrieved using the Organization User Details API. You will need the OrgID to fetch the User account details using this API."

And the organization user details api mentioned is this
https://www.zoho.com/mail/help/api/get-org-users-details.html

And here you can see you get the account id

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文