Merge contacts
documentedCreate or update one or more people.
POST /v1/person/mergePeopleno 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.ap3api.com/v1/person/merge" \
-X POST \
-H "X-Api-Key: {{AUTOPILOTHQ_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"people":[{"fields":{"str::first":"{{$first_name}}","str::last":"{{$last_name}}","str::email":"{{$email}}","str:cm:job-title":"{{$job_title}}"},"location":{"source_ip":"{{$source_ip}}"}}],"async":{{$async}},"merge_by":["{{$merge_key}}"],"merge_strategy":{{$merge_strategy}},"find_strategy":{{$find_strategy}},"suppression_list_field_id":"{{$suppression_field_id}}"}'