Skip to main content

Project Cloning via API

Prerequisites

Authentication

All API requests require authentication using your API key as a query parameter:

api-key=%ACCOUNT_API_KEY%

API Endpoints

Base URL: https://api.dialer.brightcall.ai/api/v2

  • List Projects: GET /projects

  • Clone Project: POST /projects/clone/%PROJECT_ID%

Cloning Parameters

The following query parameters are available when cloning a project:

Parameter

Type

Description

cloneAgents

boolean

Copy all assigned agents from original project

name

string

Name for the new project

Example Request

Here's an example of how to clone a project using cURL:

curl -X POST \
'https://api.dialer.brightcall.ai/api/v2/projects/clone/%PROJECT_ID%?cloneAgents=true&name=%PROJECT_NAME%&api-key=%ACCOUNT_API_KEY%' \
-H 'accept: application/json' \
-d ''

Important Notes

  • The request body should be empty

  • Use POST method for the clone operation

  • Replace the placeholders with your values; URL-encode %PROJECT_NAME%

  • Contacts are not copied; the new project starts with an empty contact list. To reuse contacts, export them from the original project and import the file into the new project.

Did this answer your question?