Skip to content

Get started

Errors and limits

Errors use HTTP status codes and one JSON shape. Retries are safe with idempotency keys, and lists page with a cursor.

Error format

400 Bad Request
{
  "error": {
    "type": "invalid_request_error",
    "message": "Choose a start time in the future.",
    "param": "start"
  }
}

param names the field at fault when there is one. message is written for people and safe to show to your users.

Error types

TypeWhen
authentication_error401: the key is missing, wrong or revoked.
permission_error403: the key lacks the scope, or the workspace isn’t set up.
plan_error403: the workspace’s plan doesn’t include this (the API itself, recording, AI summaries…).
invalid_request_error400: a field is missing or invalid. See param.
not_found404: no such object in this workspace.
idempotency_error422: an Idempotency-Key was reused with a different request.
rate_limit_error429: too many requests. Wait and retry.
api_error500: something failed on our side. Safe to retry with the same Idempotency-Key.

Rate limits

Each key can make 120 requests per minute. Every response carries X-RateLimit-Limit and X-RateLimit-Remaining. Over the limit you get 429; back off for a few seconds and retry.

Idempotent retries

Send an Idempotency-Key header with any POST. Repeating the same request with the same key within 24 hours returns the first response instead of acting twice. Use something unique to the action in your system, such as an appointment id.

Header
Idempotency-Key: appointment-8812

Pagination

Lists return { "object": "list", "data": [...], "has_more": true }. Pass limit (1–100, default 20) and, for the next page,starting_after set to the id of the last item you received.