# SDK and tools

> The official TypeScript SDK, Postman and Bruno collections, the OpenAPI spec and the portal in markdown (llms.txt) for AI agents.


Everything comes from the same OpenAPI spec, generated from the API’s code: the SDK, the collections and these docs.

## TypeScript SDK

@bydomu/sdk: typed client, for await pagination, retries, automatic Idempotency-Key and verifyWebhook(). It’s ready and will be on npm soon; meanwhile, each endpoint’s JavaScript tab also has the fetch example.

npm:

```
npm install @bydomu/sdk
```

TypeScript:

```ts
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({ apiKey: process.env.BYDOMU_API_KEY });

const { data: contact } = await bydomu.contacts.get("clx1con001");
for await (const deal of bydomu.deals.list({ status: ["OPEN"] })) {
  console.log(deal.title);
}
```

## Postman, Bruno and OpenAPI

Collections with every endpoint and the baseUrl and apiKey variables. To rehearse, put a test key in apiKey.

- [Postman collection](https://developers.bydomu.com/bydomu-api.postman_collection.json)
- [Bruno collection](https://developers.bydomu.com/bydomu-api.bruno_collection.json)
- [openapi.json](https://api.bydomu.com/v1/openapi.json)

## llms.txt and markdown

Every portal page is available in markdown: add .md to its address, send Accept: text/markdown or use “Copy for AI”. The index is at [llms.txt](https://developers.bydomu.com/llms.txt) and everything together at [llms-full.txt](https://developers.bydomu.com/llms-full.txt).

- [https://developers.bydomu.com/en/referencia.md](https://developers.bydomu.com/en/referencia.md)

[Prompts for coding agents](https://developers.bydomu.com/en/prompts)
