CLI
Upload files and export CRM data
Two commands move data between this machine and your company: one uploads a file, one exports CRM data.
The CLI is not released yet; see Install the CLI.
Upload a file
cady local files upload ./plan.pdfThe file goes to your company’s Files and the result is printed as JSON. A file can be up to 10 MiB.
To publish a new version of an existing file and keep its id:
cady local files upload ./plan.pdf --file FILE_IDExport CRM data
cady local crm export --dataset parties --format csv --out parties.csv--datasetis one ofparties,lists,list_members,tracksorparty_fields.--formatiscsvorjson.--kind person|companyand--archivednarrowparties.--list-idis forlist_membersand--motionfortracks.
What can go wrong
- An upload that is refused prints the server’s reason. It is never retried automatically, and neither is an uncertain one.
--fileis refused if someone else changed the file while you were uploading. Run it again.--outdoes not replace an existing file unless you add--force.- Both commands need a company: see Choose a company. An upload is a write, so an unconfirmed project company is refused.
Next: Python SDK: your first call
For agents: this page as Markdown.