---
title: "Add Campaign Data (Token Authentication)"
method: POST
path: "/ca_apis/AddCampaignData"
tags: ["Campaign"]
---

# Add Campaign Data (Token Authentication)

`POST /ca_apis/AddCampaignData`

Adds campaign data, including campaign details and associated metadata.

## Headers

- `Content-Type` string, required

## Request body

- object
  - `campaignName` string, required — Name of the campaign where the data is to be added.
  - `phoneNumber` string, required — The phone number to be added.
  - `name` string — Optional name of the lead. Could be any of your choice.
  - `action` string — The action to be performed. Pass 'start' to start campaign after data is added.
  - `skill` string — Associated skill name.
  - `priority` integer — Priority of the number. Higher values are dialed sooner (1-99).
  - `agentId` string — Agent ID, if agent-wise campaign.
  - `expiryDate` string, date-time — Expiry date of the lead in YYYY-MM-DD HH:MM:SS format.
  - `checkDuplicate` boolean — Pass true to check for duplicate phone numbers.
  - `userName` string, required — Your CloudAgent account username.
  - `skipNameFieldValidation` boolean — Pass true, to skip name field validation.
  - `CustomFields1` string — Custom field 1 for additional data.
  - `CustomFields2` string — Custom field 2 for additional data.
  - `CustomFields3` string — Custom field 3 for additional data.

## Response `200`

Successful response

---

[API](https://skmtc.net/ozonetel/apis/agent-authentication.md) · [All operations](https://skmtc.net/ozonetel/apis/agent-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ozonetel/agent-authentication/versions/9096baa9c71b/schema)
