Sign in

Mark lead as winner

documented

Mark the lead as a winner and record related data.

POST /api/v2/leads/{lead_id}/winnerLeadsno implementation yet0 runs
No 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://{{subdomain}}.myphoner.com/api/v2/leads/{{$lead_id}}/winner" \
  -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token {{MYPHONER_API_KEY}}" \
  -d '{"lead": {"call_back_in": "{{$call_back_in}}", "scheduled_for": "{{$scheduled_for}}", "comment": "{{$comment}}", "category": "{{$category}}"}}'