Bulk create contacts
documentedCreate multiple contacts in bulk
POST /contacts/bulk_create/Contactsno 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.callhub.io/v1/contacts/bulk_create/" \
-X POST \
-H "Authorization: Token {{CALLHUB_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"phonebook_id": {{$phonebook_id}}, "country_iso": "{{$country_iso}}", "contacts": [ {"first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "phone": "{{$phone}}", "mobile": "{{$mobile}}", "email": "{{$email}}", "country_code": "{{$country_code}}", "address": "{{$address}}", "city": "{{$city}}", "state": "{{$state}}", "company_name": "{{$company_name}}", "company_website": "{{$company_website}}", "job_title": "{{$job_title}}"} ] }'"