Skip to main content

Overview

Lemmy is a decentralized Reddit alternative. When posting to Lemmy, you need to specify the community and post details.
The settings use subreddit as the field name for historical reasons, but it refers to Lemmy communities.

Settings Schema

{
  "__type": "lemmy",
  "subreddit": [
    {
      "value": {
        "subreddit": "community_name",
        "id": "community-id",
        "title": "Post Title",
        "url": "https://optional-link.com"
      }
    }
  ]
}

Properties

PropertyTypeRequiredDescription
__typestringMust be "lemmy"
subredditarrayArray of community targets
subreddit[].value.subredditstringCommunity name (min 2 chars)
subreddit[].value.idstringCommunity ID
subreddit[].value.titlestringPost title (min 2 chars)
subreddit[].value.urlstringOptional link URL

Example

{
  "type": "schedule",
  "date": "2024-12-14T10:00:00.000Z",
  "shortLink": false,
  "tags": [],
  "posts": [
    {
      "integration": {
        "id": "your-lemmy-integration-id"
      },
      "value": [
        {
          "content": "Check out this interesting article about open-source software!",
          "image": []
        }
      ],
      "settings": {
        "__type": "lemmy",
        "subreddit": [
          {
            "value": {
              "subreddit": "opensource",
              "id": "123456",
              "title": "Why Open Source Matters",
              "url": ""
            }
          }
        ]
      }
    }
  ]
}

Notes

  • You can post to multiple communities by adding more items to the subreddit array
  • Each community requires a unique title for the post
  • The url field is optional and used for link-type posts