Getting started
Make a first authenticated call, read your account and see what this server can do.
For AI agents: the docs index is at /llms.txt, and every page is also served as markdown at its URL plus .md.
#Before you start
The API base URL is https://api.coldagentai.com. Every endpoint lives under /v1.
#Get a key
To get an account and an API key, email hello@coldagentai.com. A key starts with ca_live_ and is shown once, so store it when you receive it.
A new key is read-only unless you ask for write. A read key can look at everything and change nothing. See Authentication for scopes.
export COLDAGENTAI_API_KEY="paste your key here"#Make your first calls
Two read-only calls tell you who you are and what works: GET /v1/account and GET /v1/capabilities.
curl https://api.coldagentai.com/v1/account \
-H "Authorization: Bearer $COLDAGENTAI_API_KEY"
curl https://api.coldagentai.com/v1/capabilities \
-H "Authorization: Bearer $COLDAGENTAI_API_KEY"const base = 'https://api.coldagentai.com';
const headers = { Authorization: `Bearer ${process.env.COLDAGENTAI_API_KEY}` };
for (const path of ['/v1/account', '/v1/capabilities']) {
const res = await fetch(base + path, { headers });
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.fix}`);
console.log(path, body);
}import os
import requests
base = "https://api.coldagentai.com"
headers = {"Authorization": f"Bearer {os.environ['COLDAGENTAI_API_KEY']}"}
for path in ("/v1/account", "/v1/capabilities"):
res = requests.get(base + path, headers=headers, timeout=30)
body = res.json()
if not res.ok:
raise RuntimeError(f"{body['error']['code']}: {body['error']['fix']}")
print(path, body)#Read the response
GET /v1/accountreturns the account, the plan, the subscription state, both credit wallets, your keys and usage against the plan caps.GET /v1/capabilitieslists every capability your account can use and the reason for any that cannot answer. Read it before you choose a flow.- A failed call returns one error format with a
fixfield that says what to do next. See Errors.
#What to read next
- Authentication: keys, scopes and rate limits.
- API reference: one page per resource, generated from the OpenAPI document.
- Webhooks: the ten events, the endpoint routes and how to verify a delivery.
- MCP server: connect an agent.
- Sending and unsubscribes: what every campaign email carries.