Skip to main content
POST
/
contact-lists
/
import
Import Contact List
curl --request POST \
  --url https://api.politicalcomms.com/v1/contact-lists/import \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "source_url": "https://example.com/path/to/list.csv",
  "organization_id": "01HX0000000000000000000000",
  "brand_id": "01HX0000000000000000000001",
  "list_name": "Spring Outreach List",
  "phone_column": "phone",
  "merge_tags": {
    "first_name": "first_name",
    "last_name": "last_name",
    "address": "street",
    "address_line_2": "street2",
    "city": "city",
    "state": "state",
    "zip": "zip",
    "custom_fields": [
      {
        "csv_column": "donor_tier",
        "merge_tag": "tier"
      }
    ]
  }
}
'
{
  "success": true,
  "data": {
    "id": "cl_abc123",
    "list_name": "Spring Outreach List",
    "status": "importing",
    "created_at": "2025-03-15T10:00:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.politicalcomms.com/llms.txt

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

Authorizations

X-API-Key
string
header
required

Authenticate every request by passing your API key in the X-API-Key header. Keys are scoped to your organization hierarchy.

Body

application/json
source_url
string<uri>
required
organization_id
string
required
brand_id
string
required
list_name
string
required
phone_column
string
required
merge_tags
object

Response

Import accepted (poll the contact list for ready status)