---
title: "Move to campaign"
method: PUT
path: "/campaign-leads/move-to-campaign"
tags: ["CampaignLeads"]
---

# Move to campaign

`PUT /campaign-leads/move-to-campaign`

The Move to campaign API endpoint allows you to move leads from one campaign to another. You should specify the following fields in the request body:

#### Request Body

- `id` (array of integers) - The Lead IDs of the leads to be moved.
    
- `source_campaign_id` (integer) - The ID of the source campaign.
    
- `with_preserve_data` (boolean) - Indicates whether to preserve the data while moving the leads.
    
- `destination_campaign_id` (integer) - The ID of the destination campaign.

## Request body

- object
  - `destination_campaign_id` number
  - `id` number[]
  - `source_campaign_id` number
  - `with_preserve_data` number

## Response `200`

Successful operation / Failed operation

- object
  - `campaignLeads` object[]
    - `amd_disabled` string
    - `assigned_at` unknown
    - `assigned_user_id` unknown
    - `assigned_user_permanent` string
    - `call_after` unknown
    - `call_after_outside_allowed_time` string
    - `calls_count` string
    - `campaign_id` string
    - `clone_of` unknown
    - `created_at` string
    - `is_deleted` string
    - `lead_id` string
    - `no_ratio` string
    - `outbound_ivr_disabled` string
    - `override_trunk_id` string
    - `permanent_assignment_expire_at` unknown
    - `status_id` string
    - `updated_at` string
    - `updating_status_started_at` unknown
    - `weight` string
  - `messages` unknown[]
    - unknown

## Other responses

- `404` — Error (source campaign id) / Error (destination campaign id)

---

[API](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1.md) · [All operations](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/commpeak/dialer-api-v2-0-1/revisions/eacecf960bb6/schema)
