Skip to content

Mastodon ​

Mastodon is one of Socifyr's 18 supported platforms — publish from the dashboard, REST API, CLI, SDK, or MCP server.

At a glance ​

Video40 MB
Photos8 MB per image, ≤4
Text500 chars
Daily post cap100 / rolling 24 h
SupportsStatuses · Up to 4 photos · Video · Visibility per post

Connect ​

Credential entry — instance URL + access token.

On your instance: Preferences → Development → New Application, tick read + write, then paste the instance URL + access token into Socifyr.

Publish ​

bash
socifyr post "Hello Mastodon" --to mastodon-myaccount
bash
socifyr post --video ./clip.mp4 --text "caption" --to mastodon-myaccount
typescript
await socifyr.uploads.text({
  connections: ['mastodon-myaccount'],
  text: 'Hello Mastodon',
})
bash
curl -X POST https://api.socifyr.com/api/content/text \
  -H "Authorization: Bearer $SOCIFYR_API_KEY" \
  -H "X-Workspace-Id: $SOCIFYR_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{"connections": ["mastodon-myaccount"], "text": "Hello Mastodon"}'

Agents can post here too — connect the MCP server and ask any client: "post 'Hello Mastodon' to mastodon-myaccount".

Good to know ​

  • Visibility: public / unlisted / followers-only / direct.
  • Instances may impose smaller media limits than the API maximums.
  • Tokens never expire — revoke in Preferences → Development.

Need exact numeric limits in code? They're machine-readable in @socifyr/shared via PLATFORM_CONSTRAINTS.mastodon — validate before upload.