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

# List campaigns

> Get all campaigns for the authenticated team, with optional status and owner filters.



## OpenAPI

````yaml /openapi.json get /v1/campaigns
openapi: 3.0.0
info:
  title: Botdog API
  description: |-
    API documentation for Botdog.

    **Authentication**: Pass your API key as the `x-api-key` header.
    Example: `x-api-key: bd_live_abc123`

    Do NOT use the `Authorization` header.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.botdog.co
    description: Production
security: []
tags:
  - name: campaigns
    description: >-
      Create, read, update, and control campaigns (pause/resume, pause
      activities, archive, delete).
  - name: leads
    description: >-
      List and filter leads, read full detail + event history, update metadata,
      add to a campaign, or stop a sequence.
  - name: lists
    description: Manage lead/audience lists and their members.
  - name: blacklist
    description: Manage suppression lists (excluded profiles).
  - name: snippets
    description: Manage message snippets / templates.
  - name: accounts
    description: >-
      Connected LinkedIn accounts (seats), their connection health, and daily
      sending limits.
  - name: webhooks
    description: Manage webhook subscriptions.
  - name: messaging
    description: >-
      Send messages and replies, schedule a future send, and mark conversations
      read/unread. Rate-limited per sending account.
  - name: analytics
    description: Team-level analytics totals, daily breakdowns, and per-user metrics.
  - name: users
    description: Read the users in your team.
  - name: teams
    description: Current team context.
  - name: health
    description: Service health checks (no authentication).
paths:
  /v1/campaigns:
    get:
      tags:
        - campaigns
      summary: List campaigns
      description: >-
        Get all campaigns for the authenticated team, with optional status and
        owner filters.
      operationId: CampaignsController_findAll
      parameters:
        - name: status
          required: false
          in: query
          description: Filter by campaign status
          schema:
            enum:
              - ACTIVE
              - PAUSED
              - ARCHIVED
              - COMPLETED
              - CREATED
            type: string
        - name: userIds
          required: false
          in: query
          description: Filter by owner user IDs
          schema:
            example:
              - 123e4567-e89b-12d3-a456-426614174001
              - 123e4567-e89b-12d3-a456-426614174002
            type: array
            items:
              type: string
      responses:
        '200':
          description: Return campaigns matching the criteria
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CampaignDto'
        '401':
          description: Unauthorized. API key is missing or invalid.
        '429':
          description: Rate limit exceeded. Retry after cooldown.
      security:
        - api-key: []
components:
  schemas:
    CampaignDto:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the campaign
          example: 123e4567-e89b-12d3-a456-426614174000
        name:
          type: string
          description: The name of the campaign
          example: Q4 Sales Outreach
        status:
          type: string
          description: The current status of the campaign
          example: ACTIVE
          enum:
            - ACTIVE
            - PAUSED
            - ARCHIVED
            - COMPLETED
            - CREATED
        ownerId:
          type: string
          description: The ID of the user who owns this campaign
          example: 123e4567-e89b-12d3-a456-426614174000
        ownerEmail:
          type: string
          description: The email of the user who owns this campaign
          example: john.doe@example.com
        createdAt:
          format: date-time
          type: string
          description: The date the campaign was created
          example: '2023-09-15T12:00:00Z'
        updatedAt:
          format: date-time
          type: string
          description: The date the campaign was last updated
          example: '2023-09-16T14:30:00Z'
        startDate:
          format: date-time
          type: string
          description: The date the campaign will start
          example: '2023-09-15T12:00:00Z'
        endDate:
          format: date-time
          type: string
          description: The date the campaign will end
          example: '2023-09-15T12:00:00Z'
      required:
        - id
        - name
        - status
        - ownerId
        - ownerEmail
        - createdAt
        - updatedAt
        - startDate
        - endDate
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: x-api-key
      x-default: bd_live_your_key_here

````