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

# Add a team note to an inbox item

> Leave a note for the team on an inbox item, and tag teammates in it.

> [!NOTE]
>
> Needs `comments:create`, as a team comment on a post does. Your role in the item's workspace must also let you see public comments and write team notes; a Client's does. See [Permissions](/docs/essentials/authentication.md#permissions).

Adds a note beside the item's messages, as **Team note** does in the app. Only the team reads it: it never reaches the network, and it doesn't close the item. `body` is up to 5,000 characters.

`mentions` tags teammates by their user ids, people of the item's workspace, up to 50; [List the team](/docs/api-reference/team/list.md) gives the ids. Each one tagged is told, as when they are tagged in a team comment on a post: a bell notification and an email, unless they turned those off, and the [`comment.mentioned`](/docs/webhooks/events#comment-mentioned) event, whose `inbox_item_id` is this item. Tagging yourself tells nobody. While client sign-off is on, a note from the team can't tag a Client: it answers `422` (`A Client can't be tagged in a team note while client sign-off is on. Leave them out.`) and nobody is told. A Client's own note can tag a Client. The notes come back in the item's `notes`, oldest first. With client sign-off on, a Client member reads only the notes Client members wrote. Works on every plan.

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:create`, its user is inactive, or your role can't see public comments or write team notes. | 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`. |
| 422 | | No `body`, one over 5,000 characters, `mentions` names someone outside the workspace, or tags a Client while client sign-off is on. | No: fix the request. |
| 429 | | More than 60 requests a minute. | Yes, after `Retry-After` seconds. |

## Related

* [Get an inbox item](/docs/api-reference/inbox/get.md): its notes and messages.
* [Update an inbox item](/docs/api-reference/inbox/update.md): give it to the teammate you tagged.


## OpenAPI

````yaml POST /inbox/{thread}/notes
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}/notes:
    post:
      tags:
        - Inbox
      summary: Add a team note to an inbox item
      description: >-
        Needs `comments:create`. Your role in the item's workspace must also let
        you see public comments and write team notes; a Client's does. Adds a
        note for the team beside the item's messages, as Team note does in the
        app and as a team comment does on a post. It never reaches the network,
        and it doesn't close the item. `mentions` tags teammates by their user
        ids; each one tagged is told (`comment.mentioned`), as when they are
        tagged in a team comment. While client sign-off is on, a note from the
        team can't tag a Client (`422`); a Client's own note can. Works on every
        plan.
      operationId: addInboxNote
      parameters:
        - name: thread
          in: path
          required: true
          description: 'The item''s id: `id` in List the inbox.'
          schema:
            type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - body
              properties:
                body:
                  type: string
                  maxLength: 5000
                  description: The note, up to 5,000 characters.
                mentions:
                  type: array
                  maxItems: 50
                  items:
                    type: integer
                  description: >-
                    Teammates' user ids, people of the item's workspace, up to
                    50. [List the team](/api-reference/team/list) gives them.
            examples:
              default:
                summary: A note that tags a teammate
                value:
                  body: '@Sam Rivera can you answer this one? Sundays we open at 8.'
                  mentions:
                    - 9
      responses:
        '201':
          description: The note.
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - message
                properties:
                  data:
                    $ref: '#/components/schemas/InboxThreadNote'
                  message:
                    type: string
              examples:
                default:
                  summary: Added
                  value:
                    data:
                      id: 41
                      author:
                        id: 7
                        name: Maya Ortiz
                        avatar: null
                      body: >-
                        @Sam Rivera can you answer this one? Sundays we open at
                        8.
                      created_at: '2030-03-15T09:02:00.000000Z'
                    message: Note added
        '401':
          $ref: '#/components/responses/Unauthorized401'
        '403':
          description: >-
            The key lacks `comments:create`, its user is inactive, or your role
            in the workspace can't see public comments or write team notes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_permission:
                  summary: The key lacks comments:create
                  value:
                    message: >-
                      This API key does not have the "comments:create"
                      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_comments:
                  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.
                role:
                  summary: Your role can't create team notes
                  value:
                    message: >-
                      Your role in the workspace "Halden Coffee" does not allow
                      you to create team notes. 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
        '422':
          description: >-
            No `body`, one over 5,000 characters, `mentions` names someone
            outside the workspace, or tags a Client in a team note while client
            sign-off is on.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
              examples:
                body_missing:
                  summary: No body
                  value:
                    message: The body field is required.
                    errors:
                      body:
                        - The body field is required.
                not_a_member:
                  summary: Someone outside the workspace in mentions
                  value:
                    message: Only people in this workspace can be mentioned.
                    errors:
                      mentions:
                        - Only people in this workspace can be mentioned.
                client_tagged:
                  summary: A Client tagged while client sign-off is on
                  value:
                    message: >-
                      A Client can't be tagged in a team note while client
                      sign-off is on. Leave them out.
                    errors:
                      mentions:
                        - >-
                          A Client can't be tagged in a team note while client
                          sign-off is on. Leave them out.
        '429':
          $ref: '#/components/responses/RateLimited429'
components:
  schemas:
    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
    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
  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.