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

# Mark inbox items done

> Mark up to 100 of a workspace's inbox items done at once.

> [!NOTE]
>
> Needs `comments:update`. Your role in the workspace must also let you edit public comments, which a Client's doesn't. See [Permissions](/docs/essentials/authentication.md#permissions).

Marks the items in `ids` done, 1 to 100 of them, as picking them and pressing **Mark done** in the app does: for what needs no words, such as a thank-you or an emoji. Each open one closes with `done_how: marked`; one already done stays as it is, and is listed as done too.

An id that isn't one of the workspace's items you can see is left alone and listed in `data.not_found`; `data.done` lists the ones marked done. A new message from the person opens an item again. Works on every plan.

## Errors

| Status | `error` | When | Retry? |
| - | - | - | - |
| 401 | | No API key, or not a valid one. | No: fix the key. |
| 403 | | The key lacks `comments:update`, its user is inactive, or your role can't edit public comments. | No: grant it in Settings → API. |
| 422 | | `workspace_id` is missing or not one the key can reach, or `ids` is missing, empty, over 100 or has an id twice. | No: fix the request. |
| 429 | | More than 60 requests a minute. | Yes, after `Retry-After` seconds. |

## Related

* [List the inbox](/docs/api-reference/inbox/list.md): find the items.
* [Update an inbox item](/docs/api-reference/inbox/update.md): open one again with `status: open`.


## OpenAPI

````yaml POST /inbox/done
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/done:
    post:
      tags:
        - Inbox
      summary: Mark inbox items done
      description: >-
        Needs `comments:update`. Your role in the workspace must also let you
        edit public comments, which a Client's doesn't. Marks up to 100 of the
        workspace's items done at once, as Done in the app: for what needs no
        words. An item already done stays as it is. An id that isn't one of the
        workspace's items you can see is left alone and listed in `not_found`. A
        new message from the person opens an item again. Works on every plan.
      operationId: markInboxDone
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - workspace_id
                - ids
              properties:
                workspace_id:
                  type: integer
                  description: The workspace. It must be one the key can reach.
                ids:
                  type: array
                  minItems: 1
                  maxItems: 100
                  items:
                    type: integer
                  description: 1 to 100 items' ids, each once.
            examples:
              default:
                summary: Two items
                value:
                  workspace_id: 12
                  ids:
                    - 8812
                    - 8815
      responses:
        '200':
          description: Which were marked done, and which ids weren’t found.
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                  - data
                properties:
                  message:
                    type: string
                  data:
                    type: object
                    required:
                      - done
                      - not_found
                    properties:
                      done:
                        type: array
                        items:
                          type: integer
                        description: >-
                          The ids marked done, in the order sent; one that was
                          done already is listed too, unchanged.
                      not_found:
                        type: array
                        items:
                          type: integer
                        description: >-
                          The ids that aren't the workspace's items you can see.
                          Nothing changed for them.
              examples:
                default:
                  summary: Both marked done
                  value:
                    message: 2 items marked done.
                    data:
                      done:
                        - 8812
                        - 8815
                      not_found: []
                one_not_found:
                  summary: One id from elsewhere
                  value:
                    message: 1 item marked done.
                    data:
                      done:
                        - 8812
                      not_found:
                        - 9001
        '401':
          $ref: '#/components/responses/Unauthorized401'
        '403':
          description: >-
            The key lacks `comments:update`, its user is inactive, or your role
            in the workspace can't edit public comments.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_permission:
                  summary: The key lacks comments:update
                  value:
                    message: >-
                      This API key does not have the "comments:update"
                      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 edit public comments
                  value:
                    message: >-
                      Your role in the workspace "Halden Coffee" does not allow
                      you to edit public comments. Ask the workspace owner or an
                      admin to do it, or to change your role.
        '422':
          description: >-
            `workspace_id` is missing or not one the key can reach, or `ids` is
            missing, empty, over 100 or has an id twice.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
              examples:
                workspace_id_missing:
                  summary: No workspace_id
                  value:
                    message: The workspace id field is required.
                    errors:
                      workspace_id:
                        - The workspace id field is required.
                ids_missing:
                  summary: No ids
                  value:
                    message: The ids field is required.
                    errors:
                      ids:
                        - The ids field is required.
                too_many:
                  summary: Over 100 ids
                  value:
                    message: The ids field must not have more than 100 items.
                    errors:
                      ids:
                        - The ids field must not have more than 100 items.
        '429':
          $ref: '#/components/responses/RateLimited429'
components:
  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.
  schemas:
    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).
    ValidationError:
      type: object
      description: '422: the request didn''t pass validation, and nothing changed.'
      required:
        - message
        - errors
      properties:
        message:
          type: string
          description: >-
            The first error and, when there are more, how many: `(and 1 more
            error)`, `(and 2 more errors)`.
        errors:
          type: object
          description: >-
            The messages, by field. A field inside a list is named with dots:
            `accounts.0.id`.
          additionalProperties:
            type: array
            items:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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