Authorization: Bearer <token>. Get it with the sign-in call (POST /api/customer-users/partner-login)..csv or .txt, comma-separated, up to 10 MB, with a header row.PhoneNumber, FirstName, LastName, Email, DateOfBirth, Gender, Interest, Url. Put all eight names in the header and leave a cell empty when you have no value.PhoneNumber is + followed by 7 to 15 digits, the first of them not 0; a missing + is added for you. A row with a wrong number is skipped and named in errors.Interest is saved as the contact's note.Phone, Viber and WhatsApp, so the contact is ready for SMS, Viber and WhatsApp campaigns. Email and Url become details too.alreadyExistingContacts.segmentId, the new contacts and the contacts of the file that already existed are added to that segment.errors. importedCount is the number of contacts created and skippedCount the number of rows left out. Row numbers count the header as row 1.curl --location 'https://api.veloconnect.me/api/v2/contacts/import-csv' \
--header 'Authorization: Bearer <token>' \
--form 'file=@"contacts.csv"' \
--form 'segmentId="57"'{
"data": [
{
"totalRows": 3,
"importedCount": 1,
"skippedCount": 2,
"errors": [
"Row 4: '091234567' is not a valid phone number — skipped."
],
"alreadyExistingContacts": [
{
"rowNumber": 3,
"phoneNumber": "+37499123456",
"existingContactId": 1043,
"hasDifferentDetails": false,
"message": "Row 3: phone +37499123456 already exists (contact #1043)."
}
]
}
]
}