post https://api.splio.com/data/contacts/bulk
Create bulk of contacts (max 1000).
Error cases
Partially OK call (207)
See failure cases for “Create a contact” ⇒ most will result in a 207 here
{
"time": 59,
"errors": 1,
"status": null,
"items": [
{
"contact_id": "[email protected]",
"code": 400,
"description": "double optin option should have some lists to prepare"
},
{
"contact_id": "[email protected]",
"code": 201,
"description": ""
}
]
}
Malformatted email (400)
{
"status": 400,
"errors": [
{
"error_key": "contacts[1].email",
"error": "wrong_email",
"error_description": "The email given should have the right format"
}
]
}
Custom field wrong type (400)
{
"status": 400,
"errors": [
{
"error_key": "contacts[1].custom_fields[0].value",
"error": "wrong_type",
"error_description": "This value should be of type string."
}
]
}
Email not specified (503)
{
"status": 503,
"errors": {
"error_key": null,
"error": "internal_error",
"error_description": "An error happened."
}
}