POST /lead_imports
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/lead_imports
Create Lead Import.
Upload a CSV file of leads for an offer or schedule. The import does not start until its columns are mapped with data_maps_attributes, so this call alone creates no leads.
Params
| Param name | Description |
|---|---|
|
data_maps_attributes Optional Blank value allowed |
How the uploaded file’s columns fill in Trackdrive lead fields. Each entry maps one column: td_key is the Trackdrive field the column fills (for example caller_id or email), and ex_key is the column header in your uploaded file. One entry must map td_key caller_id or trackdrive_lead_id, and this mapping is what starts the import. [ { "td_key": "caller_id", "ex_key": "Phone", "import": "1" },
{ "td_key": "email", "ex_key": "Email", "import": "1" }
]
|