lofty-cli recipes you can copy and run today. Each example assumes you have already completed Install and Authentication.
1. List leads
2. Get one record by ID
3. Create a record from JSON
Pass the request body as inline JSON:4. Pipe to jq for ad-hoc analytics
5. Bulk export to CSV
6. Use the CLI from a script with strict error handling
7. Run from CI/CD
Configure environment variables once on the runner:auth login:
8. Discover commands you do not know
The CLI is fully self-describing. Walk the help tree until you find what you need:Next steps
API Reference
Cross-reference commands with the live API spec.
Output formats
Piping patterns for JSON, CSV, YAML, and text.
Troubleshooting
Common fixes when something fails unexpectedly.