Skip to main content
This guide walks through the minimum integration: create an API key, launch a campaign, and read the synthesized report.
The examples use the US API host. For a workspace on eu.ontora.com, replace https://api.ontora.com with https://api.eu.ontora.com throughout.

1. Create an API key

API keys are workspace-scoped. From the Ontora dashboard:
  1. Open Developer → API Keys (profile menu).
  2. Click Create API key.
  3. Pick the access level. For this quickstart, Read-only is enough (read scope).
  4. Copy the key (it starts with ont_). You will not be able to see it again.
Treat API keys like passwords. Store them in a secret manager — never commit them to source control.

2. Authenticate

Every request takes an X-API-Key header.

3. Launch a campaign

Create a campaign, add a topic with questions, add contacts, then start it. You’ll need your workspace ID — API keys are workspace-scoped and the ID is shown alongside the key in Developer → API Keys.
Campaigns can also invite via Slack or Microsoft Teams ("channel": "slack" | "teams", with the workspace integration connected), and a future timeframe_start with "start_immediately": false schedules the invitation send instead of emailing at launch. See Launch a campaign.

4. Pull the synthesis report

Once the campaign has completed conversations, fetch the rendered report as Markdown:
Or get individual transcripts as a ZIP:

5. Ask a question across the campaign

Use the GraphRAG query endpoint to run grounded questions over every transcript:
The response includes the answer, common patterns, and dissenting opinions across respondents.

What’s next

Subscribe to webhooks

Get notified when a campaign finishes synthesizing instead of polling.

Connect Claude or Cursor

Use the MCP server to interact with campaigns from your AI assistant.