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

# List Campaigns

> Retrieves a paginated list of created campaigns.



## OpenAPI

````yaml /api-reference/openapi.json get /api/campaign
openapi: 3.1.0
info:
  title: Ello.AI API
  description: API for managing agents and calls in Ello.AI
  version: 1.0.0
servers:
  - url: https://api.getello.ai/
security: []
paths:
  /api/campaign:
    get:
      tags:
        - Campaigns
      summary: List Campaigns
      description: Retrieves a paginated list of created campaigns.
      parameters:
        - name: search
          in: query
          required: false
          schema:
            type: string
          description: Search keyword to filter campaigns by name or other attributes.
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - scheduled
              - running
              - completed
              - failed
            example: scheduled
          description: Filter campaigns based on their current status.
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
          description: The page number to retrieve.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 10
          description: Number of campaigns to return per page.
      responses:
        '200':
          description: Campaigns retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                  message:
                    type: string
                    example: Campaigns retrieved successfully
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        campaign_id:
                          type: string
                          example: 6901c1d8b004a5d55a123abc
                        campaignName:
                          type: string
                          example: Follow-up Campaign October
                        assistantId:
                          type: string
                          example: 685d4b93abcf4c90c18034aa
                        status:
                          type: string
                          enum:
                            - scheduled
                            - running
                            - completed
                            - failed
                          example: scheduled
                        scheduleTime:
                          type: string
                          format: date-time
                          example: '2025-10-29T11:30:00.000Z'
                        recipientCount:
                          type: integer
                          example: 150
                        createdAt:
                          type: string
                          format: date-time
                          example: '2026-04-07T10:30:00.000Z'
                        updatedAt:
                          type: string
                          format: date-time
                          example: '2026-04-07T10:35:00.000Z'
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                        example: 1
                      limit:
                        type: integer
                        example: 10
                      total:
                        type: integer
                        example: 25
                      totalPages:
                        type: integer
                        example: 3
                      hasNextPage:
                        type: boolean
                        example: true
                      hasPrevPage:
                        type: boolean
                        example: false
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 400
                  message:
                    type: string
                    example: Invalid query parameters
        '401':
          description: Unauthorized access
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 401
                  message:
                    type: string
                    example: Authentication token is missing or invalid
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 500
                  message:
                    type: string
                    example: Error while fetching campaigns
      security:
        - apiKey: []
        - bearerAuth: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````