Import Recipients (CSV)
Uploads a CSV file to create recipients in bulk. The CSV is parsed row-by-row with per-row error reporting. Use this for large catalogs with mixed persona types.Path Parameters
| Parameter | Type | Description |
|---|---|---|
dockId | string | The dock ID |
Request Body
Multipart form data with a CSV file.| Field | Type | Required | Description |
|---|---|---|---|
file | file | Required | CSV file with recipient data |
CSV Format
Required columns:name, email
Optional columns by persona:
| Column | Maps To | Used By |
|---|---|---|
stakeholder_class | stakeholderClass | All personas |
lender_id | identifiers.lender_id | Mortgagee |
policy_number | identifiers.policy_number | Mortgagee, Agent, Policyholder |
agency_code | identifiers.agency_code | Agent |
phone | identifiers.phone | Policyholder |
date_of_birth | identifiers.date_of_birth | Policyholder |
badge_id | identifiers.badge_id | Auditor |
nda_hash | identifiers.nda_hash | Auditor |
Example CSV
Example Request
Response
Error Handling
| Status | Condition |
|---|---|
400 | No file provided or file is not valid CSV |
400 | CSV exceeds maximum row count (10,000 rows) |
401 | Missing or invalid API key |
404 | Dock not found |
Rows with missing
name or email columns are skipped and reported in the errors array. Empty identifier columns are ignored (not stored as empty strings). Email addresses are normalized to lowercase — duplicate emails within the same dock are rejected per-row.