Skip to main content
POST
/
api
/
v1
/
pools
/
{uuid}
/
duplicate
Duplicate a pool, optionally copying its contacts
curl --request POST \
  --url https://{subdomain}.mihu.ai/api/v1/pools/{uuid}/duplicate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "copy_contacts": true
}
'
{
  "success": true,
  "message": "Pool duplicated successfully",
  "data": {
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "description": "<string>",
    "type": "FIFO",
    "max_parallel_items": 123,
    "max_retries": 123,
    "is_active": true,
    "contacts_count": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "contacts_copied": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required

UUID of the source pool to duplicate.

Body

application/json
name
string | null

Name for the new pool. If omitted, defaults to ' (copy)'.

copy_contacts
boolean

If true (default), every ContactPoolItem from the source is recreated in the new pool with status=Pending and the source's priority. If false, the new pool is created empty.

Example:

true

Response

New pool created. Response includes contacts_copied count.

success
boolean
Example:

true

message
string
Example:

"Pool duplicated successfully"

data
object

PoolResource fields plus contacts_copied.