Merge contacts
documentedMerge two or more contacts.
POST /api/v2/contacts/mergeContactsno 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://{{$domain}}.freshdesk.com/api/v2/contacts/merge" \
-X POST \
-u "{{FRESHDESK_API_KEY}}:X" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{ "primary_contact_id": {{$primary_contact_id}}, "secondary_contact_ids": [{{$secondary_contact_ids}}], "contact": { "email": "{{$email}}", "other_emails": [{{$other_emails}}], "company_ids": [{{$company_ids}}] } }'