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

# Bulk Update Call Queue

> Apply an action to every call queue item that matches an optional status filter for the authenticated company. Use this to pause, unpause, or clear an entire queue without enumerating IDs.



## OpenAPI

````yaml POST /agent/queue/bulk/
openapi: 3.1.0
info:
  title: Aidan API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.callaidan.com
security: []
tags:
  - name: Webhooks
    description: >-
      **Inbound notifications.** After a voice call ends, Aidan POSTs JSON to
      the Webhook URL on your agent (Voice Agents settings or `webhook_url`).
      Your server receives these requests — they are not calls *to*
      `api.callaidan.com`. The documented path `/_reference/webhooks/...` exists
      only in this spec so the payload schema can appear in the API Reference;
      it is not callable on the production API.
paths:
  /agent/queue/bulk/:
    post:
      tags:
        - agent
      summary: Bulk Update Call Queue
      description: >-
        Apply an action to every call queue item that matches an optional status
        filter for the authenticated company. Use this to pause, unpause, or
        clear an entire queue without enumerating IDs.
      operationId: agent_queue_bulk_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallQueueBulkActionRequestRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CallQueueBulkActionRequestRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CallQueueBulkActionRequestRequest'
        required: true
      responses:
        '200':
          description: Action applied to every matching queue item.
      security:
        - jwtAuth: []
        - {}
components:
  schemas:
    CallQueueBulkActionRequestRequest:
      type: object
      properties:
        action:
          $ref: '#/components/schemas/ActionEnum'
        status:
          type: string
          minLength: 1
          default: all
          description: >-
            `all` | `scheduled` | `insufficient_funds` | a specific queue
            status.
      required:
        - action
    ActionEnum:
      enum:
        - pause
        - unpause
        - delete
      type: string
      description: |-
        * `pause` - pause
        * `unpause` - unpause
        * `delete` - delete
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````