How to import contacts
contacts-import loads the contacts in a dataset into your active account under
a tag. This guide covers finding the dataset and running the import.
Before you start, make sure you’re signed in and have an active account
selected — see
how to select and onboard an account.
Without an active account,
contacts-import exits with No account id....1. Find the dataset to import
The CLI doesn’t create datasets — you import one produced by a prior search or agent run. List your datasets to get its id:2. Start the import and watch it
Pass the dataset id and a tag for the imported contacts.--watch streams
progress to stderr and writes the terminal status to stdout when the import
finishes:
counts to see what landed: imported rows were written, merged rows
folded into existing contacts, and skipped + invalid rows didn’t count toward
the processed total.
Once the import is completed, you can review it in the web app on the import
history page at
app.landbase.com/data/imported-contacts?tab=history.
Make sure you’re viewing the same account you imported into.
3. If something fails
No account id...— no active account; see how to select and onboard an account.VALIDATION_ERROR— thedatasetIdis unknown or not accessible to this account; confirm it withlandbase-cli datasets show <dataset-id>.CONFLICT— the import was already enqueued; don’t retry, just polllandbase-cli contacts-import status <importId>.TIMEOUTon--watch— the import is still running server-side under theimportIdin the error’smeta; resume withlandbase-cli contacts-import status <importId>.

