Skip to main content
This guide shows how to embed Agent Copilot into a custom contact center or agent desktop using the Voice Copilot Endpoint. It helps developers test and validate Copilot quickly without a full contact-center setup. Works for both chat and voice.

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.
  1. In the navigation menu, click Deploy > Endpoints.
  2. On the Endpoints page, click + New endpoint.
  3. In the New endpoint dialog, select Voice Copilot and click Create endpoint.
  4. On the Setup tab, do the following:
    1. In Endpoint name, enter a unique name.
    2. Set Target type to Flow and select a flow from the list.
    3. Click Save.
  5. In the Integration section, copy the URL from the Endpoint URL field.

Mock a request

Send a POST 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.
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:
For the configuration details, see the Agent Copilot URL section.

(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.
Last modified on November 16, 2026