Skip to main content
You need an API key from the dashboard, a phone number already imported, and Node.js 18+.
1

Log in

Paste the full key (nxf_xxx:nxfs_xxx). The CLI verifies it against the API before saving.
2

See what you have

3

Create an agent

Write the prompt in a file - it is easier to edit and to keep in git.
The response includes the new agent_id.
4

Tell the agent who is calling

Load what you already know about a customer, so the agent uses it instead of asking. See Caller context.
The first number is yours, the second is the customer’s.
5

Place a call

Then follow it:

Everything as JSON

Add --json to any command for scripting:

Load a customer list

One CSV, one number, up to 1,000 rows per request (the CLI splits larger files for you):
Next: the full command reference.