Batch import contacts
Contacts
Batch import contacts
Creates or updates multiple contacts in a single batch operation. This is significantly more efficient than individual upsert operations. Optionally subscribes all contacts to specified lists.
POST
Batch import contacts
Authorizations
API token for authentication
Body
application/json
The ID of the workspace
Example:
"ws_1234567890"
Array of contacts to import (create or update)
Minimum array length:
1Example:
[
{
"email": "user1@example.com",
"first_name": "John",
"last_name": "Doe"
},
{
"email": "user2@example.com",
"first_name": "Jane",
"last_name": "Smith"
}
]Optional array of list IDs to subscribe all contacts to
Example:
["newsletter", "product_updates"]