Skip to content

Examples ​

Each guide below includes working code in three languages: bash/curl, TypeScript, and Python. Copy and adapt them to your client.

INFO

All examples are verified against the running API as part of our CI pipeline, so every field name and value is current.

Guides ​

GuideWhat it coversFiles
AuthenticationCreating and using API keys, scopes, and securitycurl · TypeScript · Python
ErrorsHandling refusals, error codes, and recoverycurl · TypeScript · Python
PaginationReading large datasets with offset and limitcurl · TypeScript · Python
Rate LimitsRespecting quotas and retry logiccurl · TypeScript · Python
ScopesDeclaring what a key can reachcurl · TypeScript · Python
IdempotencyRetrying writes safelycurl · TypeScript · Python
VersioningUsing API versions and managing upgradescurl · TypeScript · Python
WebhooksReceiving and validating webhook eventscurl · TypeScript · Python
MCPUsing the API with Claude's MCP interfacecurl · TypeScript · Python
QuickstartYour first request walk-throughcurl · TypeScript · Python

How to use them ​

  1. Pick a guide and a language
  2. Open the file on GitHub (links above)
  3. Copy the code and adapt it to your needs

Each example is self-contained and runnable with no dependencies beyond what the language ships with.

Tightly API, version 2026-11.