Skip to main content
POST
Upload a CSV or Excel spreadsheet to import or update large cohorts of contacts simultaneously. If a contact with an identical phone number already exists within your organization, their name and tags are updated in-place; otherwise, a new contact record is created.

Authentication

This endpoint requires Bearer token authentication.

File Requirements

  • Supported Formats: .csv, .xlsx, .xls
  • Required Columns (case-insensitive headers):
    • phone_number: Destination telephone number (E.164 format recommended).
    • name: Contact full name or display name.
  • Optional Columns:
    • tags: Tag strings separated by commas or semicolons (e.g. vip; enterprise; q3_leads).

Example CSV Structure


Input parameters

string
required
Bearer token for authentication. Format: Bearer <token>.
file
required
The multipart form file upload (.csv, .xlsx, or .xls).

Response Fields

string
Human-readable summary of upload completion.
number
Total number of row records parsed from the file.
number
Number of brand new contacts provisioned.
number
Number of existing contacts whose profile or tags were updated.
number
Number of invalid rows that failed to import.
string[]
Itemized error descriptions for rows that failed validation (e.g. ["Row 4: Missing phone_number or name"]).


Previous
Contacts Overview
Back to Contacts documentation hub
Overview