---
title: "Swap the position of two custom columns"
method: PATCH
path: "/campaigns/call/{campaignscalllistuuid}/numbers/columns/switch"
tags: ["campaigns"]
---

# Swap the position of two custom columns

`PATCH /campaigns/call/{campaignscalllistuuid}/numbers/columns/switch`

## Request

- Base URL: `https://public-api.ringover.com/v2`
- URL: `https://public-api.ringover.com/v2/campaigns/call/{campaignscalllistuuid}/numbers/columns/switch`
- Auth: API key in header `Authorization`

Swaps the display order of two custom columns in the campaign's contact data. Provide `column1` and `column2` names in the request body — their positions in the `social_data` array will be exchanged. Both columns must exist and must be different. This operation is logged in the campaign's audit log (see `GET .../logs`).

**Permission:** No specific permission required. A valid API key is sufficient.

## Path parameters

- `campaignscalllistuuid` string, uuid, required

## Request body

- CampaignCalllistNumberSwitchColumn
  - `column1` CampaignCalllistNumberColumn
    - `name` string, required: column name
    - `in_social_data` boolean: in or out of field social_data
  - `column2` CampaignCalllistNumberColumn
    - `name` string, required: column name
    - `in_social_data` boolean: in or out of field social_data

## Response `200`

Successful operation

## Other responses

- `400`: Invalid request (empty column1.name, empty column2.name, same name for both columns). column1 or column2 don't exist.
- `401`: Token unauthorized
- `404`: Campaign not found
- `500`: Internal server error

## Changes

- **2025-11-20** `d92d55716cc3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ringover/apis/ringover-public-api/changes/campaigns/call/:campaignscalllistuuid/numbers/columns/switch/patch.md)

---

[API](https://skmtc.dev/ringover/apis/ringover-public-api.md) - [All operations](https://skmtc.dev/ringover/apis/ringover-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ringover/apis/ringover-public-api/revisions/645bfcebdd56?raw)
