What is the CLI?
directify is the official command-line tool. It wraps the Directify REST API so you can manage your directory from your terminal, shell scripts, or CI pipelines — no AI required. It’s ideal for power users and automation.
Install
Requires Node.js 18+.npx:
Connect
1
Get your API token
In your Directify dashboard, go to Settings → API and click the Key icon to generate a token.
2
Authenticate
3
Set a default directory
Start managing
--help, and most accept -d, --directory <id> to target a specific directory (overriding the default) and --json for machine-readable output.
Common command groups
Run
directify --help (or directify <group> --help) to see every command and option.
Multilingual directories
On directories with more than one language (requires CLI 1.6.0 or later):translations and source_locale per listing. Each command’s --help lists the fields it can translate; see Languages & Translations for details.
Want to manage your directory by chatting with an AI assistant instead? See the MCP Server guide.
