post
https://api.datananas.com/contacts/bulk
Creates multiple contacts and updates existing ones.
This route uses WebSocket in order to notify connected clients of the creation progress
The route process is the following:
- The webSocketServer (wss) sends one contact_bulk_create_starting
- wss sends as many contact_bulk_create_running as there is contacts to create/update
- wss sends one contact_bulk_create_ending
The API returns between the sending of _starting and _ending
WebSocket payload format:
- _starting: {
listId: Id of the list in which contacts will be added,
uuid: Unique transaction id
} - _running: {
uuid: Unique transaction id,
i: Index of the contact currently processed,
total: Total number of contact to process
} - _ending: {
uuid: Unique transaction id,
created: Number of contact created
updated: Number of contact updated
}
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
402The reason parameter describes the error:
- contact_connect_quotas: The user cannot creates more contact from connect for the day
- contact_total_quotas: The use cannot add more contact to its account