Personal lines file status
How far a large file of personal lines has come, and the counts when it is done: lines saved, people who keep the fallback, lines kept because the person already had one (kept_existing, with the row), and with overwrite the lines replaced (changed) and cleared.
| Cost | What it does | Key scopes |
|---|---|---|
| Free | Reads only | argorant:read_counts |
Authorization
BearerAuth AuthorizationBearer <token>
Your API key from app.argorant.com/profile, sent as Authorization: Bearer <key>. A connector sign-in token (ag_mcp_...) works the same way.
In: header
Path Parameters
campaign_id*string
The campaign id from create or list.
Format
uuidjob_id*string
The job id from the import answer.
Format
uuidHeader Parameters
X-Request-Id?string
Your own id for this request, 8 to 64 letters, digits, dot, dash or underscore. Returned as X-Request-Id; one is made for you when you send none.
Match
^[A-Za-z0-9._-]{8,64}$Response Body
application/json
application/json
application/json
application/json
application/json
Shell
curl -X GET "https://app.argorant.com/api/v1/campaigns/7f3a2c1e-9b4d-4e8a-a1c2-5d6e7f8a9b0c/leads/custom-fields/import/6c5b4a39-2817-4f6e-9d5c-4b3a29180f7e"JSON
{ "job_id": "6c5b4a39-2817-4f6e-9d5c-4b3a29180f7e", "status": "done", "overwrite": false, "total_rows": 48000, "valid_rows": 47990, "processed_rows": 47990, "written": 46012, "kept_fallback": 978, "unchanged": 0, "duplicates": 0, "changed": 0, "cleared": 0, "kept_existing_count": 1000, "kept_existing": [ { "row": 12, "lead_id": "0c9d8e7f-6a5b-4c3d-8e2f-1a0b9c8d7e6f", "name": "custom_opener", "saved": "Congrats on the Munich office.", "sent": "Congrats on the new Munich office." } ], "invalid_count": 10, "summary": "Saved lines for 46,012 contacts. 1,000 contacts already have a saved line that was kept (see kept_existing). To replace or clear saved lines, send them again with overwrite: true."}