Skip to main content
Sonar is the CRM that writes itself. It reads your team’s connected accounts (Telegram, Slack, mail, calendars, calls, signatures and wallets), turns what it sees into organizations, contacts, deals, tasks and documents, and keeps a record of every change with the evidence behind it. The Sonar API is the API the Sonar dashboard runs on: read the pipeline, sync what changed, or write to it. If you already have a key and want a first call, go straight to the Sonar quickstart. For Turtle’s other products, see the API overview.

Base URL

Every path is under /organization/{organizationId}, the Turtle organization whose Sonar you address. These pages write paths relative to it: /engagements means https://sonar.turtle.xyz/v1/organization/{organizationId}/engagements. Each organization’s Sonar is its own silo. Nothing in it is shared with another organization.

Get access

You need three things before your first call.
  1. Sonar on your organization. The Turtle team enables Sonar per organization. A key for an organization without it gets 403. Ask your Turtle contact, or reach out on Discord.
  2. A secret API key. A personal key from your account page, or an organization key from the organization’s settings. See Authentication.
  3. Your organization ID. It is the ID in the dashboard’s address bar while you are in the organization: dashboard.turtle.xyz/organizations/<organizationId>/....

What the API covers

The API names a few things differently from the dashboard: an engagement is a deal, a thread is a storyline, and a pipeline is a board. Every endpoint has its own page under API reference, generated from the OpenAPI spec.

How it behaves

  • Easy to sync. Cursor paging, shared sort names, repeatable filters, and updatedAfter to fetch only what changed. See Reading.
  • Every write is logged. Each write is a row in the change log that says who made it and why. A write made as an agent also quotes the events it rests on.
  • The same approval rules as Sonar’s agent. A write made as an agent passes the permissions your workspace set, and one they hold comes back as a draft for a person. See Writing.
  • Safe to repeat. A write that changes nothing answers applied: false and logs nothing new.
  • Webhooks in. Give a form or a tool a URL, and each delivery becomes an event Sonar reads. See Inbound webhooks.

Spec and versioning

The machine-readable spec is public: https://sonar.turtle.xyz/v1/openapi.json (OpenAPI 3.1). Load it into Postman or Insomnia, or point a client generator at it. v1 is stable: within v1, changes are additive only, and an operation is retired only after at least 90 days’ notice. See Versioning and deprecation.

What’s next

  • Quickstart - Make a first read, then keep a copy in sync.
  • Authentication - Personal and organization keys, and what each may read and write.
  • Conventions - Lists, filters, writes, approvals, errors and limits.
  • Inbound webhooks - Send a form, a zap or your backend’s events into Sonar.