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

# Upsun API

> Interact with the Upsun platform programmatically through the REST API or language-specific SDKs.

Manage projects, environments, and resources programmatically. Automate deployments, configure infrastructure, and integrate Upsun into your toolchain.

## SDKs

Official client libraries with typed methods and built-in authentication.

<CardGroup cols={2}>
  <Card title="PHP SDK" icon="php" href="/api/sdk/php">
    Install with Composer and manage your Upsun projects from PHP applications and scripts.
  </Card>

  <Card title="Node.js SDK" icon="js" href="/api/sdk/js">
    Install with `npm` and integrate Upsun into your Node.js applications, serverless functions, or build pipelines.
  </Card>
</CardGroup>

## REST API

Full access to the Upsun platform over HTTP. Authenticate with API tokens and interact with any resource.

<CardGroup cols={2}>
  <Card title="Authentication" icon="lock" href="/api/rest/authentication">
    API tokens and OAuth
  </Card>

  <Card title="Errors" icon="shield" href="/api/rest/errors">
    Error codes and best practices
  </Card>
</CardGroup>

## OpenAPI Reference

Interactive documentation for every endpoint, generated from the Upsun OpenAPI spec. Try requests directly from the browser.

<CardGroup cols={1}>
  <Card title="Explore the API" icon="book-open" href="/api/rest/overview">
    Browse all available endpoints with request and response schemas, parameters, and example payloads.
  </Card>
</CardGroup>
