Skip to content
Tendral Health

Quickstart

Make one call, read the response, and learn how errors and keys work. It takes five minutes and needs no key.

1. Call the health endpoint

GET /v1/health needs no key. It tells you the API is reachable from where your code runs.

curl -i https://api.tendralhealth.com/v1/health

2. Read the response

A reachable API answers 200 with three fields:

Response
{
  "status": "ok",
  "version": "1.0.0",
  "timestamp": "2026-10-07T14:02:11.000Z"
}
  • status is ok when the API is up.
  • version is the API build that answered.
  • timestamp is the server's clock, in UTC, as ISO 8601.

3. Handle errors

Authenticated endpoints answer every failure with one envelope. Branch on error.type, show error.message in your logs, and quote error.request_id when you write to us. Every error.code links to its own entry on the Errors page through error.doc_url.

4. Get an API key

Every other endpoint needs a key (Authorization: Bearer tk_live_…). Keys are issued to organizations during onboarding; there is no self-serve key yet. Request access and tell us what you want to build.

If your organization already has a key, sign in to your partner docs with it to see the endpoints it can call.