Skip to main content
StableREST + SSE
The Apollo API is how your product talks to your agents. It has two surfaces that share one base URL and one authentication flow:

Messaging

Run conversations: send messages (complete, or streamed token-by-token over server-sent events), read transcripts, rerun interactions, inspect reasoning traces, reach users on WhatsApp or SMS, and trigger agents from your own systems with the events webhook.

Management

Operate your workspace: projects, agents, versions and their configuration, conversation threads, and usage metrics.

Base URL

Messaging endpoints live under /messaging/v1, management endpoints under /management/v1. Runtime v1 agents can also open a WebSocket session on the same host: wss://api-v3.aui.io/apollo-api/messaging/v1/session.

Authentication in one minute

Exchange your publishable key for a short-lived access token, then send it as a Bearer token:
The token identifies your agent — messaging calls never carry an agent_id in the body. Management endpoints also accept an organization API key as an alternative. See Authentication for the full flow.

A conversation in three calls

Get a token
Send the first message
The response includes a thread_id — a new thread was created for you. Pass it back to continue the same conversation:
Continue the conversation

Core concepts

Threads

A thread is one conversation with an agent. Threads are created automatically on the first message — no separate create call.

Interactions

Each user message and its agent reply form an interaction. Interactions can be rerun with edited text, and each one is addressable by its id.

Traces

The agent’s reasoning, step by step: what it understood, which sources it relied on, and the decisions it took — by endpoint, or inline with the reply.

Agents, versions & projects

Agents live in projects. An agent’s behavior is defined by its versions; exactly one version is live at a time.

Explore

Authentication

Publishable keys, access tokens, and organization API keys.

Send messages

REST, server-sent events, and reruns.

API Reference

Every endpoint, schema, and error — generated from the live API.

Errors

One error envelope with stable, machine-readable codes.