Conversations integrations help businesses unify messages from every channel, chatbot, or third-party app into a single conversation and build interactive experiences everywhere.
- A webhook.
- (optional) A set of API keys to interact with the public API with a scope of integration. For information on creating the API keys, seeUsing Conversations API keys.
Note:Conversations integrations were formerly known aswebhooksin the Sunshine Conversations dashboard.
You can create conversations integrations through the Conversations Integrations page in Admin Center.
You can also create your integration using旋度orPostman.
This article includes the following sections:
Creating and configuring conversations in Admin Center
From the Conversations Integrations page, you can:
Creating a new conversation integration
- InAdmin Center, click
Apps and integrationsin the sidebar, then selectIntegrations > Conversations.The Conversations Integrations page opens. Any previously-created conversations appear in the list.
If this is yourfirsttime creating an integration in Admin Center, clickCreate integrationto view the Conversations Integrations page.
- ClickCreate integration. The Create Integration page opens.
- Enter a unique name to identify the integration.
- In the Webhook section, enter the following information:
- Webhook endpoint URL: The target URL. When a trigger event occurs, the webhook sees the event and sends the data to the target URL. The target URL uses the following format:
https://www.yourdomain.com/path
. - Webhook body data: Use the checkboxes to indicate whether you want to include the user schema and client and device information in the webhook data.
- Webhook subscriptionst:选择事件hat you want to be notified on.
- Webhook endpoint URL: The target URL. When a trigger event occurs, the webhook sees the event and sends the data to the target URL. The target URL uses the following format:
- ClickSave. The Copy shared secret window opens.
- (Optional) Copy the Webhook ID and Shared secret. These are used by developers to add another layer of authentication and are not required.
- ClickNext. The integration’s configuration page opens. From here you can add an API key, if necessary.
Adding an API key
On the API key tab, you can configure authentication for the integration. An API key identifies and authenticates an application or user and is composed of three pieces:
- TheApp IDidentifies your Zendesk account.
- TheKey IDwhen used together with the secret key are the credentials used to authenticate JWTs and API calls.
- Thesecret keyis the authentication password.
To create and share an API key
- InAdmin Center, click
Apps and integrationsin the sidebar, then selectIntegrations > Conversations.The Conversations Integrations page opens.
- Click the API key tab.
- ClickCreate API key. If you are creating your first key, this button appears at the bottom of the page; if you have previously created a key, it appears in the top-right corner.
- Enter an identifying name for the key in the Create new key dialog, then clickNext.
- In the Copy shared secret dialog, clickCopyfor each ID and secret key to save it to your clipboard, then clickNext. You're returned to the API window, where the new key appears in the list.
If you generate a new key but have reached your 10-key limit, a notification appears, asking you to delete any unused keys.
To delete an unused key
- InAdmin Center, click
Apps and integrationsin the sidebar, then selectIntegrations > Conversations.
- Click the API key tab.
- Hover your mouse pointer over the key you want to delete, then click the options menu (
) and select删除.
Viewing, editing, or deleting an integration
To work with an existing integration
- InAdmin Center, click
Apps and integrationsin the sidebar, then selectIntegrations > Conversations.The Conversations Integrations page opens.
- Hover over the integration you want to update and click theOptions icon(
), then select an option:
- View details: Displays the integration's details page, where you can view the App, Integration, and Webhook IDs, as well as information on shared secrets, webhook details, and API keys.
- Edit: Opens the Create Integrations page, where you can update the integration's name and webhook details.
- 删除: Launches a deletion wizard. You can cancel and exit the wizard at any time.
Other integration methods
These methods are available only to users with a separate Sunshine Conversations license, not the license that comes with Zendesk Suite Professional or above.
To create a conversations integration using curl
- Create an integration using theCreate IntegrationAPI and set
type
tocustom
. - Provide the necessary parameters as specified in the API. The target is the URL of your server and the list of triggers determines which events to receive.
To create a conversations integration using Postman
- Create an integration using theCreate IntegrationAPI and set
type
tocustom
. - Download and install thePostmanapplication.
- Download the Sunshine ConversationsPostman collectionand set up your environment.
- In Postman, selectSmooch > Integrations > Create Integrations.
- Provide the necessary parameters as specified by your integration type.
For more information on the Sunshine Conversations APIs, seeIntegrations.
Also see the guides onsendingandreceivingmessages. You will want toconfigure webhooksusing REST APIs.
5 Comments
HiGary Beichler,
Where does that integration/app go after creation?
Like in sunshine dashboard we can see app and their linked integrations, does this app goes to some sunshine account that is linked to this support account?
Kindly guide me the purpose of this feature.
Thanks.
HiShameen Rana,
Thanks for your comment! After creation, the integration will be linked to the Sunshine Conversations app linked to your Zendesk subdomain. However, for new users this will only be accessible via the Conversations Integration page in the Admin Center.
Only legacy Sunshine Conversation users will have access to the Sunshine Conversations dashboard.
Hope this helps!
Hello,
Is there a way or a plan for new users to access logs as legacy Sunshine Conversation users do?
Error: "GraphQL server responded with error 3441003: please retry in some time or reach support to get the issue fixed"
please help me to solve the WHATSAPP API Business Account creation error
Error:
WHATSAPP_BUSINESS_API_INBOX_ONBOARDING
Pleasesign into leave a comment.