Update DNC contact
documentedUpdate a DNC contact by ID
PUT /dnc_contacts/{id}/Do Not Callno 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/dnc_contacts/{{$id}}/" \
-X PUT \
-H "Authorization: Token {{CALLHUB_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"phone": "{{$phone}}", "first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "notes": "{{$notes}}"}'