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

# Reply to a mention

> Reply from the mentioned account under a post or comment that names it.

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

Sends `text` as a reply from the mentioned account, under the post or comment that names it. The mention's id is the inbox item's `source.mention_id`, or the `id` of a [`mention.received`](/docs/webhooks/events#mention-received) webhook. `text` is up to the item's `reply_limit`, counted as the network counts it (5,000 characters at most). A longer reply is refused, never cut. The same words while they are still sending under the mention are refused too, so a retry never posts twice.

The reply goes out in the background. The answer is `202` with the mention's whole item, as [Get an inbox item](/docs/api-reference/inbox/get.md) gives it: the reply is last in `thread`, with `state: sending`, and the item's `draft` is cleared. [Read the item](/docs/api-reference/inbox/get.md) again to see how it went: `state: sent`, and the item done (`done_how: replied`); or `state: refused`, with the network's reason in `error`, and the item still open.

| Network | The reply goes out |
| - | - |
| X, Bluesky, Mastodon | From the account, under the post that mentions it |
| LinkedIn, Facebook | As the Page, under the post that mentions or tags it |

[Mentions on each network](/docs/guides/inbox.md#mentions-on-each-network) says which mentions come in. A mention no app can answer is refused with `422` and the reason, as the item's `cant_reply_reason` says. Show it to the user with the item's `links.open_on_network`.

A reply is public: use the user's words, or show it to them first. 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:create`, its user is inactive, or your role can't answer public comments. | No: grant it in Settings → API. |
| 404 | | No mention with that id in the workspaces the key can reach. | No. |
| 422 | | No `text` (`Write a reply first.`), text that isn't a string (`Send the reply as text.`) or is over 5,000 characters (`A reply can be up to 5,000 characters.`), text over the item's `reply_limit` (`A reply on X can be up to 280 characters.`), the same words still sending (`This reply is already on its way. Check the item before sending it again.`), or the network takes no reply to this mention from apps: `message` is the item's `cant_reply_reason`. | No: fix the text, read the item, or answer it on the network. |
| 429 | | More than 60 requests a minute. | Yes, after `Retry-After` seconds. |

## Related

* [Get an inbox item](/docs/api-reference/inbox/get.md): the mention, its `reply_limit` and `cant_reply_reason`.
* [Work through the Inbox](/docs/guides/inbox.md#mentions-on-each-network): which mentions come in, network by network.


## OpenAPI

````yaml POST /mentions/{mention}/reply
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:
  /mentions/{mention}/reply:
    post:
      tags:
        - Inbox
      summary: Reply to a mention
      description: >-
        Needs `comments:create`. Your role in the workspace must also let you
        answer public comments, which a Client's doesn't. Sends `text` as a
        reply from the mentioned account, under the post or comment that
        mentions it. The mention's id is the item's `source.mention_id`, or the
        `id` of a `mention.received` webhook. The reply goes out in the
        background. The answer is the mention's whole item, as Get an inbox item
        gives it, with the reply last in `thread`, `state: sending`, and the
        item's draft cleared. Read the item again to see it `sent` (the item is
        then done, `done_how: replied`) or `refused` with the network's reason
        in `error` (the item stays open). A mention the network takes no reply
        to from apps answers `422` with the reason, the item's
        `cant_reply_reason`. So does a reply longer than the item's
        `reply_limit`, and the same words while they are still sending under the
        mention, so a retry never posts twice. A reply is public, so use the
        user's words or show it to them first. Works on every plan.
      operationId: replyToMention
      parameters:
        - name: mention
          in: path
          required: true
          description: 'The mention''s id: the item''s `source.mention_id`.'
          schema:
            type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - text
              properties:
                text:
                  type: string
                  maxLength: 5000
                  description: >-
                    The reply, up to the item's `reply_limit` as the network
                    counts it (5,000 characters at most). A longer reply is
                    refused, never cut.
            examples:
              default:
                summary: A reply
                value:
                  text: Yes! We open at 8 on Sundays.
      responses:
        '202':
          description: >-
            The reply is on its way: the mention's item, the reply last in
            `thread` as `sending`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxThread'
              examples:
                default:
                  summary: The reply sending
                  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: sending
                        error: null
                    notes:
                      - 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'
                    tags:
                      - question
                    assignee:
                      id: 9
                      name: Sam Rivera
                      avatar: 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:create`, its user is inactive, or your role
            in the workspace can't answer public comments.
          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:
                  summary: Your role can't create public comments
                  value:
                    message: >-
                      Your role in the workspace "Halden Coffee" does not allow
                      you to create public comments. Ask the workspace owner or
                      an admin to do it, or to change your role.
        '404':
          $ref: '#/components/responses/NotFound404'
        '422':
          description: >-
            No `text`, text that isn't a string, is over 5,000 characters or
            over the item's `reply_limit`, the same words still sending under
            the mention, or the network takes no reply to this mention from apps
            (the reason says where to answer instead).
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ValidationError'
                  - $ref: '#/components/schemas/Error'
              examples:
                no_text:
                  summary: No words
                  value:
                    message: Write a reply first.
                    errors:
                      text:
                        - Write a reply first.
                not_text:
                  summary: Not a string
                  value:
                    message: Send the reply as text.
                    errors:
                      text:
                        - Send the reply as text.
                too_long:
                  summary: Over 5,000 characters
                  value:
                    message: A reply can be up to 5,000 characters.
                    errors:
                      text:
                        - A reply can be up to 5,000 characters.
                over_reply_limit:
                  summary: Longer than the network takes
                  value:
                    message: A reply on X can be up to 280 characters.
                already_sending:
                  summary: The same words still sending
                  value:
                    message: >-
                      This reply is already on its way. Check the item before
                      sending it again.
        '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).
    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
    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.
    NotFound404:
      description: Nothing with that id in the workspaces the key can reach.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            not_found:
              summary: Not found
              value:
                message: Not found.
    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.