Archive lead
documentedArchive the lead record.
POST /api/v2/leads/{lead_id}/archiveLeadsno 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://{{$subdomain}}.myphoner.com/api/v2/leads/{{$lead_id}}/archive" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Token {{MYPHONER_API_KEY}}" \
-D- \
-d '{"lead": {"call_back_in": "{{$call_back_in}}", "scheduled_for": "{{$scheduled_for}}", "comment": "{{$comment}}", "category": "{{$category}}"}}'