Public API

Public API

Tamloot’s public API gives your own tools read-only access to the contacts, sessions, transcripts, and notes in your Tamloot account.

Start here

  1. In Tamloot, open Settings → API.
  2. Create an API key and copy it immediately. Tamloot only shows the full secret once.
  3. Send it as a bearer token with every data request.
curl "https://api.tamloot.cc/v1/contacts?query=maya" \
  -H "Authorization: Bearer tml_live_your_key"

API reference

Rate limits

The API allows 10 requests per second (burst 20). Every response declares that policy, so a client can pace itself instead of discovering the ceiling by hitting it:

HeaderMeaningSent on
RateLimit-LimitRequests allowed per one-second windowEvery response
RateLimit-PolicyThe policy, as <limit>;w=<window seconds>Every response
Retry-AfterSeconds to wait before retrying429 only

A request over the limit is answered with 429 Too Many Requests and a Retry-After. Wait that many seconds and retry.

There is deliberately no RateLimit-Remaining or RateLimit-Reset. The throttle is enforced at the edge, ahead of the application, so no single server can see your running total — a per-server count would report more budget than you actually have left. Pace against RateLimit-Policy and treat a 429 as the authoritative signal.

Endpoints

MethodEndpointPurpose
GET/contacts?query=Search contacts
GET/contacts/{contact_id}Get a contact and its context
GET/sessionsBrowse or search sessions
GET/sessions/{session_id}Get a session and notes
GET/sessions/{session_id}/transcriptGet the transcript text
GET/notes?query=Search notes

The API is read-only. Rotate or revoke a key at any time in Settings → API.