Suite | Team, Growth, Professional, Enterprise, or Enterprise Plus |
Support | Team, Professional, or Enterprise |
已验证人工智能概要 ◀▼
通过生成、编辑、取消激活、重新激活或删除 API 密钥,管理对 Zendesk 帐户的 API 访问。在 Enterprise 服务模式中,查看密钥活动的审核日志。
位置: 管理中心 > 应用和整合 > API > API 密钥
用户可使用 API 密钥对 API 请求进行身份验证。API 密钥是自动生成的密码,可以和您的电邮地址相结合,用于对 API 请求进行身份验证,或用于对整合进行双重身份验证。每个 API 密钥可供帐户中通过验证的用户使用,并非与特定用户关联。您可以同时激活多个密钥。
您最多可以有 256 个密钥。如果已达到上限,则必须删除现有密钥才能添加新密钥。若帐户当前拥有的密钥超过 256 个,则该帐户的密钥上限为 2048。
API 密钥与 OAuth 访问密钥不同。请参阅 developer.zendesk.com 上的 API 密钥和访问密钥之间的区别。
本文章包含以下部分:
生成 API 密钥
编辑 API 密钥
您可编辑 API 密钥以更新密钥描述。
编辑 API 密钥
- 在管理中心,单击侧栏中的应用和整合 (
),然后选择 API > API 密钥。
- 找到您要编辑的密钥。
- 单击密钥旁边的选项菜单图标 (
),然后选择编辑。
- 为密钥输入新描述,然后单击保存。
取消激活和重新激活 API 密钥
在某些情况下,您可能想暂时停用密钥,以确保其不被泄露,或者您可能想停用密钥,以调查其使用方式,而实际上并未将其删除。已取消激活的密钥可以重新激活。
取消激活 API 密钥
- 在管理中心,单击侧栏中的应用和整合 (
),然后选择 API > API 密钥。
- 找到您要取消激活的密钥。
- 单击密钥旁边的选项菜单图标 (
),然后选择取消激活。
- 在确认对话框中,选择取消激活。
密钥状态随即更改。取消激活密钥后,使用密钥的 API 调用即会失败。
重新激活 API 密钥
- 在管理中心,单击侧栏中的应用和整合 (
),然后选择 API > API 密钥。
- 找到您要重新激活的密钥。
- 单击密钥旁边的选项菜单图标 (
),然后选择取消激活。
- 在确认对话框中,单击重新激活。
密钥状态随即从已取消激活更改为活跃。重新激活密钥将恢复其对 API 请求进行身份验证的功能。
删除 API 密钥
查看 API 密钥的审核日志 (Enterprise)
25 条评论
Sid Bhambhani
I know this is an older thread, but just wanted to share with the community in case anyone's still looking for a solution to restricting the API permissions - https://www.unevu.com/ provides a good solution for this by means of defining rules for which endpoints can be access, and even which fields should be available on a particular endpoint.
0
Alejandro Sánchez
Hola,
No me aparece la opción de API pese a tener la suscripción Team en Aplicaciones e integraciones.
Me aparecen solo Integraciones (logs e integraciones) y Conexiones (Conexiones y Clientes OAuth).
0
Audrey Ann Cipriano
Hi Charles Eljay Cruz welcome to our Community!
You and your team may follow our guide here :)
Making requests to API
List Tickets
0
Charles Eljay Cruz
Hello. Our Information Security team plan to enable the Zendesk API to integrate external application. How can we accomplish this? Thank you!
0
SUbodh Singh
Hi Team,
I'm integrating Zendesk in my tool/application where we need the OAuth 2.0 process for authorization, I have gone through the official documentation of API reference for the same, but facing an issue.
Issue:
I have created an account on Zendesk and created the Oauth Client APP. when we are authorized with the same account it works fine. when we authorize another Zendesk account then it's not working getting an error (Invalid Authorization Request No such client)
here is URL for the reference:
https://{subdomain}.zendesk.com/oauth/authorizations/new?response_type=code&redirect_uri=http://localhost:49417/listen/zendesk&client_id=Cloudsocial_zendesk&scope=read+write
If possible, let's us help to connect with developers for a quick call.
1
Jed Hollander
Ivan Miquiabas thank you for confirming.
0
Ivan Miquiabas
Thanks for reaching out!
While we do know that having access to API can only be by an administrator as per this article you can actually restrict them on Explore access via the Custom roles, so that even though users has access to API, you still do have control on accessing certain reports in your Zendesk account.
Hope that helps!
0
Jed Hollander
Was this ever answered?
I want to give someone API Access to work on an integration but I do not want them to have access to reporting. Is this possible?
Thanks.
0
Joyce
Generating an API token can be done within Apps and integrations > APIs > Zendesk API in the Admin Center. Only the OAuth access tokens can be created via API. You check this article for more information: Creating and using OAuth access tokens with the API
0
rahul siddu
hi,
is it possible to generate a new api - token through API, using zendesk access token?
0
登录以发表评论。