Skip to main content

Start with the API

Make a key, send one call and read the answer.

About 10 minutesYou need: an owner or admin role
On this page

Basics

RuleValue
Addresshttps://api.usetotems.com/v1
FormatJSON
KeyAuthorization: Bearer tm_live_...
TimeUTC, such as 2026-12-03T20:00:00Z
Report daysfrom and to are days, such as 2026-12-03, in your workspace's time zone. Both days count. With no dates you get the last 30 days, the same as the app
MoneyWhole cents, plus a currency
Schema file/v1/openapi.json, no key needed
Note:

The address above is a placeholder until the product has its real domain. On your own server, the same API is at /api/v1.

Your first call

  1. Make a test key. Sign in, open your workspace, then Settings, then API and MCP. Give the key a name, tick what it may do, and tick "Test key". Copy it. It shows once. If the page asks you to sign in again first, do that. It's a safety check for keys.
  2. Save it in your terminal:

    Terminal
    export TOTEMS_KEY="tm_test_..."
  3. Ask who you are:

    Terminal
    curl "https://api.usetotems.com/v1/me" \
      -H "Authorization: Bearer $TOTEMS_KEY"

The same page shows this call with your own address filled in. Copy it from there if the address above doesn't work for you yet.

How to know it worked

The answer has your workspace inside data, and a request_id. Keep that id if you need help.

Next

All 53 calls, errors and limits.

Was this useful?

Your answer stays in this browser.