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

# Social Media Agent

> Multi-platform posting, content calendar, and engagement analytics.

# Social Media Agent

Create content, schedule posts, and track analytics across Twitter/X, LinkedIn, Instagram, TikTok, and YouTube.

## Connecting Platforms

Social accounts connect via stealth browser authentication. Provide your credentials (encrypted in vault) and the agent authenticates undetectably:

```bash theme={null}
POST /social/accounts/connect
{"platform": "twitter", "credentials": {"username": "@handle", "password": "..."}}
```

## Post Management

```bash theme={null}
POST /social/posts                          # Create draft
POST /social/posts/{id}/publish             # Approve & publish
POST /social/posts/{id}/schedule            # Schedule for later
POST /social/posts/cross-post               # Post to multiple platforms
DELETE /social/posts/{id}                    # Delete draft
```

All posts start as drafts requiring your approval.

## Content Calendar

```bash theme={null}
POST /social/calendar/generate
{"platform": "twitter", "start_date": "2026-06-20", "end_date": "2026-06-27", "posts_per_day": 2}

GET /social/calendar
```

## Analytics

```bash theme={null}
GET /social/analytics/{post_id}
```

Returns impressions, likes, replies, shares, engagement rate.

## Supported Platforms

| Platform  | Auth    | Capabilities                       |
| --------- | ------- | ---------------------------------- |
| Twitter/X | Browser | Post, reply, DM, search, analytics |
| LinkedIn  | Browser | Post, connect, message, analytics  |
| Instagram | Browser | Post, stories, reels, comments     |
| TikTok    | Browser | Upload, trends, comments           |
| YouTube   | OAuth   | Upload, metadata, thumbnails       |
