Post to Mastodon via API
Publish to Mastodon from an AI agent, a CI pipeline, or any app — one call through the Socifyr MCP server, REST API, CLI, or TypeScript SDK. Connect Mastodon once, hand your agent a key, and it never sees your Mastodon tokens.
Mastodon API limits & specs
Caption limit500 characters
Posts per 24 hours100
Images per post4
Carousel itemsup to 4
Max video size40 MB
Max video length60 min
Image formatsJPG, PNG, GIF, WEBP
Socifyr enforces these limits for you and returns a plain-language reason when a platform rejects a post. Specs reflect Mastodon’s published API as of November 2026.
Post to Mastodon in one call
curl -X POST https://api.socifyr.com/api/content/text \
-H "Authorization: Bearer sk_your_key" \
-H "X-Workspace-Id: ws_abc123" \
-H "Content-Type: application/json" \
-d '{ "connections": ["mastodon-mybrand"], "text": "Hello, Mastodon!" }'Prefer an agent? Add the Socifyr MCP server and ask it to “post this to Mastodon.” Prefer code? The same request works from the CLI (socifyr post) and the TypeScript SDK.
Post to other platforms
InstagramFacebookX (Twitter)LinkedInTikTokYouTubeThreadsPinterestRedditBlueskyTelegramDiscordNostrSlackDev.toHashnodeTumblr
Publish to Mastodon in five minutes
Hand your agent one key and publish across 18 platforms. Flat pricing from $9.99, no card to start.