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

# Authentication

> Authenticate with the updates.page API

# Authentication

The updates.page API lets you create, publish, and manage posts programmatically.

<Note>
  API access is available on the **Business** plan.
</Note>

## Base URL

All API requests are made to:

```
https://app.updates.page
```

All endpoints accept and return JSON.

## Creating an API key

<Steps>
  <Step title="Go to API Keys">
    In the dashboard, navigate to **Account → API Keys**
  </Step>

  <Step title="Create a key">
    Click to create a new API key and give it a descriptive name
  </Step>

  <Step title="Copy the key">
    Copy the key and store it somewhere safe
  </Step>
</Steps>

<Warning>
  Treat API keys like passwords. Don't commit them to source control or expose them in client-side code.
</Warning>

## Using your API key

Send your key in the `Authorization` header as a Bearer token:

```bash theme={null}
curl https://app.updates.page/api/v1/posts \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Endpoints

<CardGroup cols={2}>
  <Card title="Posts" icon="bullhorn" href="/api/posts">
    List, create, publish, and delete posts
  </Card>

  <Card title="Categories" icon="tag" href="/api/categories">
    Manage the categories used to organize posts
  </Card>
</CardGroup>
