> ## Documentation Index
> Fetch the complete documentation index at: https://developer.firstsales.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Commands

> CLI command groups and global flags.

## Global flags

| Flag                | Purpose                                         |
| ------------------- | ----------------------------------------------- |
| `--api-key`         | Use a specific Developer API key.               |
| `--base-url`        | Override the API base URL.                      |
| `--org`             | Target an organization.                         |
| `--workspace`       | Target a workspace.                             |
| `--json`            | Emit compact JSON.                              |
| `--pretty`          | Emit formatted JSON.                            |
| `--data`            | Provide a JSON request body.                    |
| `--data-file`       | Load a JSON request body from disk.             |
| `--idempotency-key` | Add an idempotency key for retryable mutations. |
| `--dry-run`         | Preview a request without sending it.           |
| `--confirm`         | Required for destructive commands.              |

## Command groups

The CLI registry is committed at `data/cli-commands.json` and is used to keep docs aligned with implementation.

Launch groups include:

* `whoami`, `doctor`
* `orgs`, `organizations`, `workspaces`
* `campaigns`
* `contacts`, `contact-lists`, `contact-tags`, `contact-imports`, `contact-exports`
* `inbox`
* `connectors`
* `kb`
* `offerings`
* `tracking-domains`
* `billing`
* `members`, `invitations`, `groups`, `domains`
* `api-keys`

## Examples

```bash theme={null}
firstsales campaigns list --org org_123 --workspace ws_123 --json
firstsales contacts create --org org_123 --workspace ws_123 --data '{"email":"alex@example.com"}' --idempotency-key import-row-001
firstsales contacts delete --org org_123 --workspace ws_123 --contact contact_123 --confirm
```
