# List campaigns (deprecated)

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /campaign/list:
    get:
      summary: List campaigns (deprecated)
      deprecated: false
      description: List of campaigns associated with their workspace
      operationId: Campaign_campaign/list-campaigns-deprecated
      tags:
        - Campaign
        - Campaign
      parameters:
        - name: workspace_id
          in: query
          description: Workspace ID
          required: true
          schema:
            type: string
            description: Workspace ID
            default: ''
            examples:
              - 65f3c92d3dbe5dbb35374a9a
        - name: skip
          in: query
          description: Optional - Offset for pagination
          required: false
          schema:
            type: integer
            description: Optional - Offset for pagination
            default: ''
            minimum: 0
            examples:
              - ''
        - name: limit
          in: query
          description: Optional - Used for pagination (Max 100)
          required: false
          schema:
            type: integer
            description: Optional - Used for pagination (Max 100)
            default: ''
            minimum: 1
            maximum: 100
            examples:
              - '10'
        - name: x-api-key
          in: header
          description: Your PlusVibe.ai account's API Key
          required: true
          example: ''
          schema:
            type: string
            description: Your PlusVibe.ai account's API Key
            default: ''
            examples:
              - your-api-key
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: ''
                    examples:
                      - 66b447598f6dd99f7f7b5c0a
                  status:
                    type: string
                    description: >-
                      Status of the campaign (ACTIVE, PAUSED, COMPLETED,
                      INACTIVE, ERROR)
                    examples:
                      - COMPLETED
                  created_at:
                    type: string
                    description: ''
                    examples:
                      - '2023-10-20T19:13:34.220Z'
                  name:
                    type: string
                    description: ''
                    examples:
                      - Spring 2024 Marketing Campaign
                  tags:
                    type: array
                    description: ''
                    items:
                      type: String
                      description: Id of the tag
                      examples:
                        - 66d6efa907aed48b1323d01b
                  last_lead_sent:
                    type: string
                    description: The Last Lead's Sent Time
                    examples:
                      - '2023-12-05T10:29:48.269Z'
                  last_lead_replied:
                    type: string
                    description: The Last Lead's Reply Time
                    examples:
                      - '2023-12-05T13:13:41.269Z'
                required:
                  - id
                  - status
                  - created_at
                  - name
                x-apidog-orders:
                  - id
                  - status
                  - created_at
                  - name
                  - tags
                  - last_lead_sent
                  - last_lead_replied
          headers: {}
          x-apidog-name: OK
        '400':
          description: Validation or other error
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: ''
                    examples:
                      - An unexpected error has occurred.
                  error:
                    type: string
                    description: ''
                    examples:
                      - An unexpected error has occurred.
                x-apidog-orders:
                  - message
                  - error
          headers: {}
          x-apidog-name: Bad Request
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
          headers: {}
          x-apidog-name: Server Error
      security:
        - ApiKeyAuth: []
          x-apidog:
            schemeGroups:
              - id: uS5KiuC4wfZHK42AzOfA_
                schemeIds:
                  - ApiKeyAuth
            required: true
            use:
              id: uS5KiuC4wfZHK42AzOfA_
            scopes:
              uS5KiuC4wfZHK42AzOfA_:
                ApiKeyAuth: []
      x-apidog-folder: Campaign
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/929054/apis/api-17237997-run
components:
  schemas: {}
  securitySchemes:
    ApiKeyAuth:
      type: apikey
      in: header
      name: x-api-key
      description: |
        API key issued in the PlusVibe dashboard. The server reads it
        from the `x-api-key` header and injects it into the request as
        the `api_key` query parameter, which is why you will see
        `api_key` referenced in validation errors.
    apiKey:
      type: apikey
      in: body
      name: api_key
      description: API key passed in request body
servers:
  - url: https://api.plusvibe.ai/api/v1
    description: Prod Env
security:
  - ApiKeyAuth: []
    x-apidog:
      schemeGroups:
        - id: uS5KiuC4wfZHK42AzOfA_
          schemeIds:
            - ApiKeyAuth
      required: true
      use:
        id: uS5KiuC4wfZHK42AzOfA_
      scopes:
        uS5KiuC4wfZHK42AzOfA_:
          ApiKeyAuth: []

```
