Import bulk contacts to list
documentedBulk import contacts into a specific list.
POST /lists/{list_id}/contacts/actions/import-bulkListsno 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.egoiapp.com/lists/{{$list_id}}/contacts/actions/import-bulk" \
-X POST \
-H "Apikey: {{E-GOI_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"mode": "{{$mode}}", "compare_field": "{{$compare_field}}", "contacts": [ { "base": { "status": "{{$status}}", "first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "birth_date": "{{$birth_date}}", "language": "{{$language}}", "email": "{{$email}}", "cellphone": "{{$cellphone}}", "phone": "{{$phone}}", "push_token_android": [ { "app_id": "{{$android_app_id}}", "token": "{{$android_token}}" } ], "push_token_ios": [ { "app_id": "{{$ios_app_id}}", "token": "{{$ios_token}}" } ] }, "extra": [ { "field_id": {{$field_id}}, "value": "{{$extra_value}}" } ] } ] , "force_empty": {{$force_empty}}, "notify": {{$notify}}, "callback_url": "{{$callback_url}}" }'"}