# Marky API - [Introduction](https://docs.mymarky.ai/introduction.md): Automate social posting with the Marky API - [Authentication](https://docs.mymarky.ai/authentication.md): Create and manage API keys - [Quickstart](https://docs.mymarky.ai/quickstart.md): Create and schedule your first post in 2 minutes - [Webhooks](https://docs.mymarky.ai/webhooks.md): Receive a signed POST when a post publishes, and verify it came from Marky. - [SDKs](https://docs.mymarky.ai/sdks.md): Typed TypeScript and Python clients for the API - [MCP Server](https://docs.mymarky.ai/mcp-server.md): Connect any MCP client (Claude Code, Cursor, custom agents) to Marky - [Versioning](https://docs.mymarky.ai/versioning.md): How API versioning works - [Changelog](https://docs.mymarky.ai/changelog.md): API and documentation updates for the Marky public API - [Error handling](https://docs.mymarky.ai/error-handling.md): Catch and respond to invalid input, auth problems, rate limits, and more. - [Error codes](https://docs.mymarky.ai/errors.md): Every error code, what it means, and how to resolve it. - [API Terms of Service](https://docs.mymarky.ai/terms.md): Terms governing use of the Marky API - [AI Agents](https://docs.mymarky.ai/ai-agents.md): Use Claude Code, OpenClaw, or custom agents to create and schedule posts - [Connect Claude to Marky](https://docs.mymarky.ai/claude-code.md): Connect the Claude Code CLI or the Claude Desktop app to Marky to generate and schedule social posts - [ChatGPT & Codex](https://docs.mymarky.ai/chatgpt.md): Connect ChatGPT (web or desktop) or the Codex CLI to Marky - [n8n](https://docs.mymarky.ai/n8n.md): Automate social posting with n8n workflows - [Zapier & Make](https://docs.mymarky.ai/zapier-make.md): Automate social posting with Zapier or Make (Integromat) - [Go High Level](https://docs.mymarky.ai/go-high-level.md): Connect Marky to Go High Level for automated social content - [Generate posts](https://docs.mymarky.ai/api-reference/generate-posts.md): Generate social media posts from your content. DEPRECATED — prefer `create_post`. - [Get job status](https://docs.mymarky.ai/api-reference/get-job-status.md): Poll a generation job for completion. - [Video Posts](https://docs.mymarky.ai/api-reference/video-posts.md): How to schedule a video with a caption through the API: the endpoints, the file limits, and which platforms accept video. - [Create post](https://docs.mymarky.ai/api-reference/create-post.md): Create a post directly without using the generation pipeline. - [List posts](https://docs.mymarky.ai/api-reference/list-posts.md): List posts for a workspace, newest first. Use cursor for pagination. - [Get post](https://docs.mymarky.ai/api-reference/get-post.md): Get a single post by ID, including per-platform publish results. - [Update post](https://docs.mymarky.ai/api-reference/update-post.md): Update a post's caption, review status, target platforms, media, or platform overrides. - [Schedule post](https://docs.mymarky.ai/api-reference/schedule-post.md): Schedule a post for publishing at a specific time. - [Publish post now](https://docs.mymarky.ai/api-reference/publish-post.md): Publish a post immediately to its connected platforms. - [List post comments](https://docs.mymarky.ai/api-reference/list-post-comments.md): List your team's INTERNAL review notes on a post, newest first. - [Add post comment](https://docs.mymarky.ai/api-reference/create-post-comment.md): Add a note to a post's INTERNAL review thread (visible to your team only). - [Resolve post comment](https://docs.mymarky.ai/api-reference/resolve-post-comment.md): Mark an internal review note as handled, or reopen it. - [Stats Coverage by Platform](https://docs.mymarky.ai/api-reference/stats-coverage.md): Which post-stat and account-stat fields are populated for each connected social platform. - [Get post stats](https://docs.mymarky.ai/api-reference/get-post-stats.md): Fetch per-platform analytics for a post published through Marky. - [Get integration stats](https://docs.mymarky.ai/api-reference/get-integration-stats.md): Fetch account/page analytics for a single connected integration. - [Get external post stats](https://docs.mymarky.ai/api-reference/get-integration-post-stats.md): Fetch stats for a single post on a connected platform. - [List integrations](https://docs.mymarky.ai/api-reference/list-integrations.md): List the SOCIAL ACCOUNTS connected to this workspace (Facebook, Instagram, LinkedIn, TikTok, etc.) — NOT the workspace's posts or other workspaces. - [List posts on a platform](https://docs.mymarky.ai/api-reference/list-integration-posts.md): List posts published to a connected platform account, with stats. - [Create workspace](https://docs.mymarky.ai/api-reference/create-business.md): Create a new workspace in your organization. - [List workspaces](https://docs.mymarky.ai/api-reference/list-businesses.md): List the workspaces you can access. - [Get workspace](https://docs.mymarky.ai/api-reference/get-business.md): Get the FULL profile of a single workspace. Must belong to your org. - [Update workspace](https://docs.mymarky.ai/api-reference/update-business.md): Update a workspace. Only provided fields are changed. - [Delete workspace](https://docs.mymarky.ai/api-reference/delete-business.md): Soft-delete a workspace. Sets its deleted_at timestamp. - [create topic](https://docs.mymarky.ai/api-reference/create-topic.md): Create a new topic for a workspace. - [list topics](https://docs.mymarky.ai/api-reference/list-topics.md): List all topics for a workspace. - [get topic](https://docs.mymarky.ai/api-reference/get-topic.md): Get a single topic. - [update topic](https://docs.mymarky.ai/api-reference/update-topic.md): Update a topic. - [delete topic](https://docs.mymarky.ai/api-reference/delete-topic.md): Soft-delete a topic. - [Upload media](https://docs.mymarky.ai/api-reference/upload-media.md): Upload a binary image or video file into a workspace's MEDIA library. - [List media](https://docs.mymarky.ai/api-reference/list-media.md): List MEDIA ASSETS (uploaded images, videos and audio) in a workspace's media library, newest first. - [Get media](https://docs.mymarky.ai/api-reference/get-media.md): Get a single MEDIA ASSET (uploaded image or video) by its media ID. - [Delete media](https://docs.mymarky.ai/api-reference/delete-media.md): Soft-delete a MEDIA ASSET (image/video) from the media library (sets enabled=false). - [Create folder](https://docs.mymarky.ai/api-reference/create-folder.md): Create a folder to organize DOCUMENTS in a workspace's library. - [List folders](https://docs.mymarky.ai/api-reference/list-folders.md): List folders that organize DOCUMENTS in a workspace's library, A-Z. Pass parent_id to list subfolders. Use cursor for pagination. - [Get folder](https://docs.mymarky.ai/api-reference/get-folder.md): Get a single folder. - [Update folder](https://docs.mymarky.ai/api-reference/update-folder.md): Update a folder's name. - [Delete folder](https://docs.mymarky.ai/api-reference/delete-folder.md): Delete a folder. Folder must be empty (no files or subfolders). - [Create file](https://docs.mymarky.ai/api-reference/create-file.md): Create a markdown/text DOCUMENT in a workspace's library. - [List files](https://docs.mymarky.ai/api-reference/list-files.md): List markdown/text DOCUMENTS in a workspace's library. - [Get file](https://docs.mymarky.ai/api-reference/get-file.md): Get a markdown/text DOCUMENT with its content (body_text) and attached media. - [Update file](https://docs.mymarky.ai/api-reference/update-file.md): Update a markdown/text DOCUMENT's name or content. - [Delete file](https://docs.mymarky.ai/api-reference/delete-file.md): Delete a markdown/text DOCUMENT from the library. - [Attach media to file](https://docs.mymarky.ai/api-reference/attach-media.md): Attach media (images/videos) to a file. Idempotent: duplicate attachments are ignored. - [Register webhook](https://docs.mymarky.ai/api-reference/create-webhook.md): Register a webhook URL to receive events. - [List webhooks](https://docs.mymarky.ai/api-reference/list-webhooks.md): List the webhook registrations for your org, newest first. Use cursor for pagination. - [Delete webhook](https://docs.mymarky.ai/api-reference/delete-webhook.md): Delete a webhook registration. - [List webhook deliveries](https://docs.mymarky.ai/api-reference/list-webhook-deliveries.md): List recent delivery attempts for a webhook, newest first. Use cursor for pagination. - [Submit feedback](https://docs.mymarky.ai/api-reference/submit-feedback.md): Submit a bug report, feature request, or general feedback. ## OpenAPI Specs - [public-openapi](/public-openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.