Skip to content
v1

Get started Overview

  • v1.0.0
  • CRM API

Totem API

Read CRM data and run authorized Totem actions with explicit permissions, private-content grants and observable operation results.

GET /v1/me Your first request
cURL
curl https://api.totemstudio.ai/v1/me \
  -H "Authorization: Bearer $TOTEM_API_KEY"
Example response · 200 OKJSON
{
  "object": "integration",
  "id": "prn_m1NFIcoIU8smXfqR4ymgt6j07TfRF",
  "livemode": false,
  "name": "Example CRM sync",
  "key": { "last4": "Q7xZ" },
  "teams": [
    "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR"
  ],
  "scopes": [
    "teams:read",
    "crm:read",
    "calls:read",
    "messages:read",
    "calendar:read"
  ]
}

At a glance

Base URL
https://api.totemstudio.ai/v1
HTTPS only

Explore the API

Every endpoint, grouped by resource. Each one opens its reference.

Guides

From your first request to a production sync.

  • Quickstart

    Make your first requests to the Totem API in a few minutes. Check your key, find your team, list leads and start a sync.

  • Authentication

    Secret keys and where they may live, the Totem-Team header for keys with several teams, IP allowlists, and how to roll or revoke a key.

  • TypeScript SDK

    Use the official server-side TypeScript client for typed Totem requests, explicit business actions, pagination and safe outcome handling.

  • Keep a copy in sync

    Copy a team with the changes feed and keep the copy current. Apply pages safely, recover from errors, and start from a reference client that Totem tests.

  • Lists and pagination

    How list endpoints return records a page at a time, how to read every page, and what order and filters a list supports.

  • CRM writes and notes

    Import and update CRM leads, record opt-outs, archive leads and synchronize notes with explicit permissions, conditional versions and safe retries.

Built for safe integrations

  • Explicit capabilities

    Existing keys stay read-only. A new CRM write profile grants allowlisted mutations; note contents require a separate explicit acknowledgement. Conditional versions protect concurrent changes.

  • Metadata and business alerts

    You read contact details, such as names, email addresses and phone numbers, and what happened: when, through which channel and at which stage. Business notifications include their stored alert text, which may contain a source summary already copied into the card. The API does not separately expose messages, transcripts, call summaries, recordings or custom form fields. CRM notes are available only with an explicit content grant.

  • Server-side keys

    Secret keys belong on your server, never in a browser or a mobile app. Totem refuses a secret key sent from a web page.

The Totem API lets your server read the CRM data of your Totem teams: leads with their place in the pipeline, their origin and their contact permissions, what happened to each lead, calls, conversations, bookings and business notifications. With it you can:

  • Export your CRM to another CRM, or to files and tables you control.
  • Sync a BI tool or a data warehouse, and report on leads, calls and bookings next to the rest of your business.
  • Automate follow-up in your own systems, for example when a lead reaches a stage or a notification asks your team to call, while honoring each lead's contact permissions.

The Quickstart takes you from a new key to your first leads in four steps.

What API v1 provides

1.0.0 defines the stable contract for 70 API operations. Each operation requires its documented permissions; existing keys gain no access through this version change. SDK and n8n package publication and HighLevel marketplace approval are separate release steps, described on their integration pages.

  • Explicit writes and actions. Import and update CRM data, manage notes and custom values, create tasks and notifications, send messages, request calls, manage bookings and run a published assistant. Each action requires its own permissions and current contact rules. Existing keys gain no permissions automatically.
  • Separate private-content permissions. Message bodies, CRM notes, custom values, call transcripts, recordings, attachments, Library content and payment information require their respective explicit grants. A metadata read or a write permission does not grant all contents. Recording access returns a temporary URL only when a suitable recording exists.
  • Current context and exports. CRM context reports which requested sections are complete, partial or unavailable. Lists and the changes feed support keeping a copy current; current business actions and their results also have their own references and validators.
  • Polling for changes and events. Keep a copy current with the changes feed and observe supported business events through the events feed. n8n and HighLevel can use these events; a queued operation is not proof that an action completed.
  • Administrator-approved access. A team administrator selects the integration's teams and permissions in Settings → Totem API. Keys stay on your server; contact permissions and data removals still apply.

What you can read

Every request goes to https://api.totemstudio.ai/v1 over HTTPS, and the API answers in JSON.

DataEndpoints
Your integration and its teamsGET /v1/me, GET /v1/teams, GET /v1/teams/{id}
Team membersGET /v1/members
Boards, with their stagesGET /v1/boards
Leads, with their attribution and responseGET /v1/leads, GET /v1/leads/{id}, POST /v1/leads/search
What happened to a leadGET /v1/leads/{id}/activities
CallsGET /v1/calls, GET /v1/calls/{id}
Conversation metadataGET /v1/conversations, GET /v1/conversations/{id}
Bookable servicesGET /v1/booking_services
BookingsGET /v1/bookings, GET /v1/bookings/{id}
Business notificationsGET /v1/notifications, GET /v1/notifications/{id}
Every change, team by teamGET /v1/sync/changes
Whether the API is upGET /v1/health

Actions and authorized content

The n8n guide, TypeScript guide and HighLevel guide distinguish the prepared candidate from currently published packages. The references cover tasks, operations, Library, knowledge and published assistants, alongside CRM, messaging, calls and bookings.

Content is read through its documented operation, such as POST /v1/conversations/messages, GET /v1/calls/{id}/transcript or GET /v1/calls/{id}/recording, with the matching grant. Ordinary list responses do not turn into unrestricted content exports.

Before you build

  • Keep the key on your server. Never put it in a browser, a mobile app or a public repository. Authentication explains where a key may live.
  • Apply contact permissions first. Copy each lead's contact_permissions before any of your systems contacts that person.
  • Apply removals. When the changes feed removes a record, delete it from every system you copied it to, as soon as you can.
  • Protect what you copy. Security and personal data explains what Totem protects and what to do with the personal data you receive.
  • Test with fictitious data. Testing and go-live explains how.

Next steps

  • Quickstart: make your first requests.
  • Keep a copy in sync: copy a team with the changes feed and keep the copy current, with a tested receiver to start from.
  • Authentication: keys, teams and the Totem-Team header.
  • Errors: what every error code means and what to do about it.
  • Conventions: the rules every response follows, before the endpoint reference.
  • Security and personal data: keys, activity records, where the API runs and how to handle the data you copy.

API version 1.0.0