campaigns

Add a custom data column to campaign contacts

Adds a new custom column to all contacts in a campaign's call queue. The column is added to the social_data field of every contact's json_csv_infos. The column name must be unique — it cannot duplicate an existing field name in or outside of social_data (e.g., firstname, lastname, company are reserved). An initial value can be provided for each contact. This operation is logged in the campaign's audit log (see GET .../logs).

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

post/campaigns/call/{campaignscalllistuuid}/numbers/columns

Path parameters

campaignscalllistuuidstring uuid required

The UUID of the campaign (e.g., 1a7a5639-3818-4b0e-9285-f6b3795f8db4). Use GET /campaigns/call to discover campaign UUIDs.

Request body

namestring required

Name of the column to add

numbers_dataobject

Map of values for each number. If no value is specified for a number, it will be added with an empty value

Example request

{
  "numbers_data": {
    "33622222222": "Hello!",
    "33622222211": "Bonjour!"
  }
}

Response

Successful operation