curl --request POST \
--url https://api.indiepitcher.com/v1/contacts/create_many \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contacts": [
{
"email": "[email protected]",
"userId": "1234567",
"avatarUrl": "https://example.com/avatar.jpg",
"name": "John Doe",
"languageCode": "en_US",
"updateIfExists": true,
"ignoreListSubscriptionsWhenUpdating": true,
"subscribedToLists": [
"onboarding",
"newsletter"
],
"customProperties": {
"company": "Acme",
"age": 35
}
}
]
}
'