---
title: "Introduction"
description: "Give agents an API, CLI, and MCP server for social publishing."
---

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

# Introduction

PubNio gives agents an API, CLI, and hosted MCP server for publishing to
Facebook Pages, Instagram, LinkedIn, Pinterest, TikTok, X, and YouTube. Connect
an account to a workspace, draft shared content, validate each destination,
then publish or schedule it and track every delivery separately.

- [**Quickstart**](https://pubnio.com/docs/quickstart/) — Create a draft, publish it, and read the delivery status.
- [**Publishing model**](https://pubnio.com/docs/publishing/) — How posts, drafts, targets, attempts, and outcomes fit together.
- [**API reference**](https://pubnio.com/api/v1/docs) — The interactive Scalar reference for every endpoint.
- [**Hosted MCP**](https://pubnio.com/docs/mcp/) — Use PubNio from an OAuth-capable MCP client.

## What you need

- A PubNio workspace.
- A connected Facebook Page, Instagram account, LinkedIn member, Pinterest
  board, TikTok account, X account, or YouTube channel.
- A WorkOS access token for the API, or a workspace API key for the SDK and
  CLI.

## How it works

1. Pick a workspace and an enabled publishing account.
2. Create a draft with shared text, media, and one target per destination.
3. Validate the saved draft to see destination-specific issues.
4. Publish now or schedule it with an idempotency key.
5. Poll the post status for the confirmed outcome of each target.

A publish response means PubNio accepted durable work. It does not mean the
provider has published yet. Read the status until each target settles.

## For agents

This site publishes Markdown and an agent index:

- [Docs llms.txt](https://pubnio.com/docs/llms.txt)
- [Root llms.txt](https://pubnio.com/llms.txt)
- `/docs/<slug>/index.md` for every page.

Use the [API reference](https://pubnio.com/api/v1/openapi) for the full
machine-readable contract.

Source: https://pubnio.com/docs/index.mdx
