Skip to navigation

API overview

What the Atlas API covers, its base URL, and how requests and responses are shaped.

The Atlas API lets your own systems work with the same things you manage in the Atlas app. List jobs. Pull call records. Read transcripts. Add contacts. Subscribe to events.

If you only need a few apps connected, start with Connections in the app and the integrations section instead.

A note on the word “campaign”

In the Atlas app, the work Atlas does for you is a job, and jobs sit inside departments such as Reception, Customer Service and Sales. The API uses an older word for a job: campaign. They are the same thing. These pages say “job” in the text and keep campaign only where it is a literal path, field or command name, such as GET /campaign or campaignId.

Base URL

Every request goes to one base URL over HTTPS:

https://api.youratlas.com/v1/api

Paths in the reference are relative to it. GET /campaign means GET https://api.youratlas.com/v1/api/campaign.

Your first request

Create an API key in the Atlas app: Settings, then More settings, then API keys. Steps are in Authentication and API keys. Then list your jobs:

curl 'https://api.youratlas.com/v1/api/campaign' \
--header 'api-key: YOUR_API_KEY'

The same call with the Atlas CLI:

atlas campaign get-all-campaigns

With no key you get 401 and {"message":"Missing Api-Key header."}. With a wrong key you get 401 and {"message":"Invalid or inactive Api-Key."}. More in Errors.

Versioning

The version is part of the base URL: /v1/. There is no version header and no per-request version switch.

The version number inside the OpenAPI document (info.version) is not an API version. The docs copy says 1.0.0. The copy the CLI reads carries a publish date, such as 2026.11.21.102352. Ignore both when you pick a version.

Request format

  • Send JSON bodies with Content-Type: application/json.
  • Path values go in the URL: GET /campaign/{id}.
  • Filters go in the query string: GET /call?campaignId=...&startDate=....
  • Authenticate every request with the api-key header.

Response format

Responses are JSON.

Lists come back wrapped in value

List endpoints return an object with a value array. Many also include an odata.metadata string. Read the rows from value and ignore odata.metadata.

{
"odata.metadata": "...",
"value": [
{ "...": "first row" },
{ "...": "second row" }
]
}

This shape comes from the table storage the data lives in. It is not a full OData service. Use the named query parameters in the reference. Don’t assume $filter, $top or $select work on an endpoint unless it documents them.

Single-item endpoints return the item itself, not a wrapper. The CLI prints the rows from value for you.

Paging

List endpoints return their rows in one response. There is no “next page” step in the public API. Narrow long lists with the filters each endpoint documents. See Rate limits and pagination.

Empty and accepted responses

  • 201 means a new item was created.
  • 202 means Atlas accepted the work and is doing it in the background. Check the resource later.
  • 204 means it worked and there is no body.

Batch endpoints

Endpoints that take a batch check each item on its own. Failed items are reported inside a 200 response, not as a 400. Read the body, not just the status. See Errors: batch endpoints.

What is in the API

The reference groups endpoints by tag. The CLI uses one resource name per group.

GroupCLI resourceWhat you do with it
CampaignscampaignCreate, update, start, stop and roll back jobs
AgentsagentRead and edit the agent on a job
CallscallList call records, read one call, see and create scheduled calls
Campaign Chatcampaign-chatChat sessions, messages, human replies and scheduled messages for a job
ContactscontactAdd, edit and remove contacts and contact lists
Knowledge Baseknowledge-baseUpload and manage knowledge files and tags
ToolstoolAtlas actions and action templates
Phone Numbersphone-numberList, integrate, link and release numbers
Business Verificationbusiness-verificationSubmit and read verification details
Calendar Settingscalendar-settingCalendars attached to jobs
Calls Forwardcalls-forwardTransfer numbers for a job
Events Gatewayevents-gatewayWebhooks: subscribe, list, unsubscribe, sample payloads
VoicesvoiceList and clone voices
API Keysapi-keyList, create and delete keys
Account, Bookings, Dashboard, Statistics, Customer Quotaaccount, booking, dashboard, statistic, customer-quotaAccount profile, bookings, usage figures and quota

Open the full list in the API reference.

Ways to use the API

  • Direct HTTP. Any language. Use the examples in the reference.
  • The Atlas CLI. Every endpoint is a command. See Atlas CLI quickstart.
  • An AI agent. Agents can use the CLI and the docs search tool. See Atlas for AI agents.
  • Webhooks. Have Atlas call you when something happens. See Webhooks.

Machine-readable spec

The OpenAPI document is public:

https://docs.youratlas.com/openapi.json

The CLI builds its commands from the same definition, published as YAML at https://cdn.youratlas.com/atlas-cli/openapi.yaml. Load either into Postman, a code generator or an agent.

Good habits

  • Keep your API key out of code and chat. Use an environment variable or a secrets manager.
  • List first, then change.
  • Check the response body even on a 200.
  • Handle 401, 409, 429 and 5xx on purpose. See Errors.