Archive a lead
myphoner_archive_leadArchive a lead (it leaves the calling queue). The lead moves to that state and an event is logged on it; nothing is sent to the lead. Optionally add a comment and an existing archive category. POST /leads/{id}/archive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Text added as a comment on the lead's event. | |
| lead_id | Yes | Lead id. | |
| category | No | A category of the list; must match an existing one exactly, including case. | |
| call_back_in | No | Minutes until a scheduled call back (max one year). | |
| scheduled_for | No | When the call back is due: ISO 8601 date-time with a timezone, e.g. 2026-11-02T09:30:00Z. Takes precedence over call_back_in. |