Skip to main content

AddCampaignContact adds a contact to a campaign.

POST 

/api/v1/voice/campaigns/:campaignId/contacts

Creates a single contact entry for dialing.

Parameters

  • campaign_id: Required, campaign to add to
  • name: Optional, contact name
  • phone_number: Required, phone number to dial
  • metadata: Optional, additional contact data
  • scheduled_at: Optional, schedule for specific time

Errors

  • NOT_FOUND: Campaign does not exist
  • INVALID_ARGUMENT: Invalid phone number
  • PERMISSION_DENIED: Caller lacks voice:campaign:write permission

Request

Responses

A successful response.