Update contact
documentedUpdate an existing contact by ID
PUT /contacts/{id}/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/{{$id}}/" \
-X PUT \
-H "Authorization: Token {{CALLHUB_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "email": "{{$email}}", "phone": "{{$phone}}", "mobile": "{{$mobile}}", "country_code": "{{$country_code}}", "address": "{{$address}}", "city": "{{$city}}", "state": "{{$state}}", "postal_code": "{{$postal_code}}", "company_name": "{{$company_name}}", "job_title": "{{$job_title}}", "notes": "{{$notes}}", "custom_fields": {"field1": "{{$custom_field1}}", "field2": "{{$custom_field2}}"}}'"