Contacts
Batch Upsert
Upsert up to 100 contacts in a single request.
POST /api/v1/contacts/batch
Batch upsert up to 100 contacts. Each contact is upserted by email using the same merge logic as the single upsert.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
contacts | array | Yes | Array of contact objects (max 100). Same fields as create. |
Example
curl -X POST /api/v1/contacts/batch \
-H "x-api-key: mndr_..." \
-H "Content-Type: application/json" \
-d '{
"contacts": [
{ "email": "alice@example.com", "firstName": "Alice" },
{ "email": "bob@example.com", "firstName": "Bob" }
]
}'{
"summary": {
"total": 2,
"inserted": 1,
"updated": 1
}
}