The MagicPost REST API powers both the MagicPost web app and the MCP server. Use it directly when you want to script MagicPost operations — automations, integrations, or any workflow where you don’t need an LLM in the loop.Documentation Index
Fetch the complete documentation index at: https://dev.magicpost.in/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
The production base URL for all REST API requests is:Authentication
All endpoints require a Personal Access Token passed as a Bearer token in theAuthorization header. See Authentication for how to create one.
To verify your token is valid, call the verification endpoint:
The
/api/v1/api-keys/* management endpoints are an exception — they use cookie session auth instead of Bearer tokens and are only callable from the MagicPost web app. Generate and revoke keys from the Settings → API & MCP tab.Rate limits
| Scope | Limit |
|---|---|
| All endpoints (default) | 60 requests/min per token |
POST /refresh-posts | 5 requests/min per token |
429.
Endpoints
Posts
List, fetch, create, and update your LinkedIn posts.
Scheduling
Schedule, cancel, and immediately publish posts.
Metrics
Pull an analytics summary and trigger a LinkedIn data refresh.
API Keys
Manage your Personal Access Tokens. Cookie auth only.