Create or update many contacts
https://api.norreach.app/v1/contacts/batchUp to 100 contacts in one request, each exactly like POST /contacts (use upsert_on to update existing ones). Each row succeeds or fails on its own; the answer lists them in order.
curl -X POST "https://api.norreach.app/v1/contacts/batch" \
-H "Authorization: Bearer $NORREACH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"contacts": [
{
"first_name": "Maja",
"email": "maja.lind@example.com",
"upsert_on": "email"
}
]
}'{
"object": "batch_result",
"data": [
{
"index": 0,
"status": "created",
"id": "7d1c3b2a-5e4f-4a1b-9c8d-0e1f2a3b4c5d",
"error": null
}
],
"created": 1,
"updated": 0,
"failed": 0
}Authorizations
Bearer authentication: send Authorization: Bearer <key>, with an API key or an OAuth access token. The key needs the scope contacts:write. API keys and scopes
Headers
Any unique string (≤ 255). The same key with the same request returns the first answer for 24 hours.
Body
application/json
Up to 100 contacts, each like POST /contacts.
Show child attributesHide child attributes
Any common format; stored as E.164. Needs a country code.
newcontactedinterestednot_interestedconvertedmeeting_bookedbad_databad_timingneutralunresponsiveunqualifieddncnewcontactedmeetingqualifiedwonlostWhere the contact came from (lowercase letters, digits and _). Defaults to api.
The lawful basis for contacting them. Without it the contact is saved but nothing is sent to them.
Show child attributesHide child attributes
legitimate_interestconsentcontractWhere the basis came from. Defaults to api.
Update the existing contact with this email (or phone) instead of failing with a conflict.
emailphoneResponse
200application/json— Create or update many contacts
Show child attributesHide child attributes
createdupdatedfailedErrors
Errors are application/problem+json with a stable code.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad_request | The request couldn't be read. |
| 400 | unknown_field | The request has a field this operation doesn't know. |
| 401 | unauthorized | A valid API key is required. |
| 403 | insufficient_scope | This API key doesn't have the scope this operation needs. |
| 403 | feature_not_enabled | The API isn't switched on for this workspace. |
| 409 | idempotency_in_progress | A request with this Idempotency-Key is still running. |
| 413 | too_large | The request body is too large. |
| 422 | validation_failed | The request has invalid fields. |
| 422 | idempotency_mismatch | This Idempotency-Key was used with a different request. |
| 429 | rate_limited | Too many requests. Slow down and try again. |
| 500 | server_error | Something went wrong on our side. |
| 503 | unavailable | The API isn't available right now. Try again shortly. |