API 库 / Zendesk Conversations
Zendesk Conversations

Zendesk Conversations

Zendesk · 其他连接器 · 57 个预置 API

Zendesk Conversations 基于 Sunshine Conversations 能力,帮助企业在 Web、移动端和第三方消息渠道中统一管理客户对话,并通过 API 读取和操作用户、会话、消息和集成相关数据。使用 API 前,管理员需要在 Zendesk Admin Center 中创建 Conversations API key,并将 App ID、Key ID 和 Secret Key 提供给集成连接使用。

第三方官方文档 ↗

预置 API

  • Update Webhook
    Updates the specified webhook associated with a Sunshine Conversations Connect integration or a custom integration.
  • Update User
    Updates a user.
  • Update Switchboard Integration
    Updates a switchboard integration record.
  • Update Switchboard
    Updates a switchboard record.
  • Update Integration
    Allows you to update certain fields of existing integrations. If updating a specific property is not supported, you must delete the integration and re-create it with the new data.
  • Update Conversation
    Updates a conversation record.
  • Update App
    Updates an app.
  • Synchronize User
    Synchronize a messaging user with its core Zendesk user counterpart. Messaging users are separate objects linked to a core Zendesk user record by `zendeskId`. It is possible for changes to be made ...
  • Release Control
    The releaseControl action releases the control of the conversation by nullifying its switchboard state. For more information, see the [switchboard guide](https://developer.zendesk.com/documentation...
  • Post Message
    Send a message in a particular conversation.
  • Post Conversion Events
    This API can be used to track your end user's interactions with third party channels.
  • Post Activity
    Notify Sunshine Conversations of different conversation activities. Supported activity types are: * Typing activity * Conversation read event
  • Pass Control
    The passControl action marks the selected switchboard integration as active and transitions all the other switchboard integrations to standby status. For information about the idempotency of this A...
  • Offer Control
    The offerControl action will invite a switchboard integration to accept control of the conversation (changing its status to pending), and trigger a webhook signal to that integration indicating tha...
  • Leave Conversation
    Removes a user from a conversation using either their userId, userExternalId, or participantId.
  • Download Message Ref
    When a third party channel provides a reference of a data, this API can be used to download the reference and fetch the full data. Currently, only apple channel is supported.
  • Delete Attachment
    Remove an attachment uploaded to Sunshine Conversations through the Upload attachment API. See [Attachments for Messages](#section/Attachments-for-Messages) to have attachments automatically delete...
  • Create Webhook
    Creates a new webhook associated with a Sunshine Conversations Connect integration or a custom integration.
  • Create User
    Creates a new user.
  • Create Switchboard Integration
    Create a switchboard integration.
  • Create Integration Key
    Creates an API key for the specified custom integration. The response body will include a secret as well it’s corresponding id, which you can use to generate JSON Web Tokens to securely make API ca...
  • Create Integration
    The Create Integration endpoint allows you to provision apps with front-end messaging channels. Selecting a `custom` integration allows the creation of webhooks.
  • Create Conversation
    Create a conversation for the specified user(s).
  • Create Client
    Create a client and link it to a channel specified by the `matchCriteria.type`. Note that the client is initially created with a `pending` status. The status of the linking request can be tracked b...
  • Accept Control
    The acceptControl action transfers the control of the conversation to the pending switchboard integration. When using integration auth scope, a 403 is returned if the pending switchboard integratio...
  • Upload Attachment
    Upload an attachment to Sunshine Conversations to use in future messages. Files are uploaded using the multipart/form-data content type. Use the returned mediaUrl to send a file, image or carousel ...
  • Remove Client
    Remove a particular client and unsubscribe it from all connected conversations.
  • List Webhooks
    Lists all webhooks for a given Sunshine Conversations Connect integration or custom integration.
  • List Switchboard Integrations
    Lists all switchboard integrations linked to the switchboard.
  • List Participants
    Lists all the participants of a particular conversation. This API is paginated through [cursor pagination](#section/Introduction/API-Pagination-and-Records-Limits). ```shell /v2/apps/:appId/conver...
  • List Messages
    List all messages for a particular conversation. This API is paginated through [cursor pagination](#section/Introduction/API-Pagination-and-Records-Limits), in the _backwards_ direction, with the m...
  • List Integration Keys
    Lists all API keys for a given integration.
  • List Devices
    Get all the devices for a particular user. The Devices are sorted based on last seen time.
  • List Clients
    Get all the clients for a particular user, including both linked clients and pending clients. This API is paginated through [cursor pagination](#section/Introduction/API-Pagination-and-Records-Limi...
  • Join Conversation
    Adds a user to a conversation using either their userId or userExternalId. The endpoint only supports adding a participant to a sdkGroup conversation.
  • Get Webhook
    Gets the specified webhook associated with a Sunshine Conversations Connect integration or a custom integration.
  • Get Integration Key
    Get the specified API key.
  • Get User
    Fetches an individual user.
  • Get Integration
    Get integration.
  • Get Conversation
    Fetches an individual conversation.
  • Get Device
    Fetches a specific Device.
  • Delete Webhook
    Deletes the specified webhook associated with a Sunshine Conversations Connect integration or a custom integration.
  • Delete User Personal Information
    Delete a user’s personal information. Calling this API will clear `givenName`, `surname`, `email` and `avatarUrl` and every custom property for the specified user. For every client owned by the use...
  • Delete Switchboard Integration
    Deletes the switchboard integration. If the deleted switchboard integration had an active status for some conversations, the active switchboard integration will be re-selected following the <a href...
  • Delete User
    Delete a user, its clients and its conversation history. The user is considered completely deleted once the `user:delete` webhook is fired. To only delete a user’s personal information, see [Delete...
  • Delete Message
    Delete a single message of a particular conversation.
  • Delete Switchboard
    Deletes the switchboard and all its switchboard integrations. The integrations linked to these switchboard integrations are not deleted and will start receiving all conversation events.
  • Delete Integration
    Delete the specified integration.
  • Delete Integration Key
    Removes an API key.
  • Delete Conversation
    Delete an entire conversation record, along with its messages and attachments. Note that the default conversation cannot be deleted, but the messages contained [can be](#operation/DeleteAllMessages).
  • Delete All Messages
    Delete all messages of a particular conversation.
  • List Users
    Lists users by their email identity. The `identities.email` filter parameter is required, and it will match users based on emails found in the `identities` array. This endpoint will not match again...
  • List Switchboards
    Lists all switchboards belonging to the app.
  • List Integrations
    List available integrations. This API is paginated through [cursor pagination](#section/Introduction/API-Pagination-and-Records-Limits). ```shell /v2/apps/:appId/integrations?page[after]=5e16067625...
  • List Conversations
    Lists all conversations that a user is part of. This API is paginated through [cursor pagination](#section/Introduction/API-Pagination-and-Records-Limits). ```shell /v2/apps/:appId/conversations?fi...
  • Get App
    Fetches an individual app.
  • Create Switchboard
    Create a switchboard.

对接说明

如何开始使用 Zendesk Conversations?

1. 以 Zendesk 管理员身份进入 Admin Center,打开 Apps and integrations > APIs > Conversations API。

接入说明

2. 点击 Create API key,输入便于识别的密钥名称,然后继续创建新的 Conversations API key。

接入说明

3. 复制 App ID。App ID 用于标识当前 Zendesk Conversations app,API 路径通常会包含 /sc/v2/apps/{app_id}。

接入说明

4. 复制 Key ID 和 Secret Key。使用 Basic authentication 时,Key ID 作为用户名,Secret Key 作为密码;请妥善保存 Secret Key。

接入说明

最后,在连接设置中填写调用 API 所需的对应参数信息。

同类连接器