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

# Introduction

> The Postinger REST API: posts, media, accounts and analytics for one workspace.

The API does what the app does, for the workspace your key belongs to: schedule and publish posts, upload media, list connected accounts and read analytics. The [CLI](https://docs.postinger.dev/cli/installation.md) and [MCP](https://docs.postinger.dev/mcp/overview.md) are built on it.

## Base URL

```text theme={"system"}
https://api.postinger.dev/v1
```

The OpenAPI description is at [`https://api.postinger.dev/v1/openapi.json`](https://api.postinger.dev/v1/openapi.json).

## Conventions

* Requests and answers are JSON, with `camelCase` fields.
* IDs are UUIDs.
* Times are ISO 8601 in UTC, except schedule times, which are on the [workspace's clock](https://docs.postinger.dev/concepts/workspaces.md#the-workspaces-clock).
* Errors are [problem details](https://docs.postinger.dev/api-reference/errors.md).

## A first request

```bash theme={"system"}
curl https://api.postinger.dev/v1/me \
  -H "Authorization: Bearer $POSTINGER_API_KEY"
```

```json theme={"system"}
{
  "workspace": { "id": "…", "name": "Acme", "timeZone": "Europe/Istanbul" },
  "apiKey": { "id": "…", "name": "Website", "scopes": ["posts:read", "posts:write"], "expiresAt": null }
}
```

> [card] [Authentication](https://docs.postinger.dev/api-reference/authentication.md)
>
> Keys and scopes.

> [card] [Webhooks](https://docs.postinger.dev/api-reference/webhooks/overview.md)
>
> Events sent to your server.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.