---
title: "The document's Community post, in any state, or null (owner only)."
method: GET
path: "/documents/{id}/community"
tags: ["Community"]
---

# The document's Community post, in any state, or null (owner only).

`GET /documents/{id}/community`

## Request

- Base URL: `https://www.livediagram.app/api`
- URL: `https://www.livediagram.app/api/documents/{id}/community`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Owner-Id`

## Path parameters

- `id` string, required

## Response `200`

Success.

- object
  - `post` CommunityOwnPost, required
    - `anonymous` boolean, required
    - `author` CommunityAuthor, required
      - `color` string, required
      - `name` string, required
      - `picture` string, nullable, required
    - `category` 'architecture' | 'flows' | 'planning' | 'workshops' | 'mindmaps' | 'design' | 'data' | 'learning' | 'infographics' | 'art' | 'other', required
    - `copyCount` number, required
    - `description` string, required
    - `id` string, required
    - `likeCount` number, required
    - `liked` boolean, required
    - `publishedAt` number, required
    - `shareCode` string, required
    - `state` 'listed' | 'hidden', required
    - `tags` string[], required
    - `title` string, required
    - `updatedAt` number, required

## Other responses

- `400`: Error.
- `401`: Error.
- `403`: Error.
- `404`: Error.
- `410`: Error.

---

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