# Getting Started

Human URL: https://dochorizon.klippa.com/docs/api/getting-started
Source: https://dochorizon.klippa.com/docs/llms/api/getting-started.md

> Understand the fundamentals of the Doxis AI.dp API

---

[Video](https://www.youtube.com/watch?v=Yw7IyMedPt0)

This page introduces core concepts of the Doxis AI.dp API, including an overview of the supported **request** types, the **authentication** process, and the **response codes** you may encounter.

### Requests

The Doxis AI.dp API supports a variety of endpoints, each with its own set of operations. The API recognizes the following request types: `POST`, `PATCH`, `PUT`, `GET`, and `DELETE`. Requests such as `POST`, `PATCH`, and `PUT` require a request body. The Doxis AI.dp API mandates the use of `application/json` content type for request bodies and does not accept `multipart/form-data`. Each endpoint has its own requirements for JSON request bodies. Detailed specifications for the necessary JSON structures and endpoint information are available in the API reference and the API endpoint's documentation.

For more information regarding requests using the Doxis AI.dp API, refer to the following pages:

- [API Reference](https://dochorizon.klippa.com/docs/llms/api/reference.md): Overview of input/output schemas of the API.

- [Sending Documents](https://dochorizon.klippa.com/docs/llms/api/sending-documents.md): How to format JSON for sending a document.

- [Supported Document Types](https://dochorizon.klippa.com/docs/llms/api/supported-document-types.md): List of document types supported by the API.

### Authentication

Accessing the services provided by the Doxis AI.dp API requires authentication. This is achieved by including a header field named `x-api-key` in your API request. The value for this field should be your Doxis AI.dp API key. To learn more about the authentication process and how to obtain your API key, refer to the following pages:

- [API Authentication](https://dochorizon.klippa.com/docs/llms/api/authentication.md): Learn how to apply your API key to a request.

- [API Keys](https://dochorizon.klippa.com/docs/llms/platform/credentials.md): Learn where to find and manage your API keys within Doxis AI.dp.

### Response Codes

A successful API request will result in a `200 OK` status code, indicating that the operation was executed without errors. The response message's payload will contain the data requested or affected by the operation. When a request is unsuccessful, the server will return various status codes to denote different types of errors. For an overview of successful responses, as well as an overview of possible error codes, refer to the following pages:

- [API Reference](https://dochorizon.klippa.com/docs/llms/api/authentication.md): See the possible output of each service in case of a 200 OK status.

- [Error Codes](https://dochorizon.klippa.com/docs/llms/api/error-codes.md): See details on each error code and what appropriate steps to take.