apiId. If your account has a list of allowed IP addresses, the call must come from one of them.phoneNumber is required: + and digits only, at least 7 characters; any other form answers 400 with Invalid phone number. You can also send firstName, lastName, email, url, dateOfBirth (a date such as 1992-04-17), gender (Male, Female or Unknown) and interest.firstName, lastName, email and url to fill {{name}}, {{surname}}, {{email}} and {{url}} in the template text.data, in the order you sent them. If the list does not exist, is not yours or is not a Viber list, the call answers 400 with Contact List is not found.curl --location 'https://api.veloconnect.me/api/partners/viber-contact-lists/86/contacts' \
--header 'Accept: application/json' \
--header 'apiId: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"firstName": "Anna",
"lastName": "Petrosyan",
"phoneNumber": "+37491234567",
"email": "anna@example.com",
"dateOfBirth": "1992-04-17T00:00:00Z",
"gender": "Female",
"interest": "Running",
"url": "https://example.com/members/anna"
},
{
"firstName": "Davit",
"lastName": "Sargsyan",
"phoneNumber": "+37499123456"
}
]'{
"data": [
2291,
2292
]
}