Atlas CLI quickstart
The Atlas CLI puts the whole Atlas API in your terminal. Every endpoint is a command. Use it to check on jobs, pull call records and add contacts from a script.
The API and the CLI call a job a campaign. They are the same thing. This guide says “job” in the text and keeps campaign in command names.
It is one program with nothing else to install.
1. Install
macOS and Linux:
Windows PowerShell:
Windows Command Prompt:
On Windows, use PowerShell or Command Prompt. The macOS and Linux installer stops with a message if you run it in Git Bash.
Open a new terminal, then check it worked:
More in Installation.
2. Sign in
Make an API key in the Atlas app first. See Authentication and API keys. Then:
The CLI tests the key against your account. If it works, it saves the key as a profile named default and prints Logged in as profile "default".
More in Authentication.
3. Try it
You can browse the commands and their help before you sign in. Running one that calls the API without a key fails with no API key configured and exit code 3.
What next
- Installation: every system, manual install, update and uninstall.
- Authentication: profiles, where the key is stored, sign out.
- Commands: the full list, output formats, scripting and CI.
