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

# List Campaigns

> Returns a paginated list of campaigns.



## OpenAPI

````yaml https://api.monaco.com/openapi.json post /v1/campaigns/list
openapi: 3.1.0
info:
  title: Monaco Public API
  description: Public API for Monaco
  version: 1.0.0
servers:
  - url: https://api.monaco.com
security: []
paths:
  /v1/campaigns/list:
    post:
      tags:
        - Campaigns
      summary: List Campaigns
      description: Returns a paginated list of campaigns.
      operationId: list_campaigns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicListRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicListResponse_CampaignResponse_'
              example:
                data:
                  - id: cmp_abc123
                    name: Q3 Enterprise Outbound
                    status: active
                    prioritized: false
                    end_date: '2026-12-31'
                    template_id: seqt_789ghi
                    template_name: Enterprise Onboarding
                    audiences:
                      - id: aud_abc123
                        name: Enterprise West
                    created_at: '2026-01-15T10:30:00Z'
                    updated_at: '2026-05-10T14:22:00Z'
                pagination:
                  page: 1
                  page_size: 50
                  total_count: 7
                  total_pages: 1
                meta:
                  timestamp: '2026-05-11T17:00:00Z'
        4XX:
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorResponse'
components:
  schemas:
    PublicListRequest:
      properties:
        filters:
          anyOf:
            - items:
                $ref: '#/components/schemas/FilterRule'
              type: array
            - $ref: '#/components/schemas/FilterExpression'
          title: Filters
          description: >-
            Filters to apply. Accepts either a flat list of filter rules,
            implicitly ANDed together, or a recursive filter expression with
            'operator' and 'filters'. When an expression omits 'operator', it
            defaults to 'and'. Filter field names, their valid operators, and
            allowed values come from GET /v1/schemas/{entity} — each field lists
            'allowed_operators' and 'enum_field_settings.allowed_values'. Custom
            fields are keyed 'custom_field_<uuid>'; related-entity custom fields
            use '<relation>.custom_field_<uuid>' and are filter-only.
          examples:
            - - condition: contains
                field: name
                value: Acme
              - condition: is
                field: status
                value: active
            - filters:
                - condition: is
                  field: status
                  value: active
                - filters:
                    - condition: contains
                      field: name
                      value: Acme
                    - condition: greater_than
                      field: created_at
                      value: '2026-01-01'
              operator: or
        page:
          type: integer
          minimum: 1
          title: Page
          description: Page number (1-indexed)
          default: 1
          examples:
            - 1
        page_size:
          type: integer
          maximum: 500
          minimum: 1
          title: Page Size
          description: Number of results per page
          default: 50
          examples:
            - 25
        sort:
          type: string
          title: Sort
          description: Field to sort by. Prefix with '-' for descending order.
          default: '-created_at'
          examples:
            - '-created_at'
      type: object
      title: PublicListRequest
    PublicListResponse_CampaignResponse_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/CampaignResponse'
          type: array
          title: Data
        pagination:
          $ref: '#/components/schemas/PaginationInfo'
        meta:
          $ref: '#/components/schemas/ResponseMeta'
      type: object
      required:
        - data
        - pagination
      title: PublicListResponse[CampaignResponse]
    PublicErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - error
      title: PublicErrorResponse
    FilterRule:
      properties:
        field:
          type: string
          title: Field
        condition:
          type: string
          title: Condition
        value:
          anyOf:
            - {}
            - type: 'null'
          title: Value
      type: object
      required:
        - field
        - condition
      title: FilterRule
    FilterExpression:
      properties:
        operator:
          $ref: '#/components/schemas/LogicalOperatorEnum'
          default: and
        filters:
          items:
            anyOf:
              - $ref: '#/components/schemas/FilterRule'
              - $ref: '#/components/schemas/FilterExpression'
          type: array
          title: Filters
          default: []
      type: object
      title: FilterExpression
      description: |-
        A filter expression with an explicit operator.

        Contains filters that can be either FilterRule objects (leaf nodes) or
        nested FilterExpression objects (branch nodes), allowing for arbitrarily
        nested filter structures.
    CampaignResponse:
      properties:
        id:
          type: string
          title: Id
          description: Unique identifier for the campaign
          examples:
            - cmp_abc123
        name:
          type: string
          title: Name
          description: Name of the campaign
          examples:
            - Q3 Enterprise Outbound
        status:
          $ref: '#/components/schemas/CampaignStatus'
          description: Current lifecycle status of the campaign
          examples:
            - active
        prioritized:
          type: boolean
          title: Prioritized
          description: Whether this campaign takes priority over non-prioritized campaigns
          examples:
            - false
        end_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: End Date
          description: Date the campaign stops enrolling
          examples:
            - '2026-12-31'
        template_id:
          type: string
          title: Template Id
          description: ID of the template enrolled contacts are placed on
          examples:
            - seqt_789ghi
        template_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Template Name
          description: Title of the template
          examples:
            - Enterprise Onboarding
        audiences:
          items:
            $ref: '#/components/schemas/CampaignAudienceRef'
          type: array
          title: Audiences
          description: Audiences enrolled in this campaign
        enrollment_status:
          $ref: '#/components/schemas/PublicEnrollmentStatus'
          description: Progress of the async task enrolling this campaign's audiences
          examples:
            - completed
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Date and time the campaign was created
          examples:
            - '2026-01-15T10:30:00Z'
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: Date and time the campaign was last updated
          examples:
            - '2026-05-10T14:22:00Z'
      type: object
      required:
        - id
        - name
        - status
        - prioritized
        - template_id
        - enrollment_status
        - created_at
        - updated_at
      title: CampaignResponse
      description: Campaign summary, as returned by `list_campaigns`.
    PaginationInfo:
      properties:
        page:
          type: integer
          title: Page
          description: Current page number
          examples:
            - 1
        page_size:
          type: integer
          title: Page Size
          description: Number of results per page
          examples:
            - 25
        total_count:
          type: integer
          title: Total Count
          description: Total number of matching records
          examples:
            - 142
        total_pages:
          type: integer
          title: Total Pages
          description: Total number of pages
          examples:
            - 6
      type: object
      required:
        - page
        - page_size
        - total_count
        - total_pages
      title: PaginationInfo
    ResponseMeta:
      properties:
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Server timestamp of the response
      type: object
      title: ResponseMeta
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
          description: Machine-readable error code
          examples:
            - not_found
        message:
          type: string
          title: Message
          description: Human-readable error message
          examples:
            - Resource not found
      type: object
      required:
        - code
        - message
      title: ErrorDetail
    LogicalOperatorEnum:
      type: string
      enum:
        - and
        - or
      title: LogicalOperatorEnum
      description: Logical operators to combine filters or filter expressions.
    CampaignStatus:
      type: string
      enum:
        - active
        - paused
        - completed
        - draft
        - archived
      title: CampaignStatus
      description: Lifecycle status of a campaign.
    CampaignAudienceRef:
      properties:
        id:
          type: string
          title: Id
          description: Unique identifier for the audience
          examples:
            - aud_abc123
        name:
          type: string
          title: Name
          description: Name of the audience
          examples:
            - Enterprise West
      type: object
      required:
        - id
        - name
      title: CampaignAudienceRef
      description: An audience attached to a campaign.
    PublicEnrollmentStatus:
      type: string
      enum:
        - pending
        - running
        - completed
        - failed
      title: PublicEnrollmentStatus
      description: Progress of the async audience-enrollment task behind create/update.

````