> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an inbox item

> Get one comment, mention or review from the Inbox, with everything it takes to answer it.

> [!NOTE]
>
> Needs `comments:read`. Your role in the item's workspace must also let you see public comments; a Client's does. See [Permissions](/docs/essentials/authentication.md#permissions).

One item, the same as each item of [List the inbox](/docs/api-reference/inbox/list.md). Reading it here doesn't mark it read for the team; opening it in the app does.

## What's in an item

* **What it is.** `kind` is `comment` (a top-level comment on one of your posts), `mention` (someone else's post or comment that names one of your accounts) or `review` (a Google review). `status` is `open` or `done`, and `done_how` says how it closed: `replied`, `marked`, `hidden` or `deleted`. A new message from them opens it again, and so does your only reply being deleted on the network.
* **Who and what.** `person` is who wrote it. `contact` is their contact card, only what PostSyncer holds: tags, how many times they wrote, first and last seen, email, lists and notes. Contacts are on paid plans: on Free, `contact` is `null` and `contact_locked` is `true`. A role that can't see contacts gets `contact: null` and `contact_locked: false`. `text`, `media` and, on a review, `stars` are what they wrote. `text` is their words: each link is whole, as the person meant it, even where the network shows it shortened. On a mention on Bluesky, X or Mastodon, `quoted` is the post their message quotes (`author_name`, `author_handle`, `text`, `url`), and on a mention on Bluesky, Mastodon or LinkedIn, `link_preview` is the link card their message shows (the page's `url`, `title` and `description`). Each is `null` when there is none, and always on a comment or a review.
* **What it's about.** `about.type` is `post` (your post, with `post_id`), `mention_source` (the post that names you, or the post above the comment that does, with the network's numbers in `stats`) or `place` (the reviewed location). `about.from` says who wrote that post: `us` (the account: your post, or your own reply a mention answers) or `them`, and `null` for a review's place. `about.author_name` names them: the account's name for yours, else their name or @handle where the network gives it.
* **The conversation.** `thread` holds the messages after the first one, oldest first: `from` is `them` or `us`, and `sent_by` is the teammate who sent one from PostSyncer. Each has a `state`: `sent` for every message on the network. Your reply under a mention is `sending` until the network answers, then `sent`, or `refused` with the network's reason in `error`, and the item stays open. `notes` are the team's notes, which never reach the network. With client sign-off on, a Client member reads only the notes Client members wrote.
* **Tags.** `question` (it has a question mark) and `spam` (moderation removed it as junk) come on their own. `lead`, `complaint` and `praise` come when PostSyncer AI drafts a reply for it.
* **Who answers, and the draft.** `assignee` is the teammate it is given to. `draft` is the reply waiting to be sent: `by` is `ai` (PostSyncer AI), `agent` (an agent through the API or MCP, named in `agent`), `snippet` (named in `agent`) or `person`. A draft never sends itself. A reply PostSyncer takes to send clears it; a comment reply the network refuses comes back as the draft (`by: person`), unless someone wrote a newer one.
* **What you can do.** `can` says what the key's user may do, by their role and the network: `reply`, `hide`, `delete`, `assign` and `draft`, and `note` for a [team note](/docs/api-reference/inbox/notes.md), which a Client may write too. `can.reply` is `false` when nobody can answer the item from PostSyncer: a mention the network takes no reply to from apps, or a comment hidden or deleted on its network. `cant_reply_reason` then says why, in words to show the user, such as `The comment is hidden on Facebook. Unhide it to reply.`, with `links.open_on_network` to answer on the network. It is `null` when a reply can go out, and always on a review. A comment's `source.hidden` is `true` while it is hidden on its network: [unhide it](/docs/api-reference/comments/hide.md) to reply. [Draft a reply with AI](/docs/api-reference/inbox/draft.md) skips these items. `reply_limit` is the longest reply the network takes.
* **How to answer.** `source` has the id to answer with: `comment_id` for [Create a comment](/docs/api-reference/comments/create.md) as `parent_comment_id`, `mention_id` for [Reply to a mention](/docs/api-reference/mentions/reply.md), `review_id` for [Reply to a review](/docs/api-reference/reviews/reply.md).

When an item was joined into another one (a comment PostSyncer later found to be a reply, or a mention later saved as a comment), its old id answers `404` with `{"message": "This item is now part of item 123. Use that id.", "moved_to": 123}`. Read or change item `moved_to` instead; a change sent to the old id changes nothing. You get `moved_to` only for an item you can open; otherwise the answer is the usual `404 {"message": "Not found."}`.

## Errors

| Status | `error` | When | Retry? |
| - | - | - | - |
| 401 | | No API key, or not a valid one. | No: fix the key. |
| 403 | | The key lacks `comments:read`, its user is inactive, or your role can't see public comments. | No: grant it in Settings → API. |
| 404 | | No item with that id in the workspaces the key can reach. With `moved_to`, the item is now part of that one. | No: use item `moved_to`. |
| 429 | | More than 60 requests a minute. | Yes, after `Retry-After` seconds. |

## Related

* [Update an inbox item](/docs/api-reference/inbox/update.md): mark it done, give it to a teammate, or leave a draft.
* [Work through the Inbox](/docs/guides/inbox.md#answer-an-item): answer each kind.


## OpenAPI

````yaml GET /inbox/{thread}
openapi: 3.0.3
info:
  title: PostSyncer API
  description: >-
    Post to 14 social networks from your code: posts, media, comments,
    analytics, webhooks and more.
  version: 1.0.0
servers:
  - url: https://postsyncer.com/api/v1
security:
  - bearerAuth: []
tags:
  - name: Workspaces
    description: The workspaces the key can reach.
  - name: Accounts
    description: Connected social accounts, links to connect more, and disconnecting them.
  - name: Posts
    description: Drafts, scheduled and published posts, approvals and a post's history.
  - name: Post settings
    description: A post's auto-plug, comment moderation and contact collection.
  - name: Media
    description: >-
      The media library: file uploads, URL imports, and reading videos and
      social posts' files.
  - name: Folders
    description: Folders that organise the media library.
  - name: Comments
    description: >-
      Comments on your posts: reading, replying, editing, hiding, deleting and
      syncing them.
  - name: Reviews
    description: Google Business Profile reviews and your replies to them.
  - name: Inbox
    description: >-
      Comments, mentions and Google reviews in one list: what needs a reply,
      drafts, who answers what, team notes, and replies to mentions.
  - name: Analytics
    description: Workspace, account and post performance.
  - name: Brand
    description: >-
      A workspace's brand: identity, voice, look, accounts, competitors,
      learnings and rules.
  - name: Labels
    description: Labels used to tag posts.
  - name: Campaigns
    description: Campaigns used to group posts.
  - name: Snippets
    description: Saved snippets and hashtag groups to drop into posts.
  - name: Webhooks
    description: Signed webhook endpoints that get your notification events.
  - name: Billing
    description: >-
      The owner's plan, invoices and the links that pay for, change or cancel
      it.
  - name: Team
    description: A workspace's teammates and invitations, and their roles.
  - name: Notifications
    description: >-
      Your bell and notification settings, and the workspace's Slack, Discord
      and Telegram channels.
  - name: Blog-to-social
    description: Blog feeds that turn a workspace's new articles into posts.
  - name: Products
    description: Products the workspace's posts can promote.
  - name: Contacts
    description: People who commented on the workspace's posts, and the lists they are on.
  - name: Profile
    description: 'The key''s user: their name and sign-in email.'
  - name: API keys
    description: 'Your API keys: listing and deleting them.'
  - name: Agent sign-up
    description: >-
      An AI agent signs a person up with a code emailed to them, and gets their
      first key. No key needed.
paths:
  /inbox/{thread}:
    get:
      tags:
        - Inbox
      summary: Get an inbox item
      description: >-
        Needs `comments:read`. Your role in the item's workspace must also let
        you see public comments; a Client's does. One item with everything it
        takes to answer it, the same as each item of [List the
        inbox](/api-reference/inbox/list). Reading it here doesn't mark it read
        for the team; opening it in the app does. Works on every plan.
      operationId: getInboxItem
      parameters:
        - name: thread
          in: path
          required: true
          description: 'The item''s id: `id` in List the inbox.'
          schema:
            type: integer
      responses:
        '200':
          description: The item.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxThread'
              examples:
                default:
                  summary: A comment with a draft waiting
                  value:
                    id: 8812
                    kind: comment
                    status: open
                    done_how: null
                    done_at: null
                    done_by: null
                    account:
                      id: 301
                      platform: instagram
                      username: haldencoffee
                      name: Halden Coffee
                      avatar: https://cdn.postsyncer.com/examples/halden-coffee.jpg
                    person:
                      name: Rowan Example
                      handle: rowan.example
                      avatar: null
                      platform_user_id: '17841400000000002'
                      contact_id: 501
                      contact:
                        id: 501
                        tags:
                          - Customer
                        email: null
                        interactions: 4
                        first_seen: '2030-02-11T17:40:00.000000Z'
                        last_seen: '2030-03-15T10:12:00.000000Z'
                        lists:
                          - id: 5
                            name: Guide requests
                        notes: []
                      contact_locked: false
                    text: Is the oat milk extra?
                    media: []
                    quoted: null
                    link_preview: null
                    stars: null
                    created_at: '2030-03-15T10:12:00.000000Z'
                    last_activity_at: '2030-03-15T10:12:00.000000Z'
                    unread: true
                    about:
                      type: post
                      post_id: 92731
                      caption: The lavender oat latte is back.
                      url: https://www.instagram.com/p/DHk2mQ7sLtA/
                      thumbnail: https://cdn.postsyncer.com/examples/latte-art.jpg
                      stats: null
                      from: us
                      author_name: Halden Coffee
                    thread: []
                    notes: []
                    tags:
                      - question
                    assignee: null
                    draft:
                      text: >-
                        No, oat milk is the same price as dairy at Halden
                        Coffee.
                      by: agent
                      agent: Claude
                      at: '2030-03-15T10:20:00.000000Z'
                    can:
                      reply: true
                      hide: true
                      delete: true
                      assign: true
                      draft: true
                      note: true
                    cant_reply_reason: null
                    reply_limit: 2200
                    source:
                      comment_id: 70412
                      hidden: false
                    links:
                      open_on_network: https://www.instagram.com/p/DHk2mQ7sLtA/
                review:
                  summary: A Google review, answered
                  value:
                    id: 8790
                    kind: review
                    status: done
                    done_how: replied
                    done_at: '2030-03-14T16:05:00.000000Z'
                    done_by:
                      id: 7
                      name: Maya Ortiz
                    account:
                      id: 305
                      platform: google_business
                      username: null
                      name: Halden Coffee
                      avatar: null
                    person:
                      name: Sam Example
                      handle: null
                      avatar: null
                      platform_user_id: null
                      contact_id: null
                      contact: null
                      contact_locked: false
                    text: Lovely staff and the best cinnamon buns.
                    media: []
                    quoted: null
                    link_preview: null
                    stars: 5
                    created_at: '2030-03-14T12:30:00.000000Z'
                    last_activity_at: '2030-03-14T16:05:00.000000Z'
                    unread: false
                    about:
                      type: place
                      post_id: null
                      caption: Halden Coffee
                      url: https://maps.google.com/?cid=1234567890
                      thumbnail: null
                      stats: null
                      from: null
                      author_name: null
                    thread:
                      - id: 5507
                        from: us
                        author_name: Halden Coffee
                        avatar: null
                        text: Thank you, Sam! The buns are back on Friday.
                        created_at: '2030-03-14T16:05:00.000000Z'
                        sent_by:
                          id: 7
                          name: Maya Ortiz
                        state: sent
                        error: null
                    notes: []
                    tags:
                      - praise
                    assignee: null
                    draft: null
                    can:
                      reply: true
                      hide: false
                      delete: false
                      assign: true
                      draft: true
                      note: true
                    cant_reply_reason: null
                    reply_limit: 4096
                    source:
                      review_id: 5507
                    links:
                      open_on_network: https://maps.google.com/?cid=1234567890
                mention_refused:
                  summary: 'A mention whose reply X refused: still open'
                  value:
                    id: 8815
                    kind: mention
                    status: open
                    done_how: null
                    done_at: null
                    done_by: null
                    account:
                      id: 303
                      platform: twitter
                      username: haldencoffee
                      name: Halden Coffee
                      avatar: https://cdn.postsyncer.com/examples/halden-coffee.jpg
                    person:
                      name: Jo Example
                      handle: jo_example
                      avatar: null
                      platform_user_id: '1500000000000000001'
                      contact_id: null
                      contact: null
                      contact_locked: false
                    text: >-
                      Best flat white in town is still @haldencoffee. Do you
                      open early on Sundays?
                    media: []
                    quoted: null
                    link_preview: null
                    stars: null
                    created_at: '2030-03-15T08:41:00.000000Z'
                    last_activity_at: '2030-03-15T08:41:00.000000Z'
                    unread: true
                    about:
                      type: mention_source
                      post_id: null
                      caption: null
                      url: https://x.com/jo_example/status/1900000000000000001
                      thumbnail: null
                      stats: 120 views · 8 likes
                      from: them
                      author_name: Jo Example
                    thread:
                      - id: 1
                        from: us
                        author_name: Halden Coffee
                        avatar: https://cdn.postsyncer.com/examples/halden-coffee.jpg
                        text: Yes! We open at 8 on Sundays.
                        created_at: '2030-03-15T09:15:00.000000Z'
                        sent_by:
                          id: 7
                          name: Maya Ortiz
                        state: refused
                        error: >-
                          X did not confirm the reply and gave no reason. Check
                          X before sending it again.
                    notes: []
                    tags:
                      - question
                    assignee: null
                    draft: null
                    can:
                      reply: true
                      hide: false
                      delete: false
                      assign: true
                      draft: true
                      note: true
                    cant_reply_reason: null
                    reply_limit: 280
                    source:
                      mention_id: 2207
                    links:
                      open_on_network: https://x.com/jo_example/status/1900000000000000001
        '401':
          $ref: '#/components/responses/Unauthorized401'
        '403':
          description: >-
            The key lacks `comments:read`, its user is inactive, or your role in
            the workspace can't see public comments.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_permission:
                  summary: The key lacks comments:read
                  value:
                    message: >-
                      This API key does not have the "comments:read" permission.
                      Edit the key in PostSyncer under Settings → API to grant
                      it.
                inactive_account:
                  summary: The key's user is inactive
                  value:
                    message: Your account is inactive.
                role:
                  summary: Your role can't view public comments
                  value:
                    message: >-
                      Your role in the workspace "Halden Coffee" does not allow
                      you to view public comments. Ask the workspace owner or an
                      admin to do it, or to change your role.
        '404':
          description: >-
            No item with that id in the workspaces the key can reach. When an
            item was joined into another one (a comment PostSyncer later found
            to be a reply, or a mention later saved as a comment), its old id
            answers `404` with `{"message": "This item is now part of item 123.
            Use that id.", "moved_to": 123}`. Read or change item `moved_to`
            instead; a change sent to the old id changes nothing. You get
            `moved_to` only for an item you can open; otherwise the answer is
            the usual `404 {"message": "Not found."}`.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - type: object
                    properties:
                      moved_to:
                        type: integer
                        description: 'The item this one is now part of: use its id.'
              examples:
                not_found:
                  summary: Not found
                  value:
                    message: Not found.
                moved:
                  summary: Joined into another item
                  value:
                    message: This item is now part of item 8815. Use that id.
                    moved_to: 8815
        '429':
          $ref: '#/components/responses/RateLimited429'
components:
  schemas:
    InboxThread:
      type: object
      description: >-
        One item of the Inbox: a comment on one of your posts, a mention of one
        of your accounts, or a Google review, with everything needed to answer
        it.
      required:
        - id
        - kind
        - status
        - done_how
        - done_at
        - done_by
        - account
        - person
        - text
        - media
        - quoted
        - link_preview
        - stars
        - created_at
        - last_activity_at
        - unread
        - about
        - thread
        - notes
        - tags
        - assignee
        - draft
        - can
        - cant_reply_reason
        - reply_limit
        - source
        - links
      properties:
        id:
          type: integer
          description: The item's id, for Get, Update and Mark done.
        kind:
          type: string
          enum:
            - comment
            - mention
            - review
          description: >-
            `comment`: a top-level comment on one of your posts. `mention`:
            someone else’s post or comment that names one of your accounts.
            `review`: a Google review of a location.
        status:
          type: string
          enum:
            - open
            - done
          description: >-
            `open`: it needs a reply. `done`: answered, marked done, hidden or
            deleted. A new message from them opens it again, and so does your
            only reply being deleted on the network.
        done_how:
          type: string
          nullable: true
          enum:
            - replied
            - marked
            - hidden
            - deleted
            - null
          description: >-
            How it became done: `replied` (from PostSyncer or on the network),
            `marked` (Done with no words), `hidden` or `deleted`. Null while
            open.
        done_at:
          type: string
          nullable: true
          format: date-time
          description: When it became done. Null while open.
        done_by:
          type: object
          nullable: true
          description: >-
            The teammate who closed it. Null while open, and when the account
            answered on the network itself.
          required:
            - id
            - name
          properties:
            id:
              type: integer
            name:
              type: string
        account:
          type: object
          description: 'Your account it is for: the one a reply goes out from.'
          required:
            - id
            - platform
            - username
            - name
            - avatar
          properties:
            id:
              type: integer
            platform:
              type: string
              description: '`instagram`, `twitter` (X), `google_business` and so on.'
            username:
              type: string
              nullable: true
            name:
              type: string
              nullable: true
            avatar:
              type: string
              nullable: true
        person:
          type: object
          description: Who wrote it, and what PostSyncer holds about them.
          required:
            - name
            - handle
            - avatar
            - platform_user_id
            - contact_id
            - contact
            - contact_locked
          properties:
            name:
              type: string
              description: Their name. Empty for an anonymous review.
            handle:
              type: string
              nullable: true
              description: Their handle on the network, without the @. Null on a review.
            avatar:
              type: string
              nullable: true
              description: A link to their photo.
            platform_user_id:
              type: string
              nullable: true
              description: Their id on the network, when it gives one.
            contact_id:
              type: integer
              nullable: true
              description: >-
                Their contact, for [Get a contact](/api-reference/contacts/get).
                Null when they have none.
            contact:
              type: object
              nullable: true
              description: >-
                Their contact card: only what PostSyncer holds. Null when they
                have none, on a plan without contacts, or for a role that can’t
                see contacts.
              required:
                - id
                - tags
                - email
                - interactions
                - first_seen
                - last_seen
                - lists
                - notes
              properties:
                id:
                  type: integer
                tags:
                  type: array
                  items:
                    type: string
                  description: '`Lead` and `Customer` first, then the contact’s own tags.'
                email:
                  type: string
                  nullable: true
                  description: Their email, when they gave one.
                interactions:
                  type: integer
                  description: How many times they wrote.
                first_seen:
                  type: string
                  format: date-time
                  nullable: true
                last_seen:
                  type: string
                  format: date-time
                  nullable: true
                lists:
                  type: array
                  items:
                    type: object
                    required:
                      - id
                      - name
                    properties:
                      id:
                        type: integer
                      name:
                        type: string
                notes:
                  type: array
                  description: The team’s notes on the contact, newest first.
                  items:
                    type: object
                    required:
                      - id
                      - body
                      - created_at
                    properties:
                      id:
                        type: integer
                      body:
                        type: string
                      created_at:
                        type: string
                        format: date-time
                        nullable: true
            contact_locked:
              type: boolean
              description: >-
                `true` on a plan without contacts (Free), for a role that can
                see contacts: the card is a paid feature, so `contact` is null.
                `false` otherwise.
        text:
          type: string
          description: >-
            Their words. Each link is whole, as the person meant it. `""` for a
            comment that is only a picture, or a review with stars only.
        media:
          type: array
          description: >-
            The pictures in a comment, as [Get a
            comment](/api-reference/comments/get) gives them, or a review’s
            photos and videos. A mention’s picture is its post’s, in
            `about.thumbnail`.
          items:
            type: object
            additionalProperties: true
        quoted:
          type: object
          nullable: true
          description: >-
            The post their message quotes (a mention on Bluesky, X or Mastodon):
            who wrote it, its words, its link. Null when it quotes none.
          required:
            - author_name
            - author_handle
            - text
            - url
          properties:
            author_name:
              type: string
              nullable: true
              description: Who wrote the quoted post.
            author_handle:
              type: string
              nullable: true
              description: Their handle on the network, without the @.
            text:
              type: string
              description: Its words. Each link is whole.
            url:
              type: string
              nullable: true
              description: 'Its link on the network: http(s) only.'
        link_preview:
          type: object
          nullable: true
          description: >-
            The link card their message shows (a mention on Bluesky, Mastodon or
            LinkedIn): the page's link, title and description. Null when it
            shows none.
          required:
            - url
            - title
            - description
          properties:
            url:
              type: string
              description: 'The page''s link: http(s) only.'
            title:
              type: string
              nullable: true
            description:
              type: string
              nullable: true
        stars:
          type: integer
          nullable: true
          minimum: 1
          maximum: 5
          description: A review's stars. Null on comments and mentions.
        created_at:
          type: string
          nullable: true
          format: date-time
          description: When they wrote it.
        last_activity_at:
          type: string
          nullable: true
          format: date-time
          description: >-
            The newest message in it, theirs or yours, at the network's time.
            The list is ordered by it, and `cursor` pages on it; `since` goes by
            when PostSyncer read the message instead.
        unread:
          type: boolean
          description: >-
            `true` until someone on the team opens it in the app after their
            newest message.
        about:
          type: object
          description: What it is about.
          required:
            - type
            - post_id
            - caption
            - url
            - thumbnail
            - stats
            - from
            - author_name
          properties:
            type:
              type: string
              enum:
                - post
                - mention_source
                - place
              description: >-
                `post`: your post the comment is on. `mention_source`: the post
                that names you, or the post above the comment that does.
                `place`: the reviewed location.
            post_id:
              type: integer
              nullable: true
              description: Your post, for a comment. Null otherwise.
            caption:
              type: string
              nullable: true
              description: >-
                Your post's text; for a mention in a comment, the post above it;
                for a review, the location's name.
            url:
              type: string
              nullable: true
              description: Where it is on the network.
            thumbnail:
              type: string
              nullable: true
              description: A picture of the post, when it has one.
            stats:
              type: string
              nullable: true
              description: >-
                The mentioning post’s numbers as the network gives them, like
                `120 views · 8 likes`. Null elsewhere.
            from:
              type: string
              nullable: true
              enum:
                - us
                - them
                - null
              description: >-
                Who wrote that post: us (the account: our post, or our own reply
                a mention answers) or them; null for a review's place.
            author_name:
              type: string
              nullable: true
              description: >-
                Who wrote that post: the account's name for ours, else their
                name or @handle where the network gives it.
        thread:
          type: array
          description: >-
            The messages after the first one, oldest first: every reply under a
            comment, the replies sent from PostSyncer under a mention, and a
            review’s reply.
          items:
            type: object
            required:
              - id
              - from
              - author_name
              - avatar
              - text
              - created_at
              - sent_by
              - state
              - error
            properties:
              id:
                type: integer
                description: >-
                  The message's id. Your reply under a mention has none of its
                  own: its place under the mention, from 1.
              from:
                type: string
                enum:
                  - them
                  - us
                description: '`us`: your account wrote it.'
              author_name:
                type: string
              avatar:
                type: string
                nullable: true
              text:
                type: string
              created_at:
                type: string
                nullable: true
                format: date-time
                description: >-
                  When it was written. Your reply under a mention: when the
                  network took it, or, while it is `sending` or once `refused`,
                  when it was asked for.
              sent_by:
                type: object
                nullable: true
                description: >-
                  The teammate who sent it from PostSyncer. Null for theirs, and
                  for one written on the network.
                required:
                  - id
                  - name
                properties:
                  id:
                    type: integer
                  name:
                    type: string
              state:
                type: string
                enum:
                  - sending
                  - sent
                  - refused
                description: >-
                  Where it stands. `sent` for every message on the network. Your
                  reply under a mention is `sending` until the network answers,
                  then `sent`, or `refused` with the reason in `error`. A
                  refused reply leaves the item open.
              error:
                type: string
                nullable: true
                description: >-
                  Why the network refused your reply under a mention, in words
                  to show the user. Null otherwise.
        notes:
          type: array
          description: >-
            The team's notes on it, oldest first. They never reach the network.
            With client sign-off on, a Client member reads only the notes Client
            members wrote; the rest of the team reads them all.
          items:
            $ref: '#/components/schemas/InboxThreadNote'
        tags:
          type: array
          description: >-
            `question` (it has a question mark) and `spam` (moderation removed
            it as junk) come on their own. `lead`, `complaint` and `praise` come
            when PostSyncer AI writes a draft for it.
          items:
            type: string
            enum:
              - question
              - lead
              - complaint
              - praise
              - spam
        assignee:
          type: object
          required:
            - id
            - name
            - avatar
          properties:
            id:
              type: integer
            name:
              type: string
            avatar:
              type: string
              nullable: true
              description: A link to their photo.
          nullable: true
          description: The teammate it is given to. Null for nobody.
        draft:
          type: object
          nullable: true
          description: >-
            The reply waiting to be sent: Ready to send in the app. It never
            sends itself. A reply PostSyncer takes to send (a comment's, or a
            mention's) clears it, and a comment reply the network refuses comes
            back as the draft (`by: person`), unless someone wrote a newer one.
            Null when there is none.
          required:
            - text
            - by
            - agent
            - at
          properties:
            text:
              type: string
            by:
              type: string
              enum:
                - ai
                - agent
                - snippet
                - person
              description: >-
                `ai`: PostSyncer AI. `agent`: an AI agent or script, through the
                API or MCP. `snippet`: a saved snippet. `person`: a teammate
                typed it.
            agent:
              type: string
              nullable: true
              description: >-
                For `agent`, who wrote it: the AI app (such as `Claude`), or
                else the API key’s name. For `snippet`, the snippet’s name.
            at:
              type: string
              format: date-time
              nullable: true
        can:
          type: object
          description: >-
            What the key’s user may do with it, by their role and what the
            network allows.
          required:
            - reply
            - hide
            - delete
            - assign
            - draft
            - note
          properties:
            reply:
              type: boolean
              description: >-
                `false` when nobody can answer it from PostSyncer
                (`cant_reply_reason` says why: a mention the network takes no
                reply to from apps, or a comment hidden or deleted on its
                network), or the role can't answer. [Draft a reply with
                AI](/api-reference/inbox/draft) skips these items too.
            hide:
              type: boolean
              description: >-
                A comment on a network that hides comments: [Hide a
                comment](/api-reference/comments/hide).
            delete:
              type: boolean
              description: 'A comment: [Delete a comment](/api-reference/comments/delete).'
            assign:
              type: boolean
              description: >-
                Your role can edit public comments: give it to a teammate, mark
                it done or open it again.
            draft:
              type: boolean
              description: 'Your role can edit public comments: leave or clear its draft.'
            note:
              type: boolean
              description: >-
                Your role can write team notes: [Add a team
                note](/api-reference/inbox/notes). A Client's can.
        cant_reply_reason:
          type: string
          nullable: true
          description: >-
            Why nobody can answer it from PostSyncer, in words to show the user,
            with where to answer instead: a mention the network takes no reply
            to from apps, `The comment is hidden on {Network}. Unhide it to
            reply.` or `The comment was deleted on {Network}.` Null when a reply
            can go out, and always on a review.
        reply_limit:
          type: integer
          nullable: true
          description: The longest reply the network takes, in characters.
        source:
          type: object
          description: >-
            The id to answer it with: `comment_id` (a comment), `mention_id` (a
            mention) or `review_id` (a review). Only the one of its kind is
            there. A comment's also says whether it is `hidden` on its network.
          properties:
            comment_id:
              type: integer
              description: >-
                `parent_comment_id` for [Create a
                comment](/api-reference/comments/create).
            mention_id:
              type: integer
              description: For [Reply to a mention](/api-reference/mentions/reply).
            review_id:
              type: integer
              description: For [Reply to a review](/api-reference/reviews/reply).
            hidden:
              type: boolean
              description: >-
                A comment only: `true` while it is hidden on its network. Unhide
                it with [Hide a comment](/api-reference/comments/hide)
                (`"hidden": false`) to reply.
        links:
          type: object
          required:
            - open_on_network
          properties:
            open_on_network:
              type: string
              nullable: true
              description: >-
                Where it is on the network: the comment, the mentioning post,
                the location on Google Maps.
    Error:
      type: object
      description: >-
        An error answer. Every one has `message`, in plain words; some add an
        `error` code and fields of their own.
      required:
        - message
      properties:
        message:
          type: string
          description: What went wrong and what to do about it.
        error:
          type: string
          description: >-
            A code a few errors add, such as `rate_limited`. See [Handle
            errors](/essentials/error-handling#answers-with-an-error-code).
    InboxThreadNote:
      type: object
      description: A team note on an inbox item. Only the team reads it.
      required:
        - id
        - author
        - body
        - created_at
      properties:
        id:
          type: integer
        author:
          type: object
          required:
            - id
            - name
            - avatar
          properties:
            id:
              type: integer
              nullable: true
              description: >-
                Null once the writer left the team (`name` is then `Former
                member`).
            name:
              type: string
            avatar:
              type: string
              nullable: true
        body:
          type: string
        created_at:
          type: string
          format: date-time
          nullable: true
  responses:
    Unauthorized401:
      description: No API key, or not a valid one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unauthenticated:
              summary: No valid API key
              value:
                message: Unauthenticated.
    RateLimited429:
      description: >-
        More than 60 requests in a minute from this key's user (the API and the
        MCP server share the count). Wait `Retry-After` seconds.
      headers:
        Retry-After:
          description: Seconds until requests are allowed again.
          schema:
            type: integer
        X-RateLimit-Limit:
          description: Requests allowed a minute.
          schema:
            type: integer
        X-RateLimit-Remaining:
          description: Requests left this minute.
          schema:
            type: integer
        X-RateLimit-Reset:
          description: When requests are allowed again, as a Unix timestamp.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            too_many_attempts:
              summary: Too many requests
              value:
                message: Too Many Attempts.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.