> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.middesk.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.middesk.com/_mcp/server.

# Authentication

> Authenticate requests to the Middesk API with API keys or OAuth 2.0.

#### [API keys](/build/api-keys)

Use your account's API keys to authenticate your own server's requests to your Middesk account.

#### [OAuth 2.0 authentication](/authentication/oauth)

Let Middesk users authorize your application to access the Middesk API on their behalf.

> **Get a demo**
>
> Contact your account manager or [contact sales](https://www.middesk.com/contact-sales) to inquire about access.