Campaigns
Campaigns

Add contacts to a campaign (JSON)

Add one or more contacts to a campaign by JSON payload. Each contact needs at minimum phone_number; name and a variables object (arbitrary key/value template variables consumed by the agent's system prompt) are optional. Duplicate phone numbers are silently skipped via ON CONFLICT. Only allowed while the campaign is in draft status — for bulk import prefer POST /upload-csv.

post/v1/campaigns/{campaign_id}/contacts

Request

  • Base URL: https://api.call2me.app
  • URL: https://api.call2me.app/v1/campaigns/{campaign_id}/contacts
  • Auth: HTTP bearer

Path parameters

campaign_idstring required

Request body

Response

Number of contacts inserted (duplicates by phone are skipped).

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.