我们如何从 API 中检索对讲机 user/contacts?
How can we retrieve the intercom messenger user/contacts from the API?
我有一个集成了对讲信使的生产网站,现在我想从 API 中检索这些用户,我是一个访问令牌,后面跟着这个 URL https://developers.intercom.com/building-apps/docs/authentication-types#section-how-to-get-your-access-token
应用具有应用所有者访问权限。
现在我尝试检索 API https://api.intercom.io/contacts 版本 2.x 的用户。
尝试使用版本 1.x 也 https://api.intercom.io/users 但没有得到我的实时用户!
问题 -
- 如果我从 API 创建一个用户,那么我可以从 API 检索它,但在对讲机仪表板 https://app.intercom.com/a/apps/xyz/users/segments/all-users.[=27= 中看不到它]
- 无法从 API 检索仪表板中的用户。
你能指出我做错了什么吗?
我犯了一个愚蠢的错误。
API
对讲机的总结很少 -
它有 2 个版本 -
- 1.x -- 使用用户的概念
- 2.x -- 使用联系人概念,在这个版本中,用户,线索被联系人替换。
当您创建应用并获取访问令牌时,请确保您选择了具有应用所有者访问权限的正确令牌。
https://developers.intercom.com/building-apps/docs/authentication-types#section-how-to-get-your-access-token
当你调用 API 时选择正确的版本 - https://developers.intercom.com/building-apps/docs/update-your-api-version#section-selecting-the-version-via-the-api-request
我有一个集成了对讲信使的生产网站,现在我想从 API 中检索这些用户,我是一个访问令牌,后面跟着这个 URL https://developers.intercom.com/building-apps/docs/authentication-types#section-how-to-get-your-access-token 应用具有应用所有者访问权限。
现在我尝试检索 API https://api.intercom.io/contacts 版本 2.x 的用户。 尝试使用版本 1.x 也 https://api.intercom.io/users 但没有得到我的实时用户!
问题 -
- 如果我从 API 创建一个用户,那么我可以从 API 检索它,但在对讲机仪表板 https://app.intercom.com/a/apps/xyz/users/segments/all-users.[=27= 中看不到它]
- 无法从 API 检索仪表板中的用户。
你能指出我做错了什么吗?
我犯了一个愚蠢的错误。
API 对讲机的总结很少 - 它有 2 个版本 -
- 1.x -- 使用用户的概念
- 2.x -- 使用联系人概念,在这个版本中,用户,线索被联系人替换。
当您创建应用并获取访问令牌时,请确保您选择了具有应用所有者访问权限的正确令牌。 https://developers.intercom.com/building-apps/docs/authentication-types#section-how-to-get-your-access-token
当你调用 API 时选择正确的版本 - https://developers.intercom.com/building-apps/docs/update-your-api-version#section-selecting-the-version-via-the-api-request