---
title: "List the Lemmy communities a connected account is subscribed to"
method: GET
path: "/composer/lemmy/communities"
tags: ["Composer helpers"]
---

# List the Lemmy communities a connected account is subscribed to

`GET /composer/lemmy/communities`

## Request

- Base URL: `https://api.misar.io/post`
- URL: `https://api.misar.io/post/composer/lemmy/communities`
- Auth: API key in header `Authorization`

Requires `accountId` to be a connected account on the `lemmy` platform, owned by the caller. Any upstream failure returns an empty `options` list rather than an error. Rate limit: 30 requests/minute.

## Query parameters

- `accountId` string, uuid, required

## Response `200`

Options for a select/dropdown.

- OptionsResponse
  - `options` object[], required
    - `value` string, required
    - `label` string, required

## Other responses

- `401`: Missing, malformed, revoked, or invalid API key/session.
- `402`: Plan limit: no active plan (any write; `reason: "no_active_plan"`), a monthly allowance is spent, or the feature is not on the caller's plan. Detect by `code: "plan_limit_exceeded"`.
- `403`: The API key lacks the scope this operation requires (`code: "insufficient_scope"`, `required_scope`).
- `404`: Connected account not found (or not owned by the caller, or not on this platform).
- `429`: Per-user, per-route rate limit exceeded for this endpoint.

---

[API](https://skmtc.dev/misarpost/apis/misarpost-api.md) · [All operations](https://skmtc.dev/misarpost/apis/misarpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/misarpost/apis/misarpost-api/revisions/deec26db1305?raw)
