Skip to main content

REST API

Connect your Copilot to external systems by pulling data from REST APIs. This allows your Copilot to access real-time data, such as updates, reports, or dynamic information from third-party services.

Connect REST API for real-time data.

Key Configuration Options

  1. HTTP Methods : Choose the appropriate method based on the API's purpose.

    • GET: To fetch data.

    • POST: To send new data.

    • PUT: To update existing data.

      Select the appropriate HTTP method for your API request.
  2. Import cURL Commands: You can also import cURL commands to quickly configure API requests.

    Import cURL commands to configure API requests.
  3. Body: For POST or PUT requests, include a JSON payload in the "Body" section, if required. Example:

    Include a JSON payload for POST or PUT requests.
    {
    "name": "John Doe",
    "email": "[email protected]",
    "status": "active"
    }
  4. Headers: Specify the HTTP headers required for the API, such as: Custom Headers Add any additional headers as required by the API.

    Specify HTTP headers for the API request.
  5. Query Parameters: Add key-value pairs to refine the request.

    Add query parameters to refine your API request.
  6. Authorization: Provide API tokens or keys for secure access.

    Enter API tokens or keys for secure access
Copilot dark logo

More than just a virtual AI assistant, Copilot adds the flavor of interaction and engagement to your website. Easy to create, easier to customize, and easiest to deploy. Let Copilot enhance user experience on your website based on the information you provide.

Is this page useful?