Migrate lead
documentedMove the lead to another list.
PATCH /api/v2/leads/{lead_id}/migrateLeadsno 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://{{MYPHONER_SUBDOMAIN}}.myphoner.com/api/v2/leads/{{$lead_id}}/migrate" \
-X PATCH \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Token {{MYPHONER_API_KEY}}" \
-d '{"lead": {"to_list_id": "{{$to_list_id}}"}, "give_back_leads": "{{$give_back_leads}}"}'