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

# Introduction

> Welcome to the SudoPdf API reference. Here you will find all the endpoints to generate PDF

<Card title=" Generate PDF" icon="files" href="/api-reference/endpoint/generate-pdf">
  Generate a PDF
</Card>

## Authentication

Please generate a `API Key` in the [application](https://app.sudopdf.com/settings/api-keys) to use the API.

These `API Key` are used to authenticate the requests to the API and should be appended to the request header as `Authorization: Bearer <API Key>`.

# Installing SDK

```bash theme={null}
npm install @sudopdf/sdk
```

We have a SDK for Typescript/javascript for now and its the most recommended way to use the API.
It is a library that wraps the API and provides a simple interface to use the API. Its also type-safe and can save your time on tinkering.
