Dashboard

CLI

The Inboxjot CLI sends email, verifies domains and manages contacts, templates, campaigns and webhooks from your terminal. It installs as inboxjot, with the short alias ij.

Log In

inboxjot login

The CLI opens your browser. Pick a workspace and the access the CLI gets, then approve. The CLI saves the login in the OS keychain, and every command uses it within the access you approved.

Each login shows in Connected Apps in the dashboard, one row per computer, such as “Inboxjot CLI on riti-thinkpad”. Open the row to change its access. inboxjot logout revokes the login, and so does Disconnect in Connected Apps.

inboxjot whoami shows the profile, the workspace and the key in use.

Send an Email

inboxjot send --from "Acme <hi@acme.com>" --to jane@example.com --subject "Hello" --text "It works"
OptionUse
--html-fileReads the HTML body from a file.
--templateSends a published template. Add --data for its variables.
--attachAttaches a file. Repeat it for more files.
--scheduled-atSends later, such as "in 10m" or an ISO 8601 time.
--waitWaits until the email is delivered or fails.
--dry-runPrints the request body and sends nothing.

inboxjot emails inspect <id> --wait follows an email that is already sent.

Test Addresses

Email to inboxjot.dev is never sent. Inboxjot simulates the result and sends the usual webhook events. Test sends count toward your sending limits like any other email. They do not affect your stats or sender reputation.

AddressResult
delivered@inboxjot.devDelivered
bounced@inboxjot.devBounced
complained@inboxjot.devComplained

Any other address on inboxjot.dev is delivered. Add a label to tell tests apart, such as bounced+signup@inboxjot.dev.

Listen for Webhooks

inboxjot listen --forward-to localhost:3000/webhooks

listen streams live events from your workspace and posts each one to your local URL. You need no public URL and no endpoint in the dashboard. Each request is signed like a real webhook. inboxjot listen --print-secret prints the signing secret for your local code.

In a second terminal, cause an event:

inboxjot trigger email.bounced

trigger takes email.sent, email.delivered, email.bounced, email.complained, contact.created, contact.updated and contact.deleted. Add --events to listen to show only some types.

Local Development

inboxjot init

init creates a sending key for the project and saves it to .env.local. To test without sending real email, send to a test address.

inboxjot doctor checks the key, the clock, the API, SMTP and every domain.

Output

stdout holds only the result. Tables, IDs and JSON go to stdout. Progress, hints and errors go to stderr.

id=$(inboxjot send --from hi@acme.com --to jane@example.com --subject Hi --text Hello)
inboxjot emails list --json
inboxjot domains list --jq '.data[].name'

--json prints the API response unchanged and turns off prompts. --jq filters the JSON with a jq expression. When an AI agent runs the CLI, the output is JSON by default.

inboxjot api calls any API route with your credentials:

inboxjot api /v1/domains --paginate

Agents

When an agent such as Claude Code runs the CLI, or you add --non-interactive, prompts are off and a failure prints one JSON object on stdout. The exit code stays the same.

{
  "status": "action_required",
  "reason": "confirmation_required",
  "message": "Delete the domain acme.com? Add --yes to confirm.",
  "next": [
    {
      "command": "inboxjot domains delete acme.com --yes",
      "description": "Run the command again after the user approves it"
    }
  ]
}
FieldMeaning
statusaction_required when the command must change or the user must act first, such as missing input, a confirmation or a login. error for everything else.
reasonA stable code, such as not_logged_in.
messageA sentence for people.
nextCommands to run next. Empty when there is none.

Run a next command that adds --yes only after the user approves it.

Safety

Ordinary writes do not ask. Destructive actions ask (y/N). Sending a campaign or erasing a contact asks you to type its name. Without a terminal, these actions fail until you add --yes.

A write is retried only when the server did not receive it, so a retry never runs it twice.

CI and Profiles

In CI, set INBOXJOT_API_KEY. It takes priority over the saved login.

INBOXJOT_API_KEY=ibx_… inboxjot send --from hi@acme.com --to jane@example.com --subject Hi --text Hello

To save a key without the browser, pipe it in:

inboxjot login --api-key - < key.txt

A profile keeps a second login, such as another workspace. Add --profile staging to any command, or set INBOXJOT_PROFILE.

VariableUse
INBOXJOT_API_KEYAPI key. Overrides the saved one.
INBOXJOT_PROFILEProfile to use. The default is default.
INBOXJOT_CONFIG_DIRConfig directory. The default is ~/.config/inboxjot.
INBOXJOT_GUIDANCE=0Hides next-step hints.
NO_COLORTurns color off.

The keychain holds the login. If no keychain is available, the CLI saves it to credentials.toml in the config directory, readable only by you.

Commands

Every command has a reference page with its options and examples. Add --help to any command for the same details in the terminal.

list has the alias ls, and delete has rm.

Global Options

These options work with every command.

OptionDescription
--jsonPrint JSON on stdout and never prompt.
--jq <EXPR>Filter JSON output with a jq expression.
--profile <PROFILE>Use the credentials saved under this name. Default: default.
-y, --yesConfirm destructive actions without a prompt.
--non-interactive <BOOL>Never prompt; missing input fails and names the option. One of true, false.
--no-colorPrint without color.
-d, --debugPrint each API request on stderr.

Exit Codes

CodeMeaning
0Success, including an empty list.
1The operation failed.
2Usage error, or a confirmation is required.
3Not logged in, or the login lacks the access.
130Canceled.