Add contacts
documentedAdd contacts to the account and attach to a contact list or tag.
POST /v1/public/contact/createContactsno 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.octopush.com/v1/public/contact/create" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "api-login: {{OCTOPUSH_API_LOGIN}}" \
-H "api-key: {{OCTOPUSH_API_KEY}}" \
-d '{"contacts": [{"phone_number": "{{$phone_number}}", "first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "param1": "{{$param1}}", "param2": "{{$param2}}", "param3": "{{$param3}}", "param4": "{{$param4}}", "param5": "{{$param5}}"}], "list_name": "{{$list_name}}", "tag_name": "{{$tag_name}}", "auto_remove_blacklisted_numbers": {{$auto_remove_blacklisted_numbers}}, "do_not_overwrite": {{$do_not_overwrite}}}'