# Mastodon

> Any Mastodon server, connected in one step.

Socialit registers an app on your server automatically, then posts with content warnings, visibility, polls and threads. Mentions, replies and direct messages land in the inbox.

Platform key: `mastodon` · Connection: oauth

## Post types

- Text: up to 500 characters (Server-dependent; many servers allow more)
- Images: up to 4 per post
- Video
- Polls
- Threads

## Example

```bash
curl https://api.socialit.com/v1/posts \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Focus mode is live. Open one account, use everything.",
    "account_ids": [
      "sa_mastodon…"
    ],
    "scheduled_at": "2026-10-14T09:00:00.000Z",
    "platform_options": {
      "mastodon": {
        "visibility": "public",
        "spoiler_text": ""
      }
    }
  }'
```

## Focus mode

- Content warnings, visibility and language
- Polls, threads and quote posts
- Notifications, mentions and direct messages
- Lists, filters and follows
- Favourites, boosts and bookmarks

---

Source: https://socialit.com/docs/networks/mastodon/
