> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dojah.io/llms.txt
> Use this file to discover all available pages before exploring further.

# TypeScript

> Call the Dojah REST API from Node.js or TypeScript with the typed Dojah client.

Call the Dojah REST API from Node.js / TypeScript with the typed Dojah client.

<Warning>
  This is a **server-side** client using your **secret** key (passed as `Authorization`) — never ship it in client code. For verification UI in an app, use a [Widget SDK](/api-reference/widget-sdks/choosing-an-sdk).
</Warning>

## Install

```bash Terminal theme={null}
npm install dojah-typescript-sdk
```

## Make a request

```ts verify.ts theme={null}
import { Dojah } from "dojah-typescript-sdk"

const dojah = new Dojah({
  authorization: process.env.DOJAH_SECRET_KEY,
  appId: process.env.DOJAH_APP_ID,
})

const result = await dojah.aml.getScreeningInfo({ profileId: "WC7117469" })
```

Every endpoint in the [API reference](/api-reference/get-started/introduction) is exposed on the client, grouped by API.
