import_search_leads_to_list
Import lead rows from a prior search_external_leads session into a lead list. Two-phase: first call returns a confirmation token + preview; the user reviews an inline card and confirms; second call with confirmation_token commits. provider_ids omitted means import every lead in the search session. Supply list_id for an existing list, or list_name to create a new list during the confirmed commit. After a committed result returns list_id, use that exact list_id when creating a campaign from the imported search leads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | No | Existing lead list id to import into (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000) | |
| list_name | No | Name for a new list to create during the confirmed import when list_id is omitted | |
| session_id | Yes | Lead search session id returned by search_external_leads (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000) | |
| provider_ids | No | Optional selected provider ids from the search result. Omit to import all search results. | |
| confirmation_token | No | Phase-2 token (omit on phase-1) |