Import contacts
documentedImport contacts in bulk from a file or payload.
POST /v3/contacts/importContact Managementno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.brevo.com/v3/contacts/import" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "api-key: {{SENDINBLUE_API_KEY}}" \
-d '{"jsonBody": [ {"email": "{{$email}}", "attributes": {"FIRSTNAME": "{{$firstName}}", "LASTNAME": "{{$lastName}}", "CUSTOM1": "{{$custom1}}"}, "SMS": "{{$sms}}" } ], "listIds": [{{$list_id1}}, {{$list_id2}}], "newList": {"listName": "{{$newListName}}", "folderId": {{$folderId}}}, "notifyUrl": "{{$notifyUrl}}", "smsBlacklist": {{$smsBlacklist}}, "updateExistingContacts": {{$updateExistingContacts}} }'"