Prerequisites
- Configure the Voice integration:
- If you use a Voice Copilot Endpoint for voice or chat use cases.
- If you use a Webhook Endpoint for voice use cases.
Restrictions
- If you use a Webhook Endpoint, you’re charged for two conversations: one with the webhook and one with Agent Copilot.
Create an endpoint
Mock a request via Postman or curl to validate the webhook accepts your session.- Voice Copilot
- Webhook
- In the navigation menu, click Deploy > Endpoints.
- On the Endpoints page, click + New endpoint.
- In the New endpoint dialog, select Voice Copilot and click Create endpoint.
- On the Setup tab, do the following:
- In Endpoint name, enter a unique name.
- Set Target type to Flow and select a flow from the list.
- Click Save.
- In the Integration section, copy the URL from the Endpoint URL field.
Mock a request
Send aPOST request to the Endpoint which you configured in the previous step.
Your web server should accept POST requests and process the JSON payload sent by Cognigy. For testing purposes, you can use webhook.site as a temporary web server.
- cURL
- Postman
Replace
https://<your-endpoint-url> with the Endpoint URL from your Endpoint’s settings.Configure the Agent Copilot URL
When setting up Agent Copilot, you can choose between embedded or standalone Agent Copilot versions. For standalone Agent Copilot, use the URL format to access the workspace:(Optional) Embed in the agent desktop
You can embed Agent Copilot into any contact center interface using an iframe. Some platforms may require additional setup, such as enabling scripts or granting API access. Embedding is specific to the contact center, so verify the integration on the provider’s side to ensure proper functionality.More information
1: You must provide at least one of
text or data. You can send either, or both. If both are missing or invalid, the REST Endpoint throws an error.