# Chat33 API

> Schedule and publish content to Instagram, Facebook, TikTok, YouTube, and X (Twitter). All endpoints support API key (x-api-key header) or session auth. Generate API keys in Settings → API Keys.

## Docs

- [Full API Reference](https://chat33.io/llms-full.txt) — complete markdown docs for AI tools
- [OpenAPI JSON Spec](https://chat33.io/api/v1/openapi) — OpenAPI 3.1 spec
- [Interactive Docs](https://chat33.io/developers/openapi) — explore endpoints in browser
- [Guides](https://chat33.io/developers) — tracking pixel, webhooks, MMP, social posting guides

## Quick start

1. Generate an API key at `https://chat33.io/settings` → API Keys
2. Base URL: `https://chat33.io/api/v1`
3. Header: `x-api-key: sk_live_...`

## Endpoints

### Accounts

- `GET /accounts` — List connected accounts

### Posts

- `POST /posts` — Create and queue a post
- `GET /posts` — List posts
- `POST /posts/validate` — Validate a post (dry run)
- `GET /posts/{id}` — Get post details
- `PATCH /posts/{id}` — Update a post
- `DELETE /posts/{id}` — Delete or cancel a post
- `POST /posts/{id}/duplicate` — Duplicate a post
- `GET /posts/{id}/logs` — Get publish attempt logs

### Media

- `POST /media/upload` — Upload media

### API Keys

- `POST /api-keys` — Create API key
- `GET /api-keys` — List API keys
- `DELETE /api-keys/{id}` — Revoke an API key
