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

# Delete item

> Soft-delete an inbox item or comment in Posttu and optionally delete it from the source social platform.



## OpenAPI

````yaml openapi.json POST /api/v1/inbox/delete-item
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/inbox/delete-item:
    post:
      tags:
        - Inbox
      summary: Delete an inbox item or comment
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteItem'
      responses:
        '200':
          description: Delete result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxDeleteItemResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    DeleteItem:
      type: object
      properties:
        platform:
          type: string
          enum:
            - TWITTER
            - INSTAGRAM
            - REDDIT
            - ONLYFANS
            - FANSLY
            - FANVUE
            - TIKTOK
            - REDGIFS
            - THREADS
            - SNAPCHAT
            - BLUESKY
            - YOUTUBE
            - LINKEDIN
            - FACEBOOK
            - PINTEREST
            - MESSENGER
            - SLACK
            - TELEGRAM
            - DISCORD
            - GOOGLE_BUSINESS
            - MASTODON
            - HACKERNEWS
            - SUBSTACK
          description: Platform
          example: TWITTER
        channelId:
          type:
            - string
            - 'null'
          description: Channel ID
          example: ch_abc123
        inboxItemId:
          type: string
          description: Posttu Inbox item ID (CUID)
          example: clx123abc456
        externalCommentId:
          type: string
          description: Third-party platform comment ID to delete
          example: ext_comm_abc123
        externalPostId:
          type: string
          description: Third-party platform post ID
          example: ext_post_abc123
        type:
          type: string
          enum:
            - MESSAGE
            - COMMENT
            - MENTION
            - REVIEW
            - KEYWORD
          default: COMMENT
          description: Item type
          example: COMMENT
        deleteFromPlatform:
          type: boolean
          default: true
          description: Whether to delete from source social platform as well
          example: true
      required:
        - platform
    InboxDeleteItemResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        error:
          type: string
          description: Error message
        data: {}
      required:
        - success
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

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