Build on the MagicSync API
Everything the interface can do is available to scripts and AI assistants: create posts, queue them, inspect results and read analytics with scoped keys and audit logging.

Designed for Automation
What you can do with MagicSync
Stable shapes, explicit scopes and logs that answer "who changed this?".
Authentication
Create a key at API keys and send it as a bearer token:
curl https://magicsync.dev/api/v1/posts \
-H "Authorization: Bearer $MAGICSYNC_API_KEY"
Keys belong to a user and are limited to that user's businesses. Read-only keys can list and fetch; full-access keys can create, update, schedule and publish.
Endpoint groups
| Group | Base path | Typical use |
|---|---|---|
| Posts | /api/v1/posts | Create, update, schedule and inspect posts |
| Businesses | /api/v1/business | Workspaces, profiles and brand context |
| Accounts | /api/v1/accounts | Connected social accounts and status |
| Media | /api/v1/media | Upload and reference images and video |
| Analytics | /api/v1/stats | Reach, engagement and post performance |
| Templates | /api/v1/templates | Reusable post and variable templates |
| Bulk scheduler | /api/v1/bulk-scheduler | CSV imports and batch creation |
| Agent | /api/v1/agent | Chat sessions, capabilities and runs |
| API keys | /api/v1/api-keys | Create, list and revoke keys |
| MCP | /mcp | Tool and resource discovery for AI clients |
Exact request bodies, query parameters and response schemas are documented per endpoint in the OpenAPI description exposed by the running instance.
MCP in one minute
Point an MCP client at https://magicsync.dev/mcp, authenticate with a key or OAuth, and the assistant can list tools and resources. Approval-gated actions stay gated: the assistant can draft and queue, but publishing follows the permissions on the key.
CLI
The companion CLI wraps the same API for terminal workflows such as bulk text imports and scheduled checks. See the CLI guide for a walkthrough.
MagicSync