Documentation Index
Fetch the complete documentation index at: https://docs.mossdesk.com/llms.txt
Use this file to discover all available pages before exploring further.
You don’t need to memorize any of this. If you use an AI agent like Claude Code, Cursor, or Copilot — just tell it what you need in plain language. Your agent can read this documentation and execute every command listed here on your behalf. You focus on decisions, your agent handles the syntax.
Installation
Quick Start
Get up and running in five commands:Global Options
These options apply to every command:| Flag | Description |
|---|---|
--json | Output as JSON instead of a table |
--workspace <id> | Override the active workspace ID |
--api-key <key> | Override the API key |
--session-token <token> | Override the session token |
--api-url <url> | Override the API base URL |
--request-id <id> | Attach a request ID for tracing |
--idempotency-key <key> | Idempotency key to prevent duplicate mutations |
Output Modes
Table (default)
Human-readable table output. Column widths are fixed for consistent formatting.JSON
Machine-readable JSON output. Use--json with any command.
Exit Codes
| Code | Meaning |
|---|---|
0 | Success |
1 | General error |
2 | Validation error (invalid input) |
3 | Authentication error (missing or invalid credentials) |
4 | Not found |
5 | Rate limited |
Configuration
The CLI stores configuration at~/.moss/config.json:
moss login (browser) or moss auth login (API key) and can be overridden per-command with --api-key and --workspace.
Command Groups
| Group | Description |
|---|---|
auth | Login, logout, and identity |
workspace | Manage workspaces and invites |
key | Manage API keys |
contact | Manage contacts |
company | Manage companies |
deal | Manage deals and deal-contact links |
interaction | Log and view interactions |
followup | Manage follow-ups |
commitment | Manage commitments |
tag | Manage tags |
custom-field | Manage custom field definitions |
pipeline | View pipeline summary |
search | Full-text search |
activity | View activity timelines |
webhook | Manage webhooks |
import / export | Bulk data import and export |
notification | Notification preferences |
audit | View audit logs |
queue | Dead letter queue management |