Add contacts to suppression list
documentedAdd contacts to a suppression list
POST /suppression-lists/{id}/contacts/Suppression Listno 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/suppression-lists/{{$suppression_list_id}}/contacts/" \
-X POST \
-H "Authorization: Token {{CALLHUB_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"contacts": [ {"phone_number": "{{$phone_number}}", "mobile_number": "{{$mobile_number}}"}, {"phone_number": "{{$phone_number2}}"} ] }'