Creates, updates, or removes contacts in a campaign.
Usage scenarios
disqualified or completed status will not be added. If no action is specified, the API defaults to upsert.action to "updateOnly". Only contacts already in the campaign will be updated. Contacts not in the campaign are ignored. This is useful when your process might include contacts that aren’t in the campaign and you don’t want them added.action to "remove" and provide at least email or phone for each contact to remove.External IDs (CRM routing)
hubspotId paired with values that distinguish Site A from Site B.externalIdKey and externalIdValue. Key names must match what you saved in Manage Assistants.externalIdKey / externalIdValue on individual contacts, at the request root, or both. See the schemas for those properties in this spec.Key fields
action: Controls how contacts are processed. Options are "upsert" (default), "updateOnly", and "remove". This applies to all contacts in the request.status: Use completed or disqualified to stop further outreach from campaigns. Other status values are allowed but won’t affect campaign behavior.contactMetadata: Add any key:value pairs to inform your AI assistant’s behavior. For example, if you set "tier": "pro", you can configure your AI to identify and handle pro-tier contacts appropriately.externalIdKey / externalIdValue: Optional; supported on request root and/or per-contact as described in schema field docs.Documentation Index
Fetch the complete documentation index at: https://docs.replify.ai/llms.txt
Use this file to discover all available pages before exploring further.
The unique ID of the campaign
List of contacts to add or update. When action is set to "remove", these contacts are removed from the campaign.
Optional external ID name for this request batch (must match a key configured under Manage Assistants). Pair with externalIdValue.
"hubspotId"
Optional external CRM value paired with root-level externalIdKey for routing in multi-assistant org-wide flows.
"1234"
Controls how contacts are processed. upsert (default) adds new contacts and updates existing ones. updateOnly updates only contacts already in the campaign and ignores others. remove removes the specified contacts.
upsert, updateOnly, remove "upsert"
Request accepted and processed successfully.