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

# Bulk action on conversations

> Perform bulk mark_read, mark_unread, archive, unarchive, or delete on up to 500 conversations. Supports selectAll with filters.




## OpenAPI

````yaml /openapi/inbox.yaml post /inbox/bulk
openapi: 3.1.0
info:
  title: Connie Inbox API
  version: 1.0.0
  description: >
    Unified inbox API for managing conversations across email, WhatsApp, and
    LinkedIn. All endpoints require authentication unless noted otherwise.
servers:
  - url: https://connie.ai/api
    description: Production
security:
  - cookieAuth: []
tags:
  - name: Init & Counts
    description: Initialization and conversation counts
  - name: Conversations
    description: Conversation listing and retrieval
  - name: Messages
    description: Message retrieval and read status
  - name: Compose
    description: Sending emails, starting chats, and drafts
  - name: Labels
    description: Label management
  - name: Assignments
    description: Conversation assignment to team members
  - name: Search
    description: Full-text and filtered search
  - name: Attachments
    description: File attachments
  - name: Spam
    description: Spam management
  - name: Views & Starred
    description: Custom views and starred conversations
paths:
  /inbox/bulk:
    post:
      tags:
        - Conversations
      summary: Bulk action on conversations
      description: >
        Perform bulk mark_read, mark_unread, archive, unarchive, or delete on up
        to 500 conversations. Supports selectAll with filters.
      operationId: bulkAction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - workspaceId
                - action
              properties:
                workspaceId:
                  type: string
                conversationIds:
                  type: array
                  items:
                    type: string
                  description: Required unless selectAll is true. Max 500.
                selectAll:
                  type: boolean
                  description: Apply action to all conversations matching filters
                filters:
                  type: object
                  properties:
                    accountIds:
                      type: array
                      items:
                        type: string
                    folder:
                      type: string
                    unreadOnly:
                      type: boolean
                    showArchived:
                      type: boolean
                    search:
                      type: string
                    starredOnly:
                      type: boolean
                    tagName:
                      type: string
                    assigneeIds:
                      type: array
                      items:
                        type: string
                    sentiment:
                      type: string
                action:
                  type: string
                  enum:
                    - mark_read
                    - mark_unread
                    - archive
                    - unarchive
                    - delete
      responses:
        '200':
          description: Bulk action result
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        success:
                          type: boolean
                        error:
                          type: string
                          nullable: true
                  summary:
                    type: object
                    properties:
                      total:
                        type: integer
                      success:
                        type: integer
                      failed:
                        type: integer
                      truncated:
                        type: boolean
                  warnings:
                    type: object
                    nullable: true
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    Unauthorized:
      description: Not authenticated
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: session

````

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