# SDKs

OpenEmail's API as typed methods in your language: every operation of the API reference, its arguments and its answer typed. TypeScript first.

An SDK is the API as a library: every operation in the
[API reference](/docs/api/overview) is a method, its arguments and its answer
typed from the same OpenAPI document the reference is drawn from, with
listings that page themselves, one error type, webhook checks and live events.
Each has its own tab at the top of this page.

<DocsCards
  part='not-prose'
  cards={[
    { href: '/docs/sdks/typescript', icon: 'code', title: 'TypeScript', description: '@openemail/sdk, for Node 22 and later, Deno and Bun: all 318 operations, in 46 namespaces.' },
    { href: '/docs/cli', icon: 'command-line', title: 'CLI', description: 'The same API from a terminal: every command group and flag, and the interactive client.' },
  ]}
/>

## Every page in both places

Each method of the TypeScript SDK has a page of its own, and each links its
operation in the API reference. Each operation of the API reference names its
method in the SDK, and shows a call of it among its examples. Read whichever
fits: the reference for the HTTP, the SDK for the code.

## Not your language yet

The API is plain HTTP and JSON. Every page of the API reference carries a curl
example and examples in six languages, and the OpenAPI document itself is
served at [/openapi.json](/openapi.json) for generating a client of your own.
