cURL
Campaigns
Add Contacts to Campaign
Crea Contactos de Campaña por lotes. Hasta 1000 contactos por solicitud. Cada item se procesa de forma independiente — una fila inválida no rompe el lote — y se devuelve un summary agregado y results por item. Usa if_duplicate para controlar el comportamiento cuando un contacto ya existe en la campaña (skip mantiene el original, update sobreescribe los campos mutables).
POST
cURL
Rate Limit: 12 requests per second
summary plus per-item results.
Duplicate Handling
if_duplicate controls behavior when the contact’s phone number already exists in the campaign:
skip(default): keep the existing contact, returnskipped_duplicate.update: overwritename,context,extracted_data, andf_idon the existing contact, returnupdated.
Per-item Result Statuses
| Status | Meaning |
|---|---|
created | New contact created |
updated | Existing contact updated (only when if_duplicate=update) |
skipped_duplicate | Existing contact preserved |
failed | See error (INVALID_PHONE_NUMBER, MISSING_CONTACT, SERVER_ERROR) |
Examples
Example Response
Authorizations
Add api-key YOUR_API_SECRET_KEY as the value of the Authorization header.
Headers
Optional client-generated key (UUID recommended) to make the request idempotent.
Path Parameters
The identifier of the Campaign
Body
application/json
Batch of contacts to create