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

# List campaigns

> Every campaign in the workspace, archived ones included, with its status and running totals: leads found, people contacted, replies, and how many messages are waiting for review. A campaign with is_editable false can only be read. Use get-campaign for one campaign in full.



## OpenAPI

````yaml /api-reference/openapi.json get /campaigns
openapi: 3.1.0
info:
  title: LeadBeast API
  version: v1
  description: >-
    One workspace per API key. Send the key as `Authorization: Bearer lb_...`;
    each key carries `resource:read` / `resource:write` scopes. Every response
    is either `{"data": ..., "meta": ...}` or `{"error": ..., "meta": ...}`, and
    `X-Request-Id` on the response identifies the call in support. Write calls
    accept an `Idempotency-Key` header: repeating a call with the same key
    replays the original result instead of acting again. The same tools are
    available to AI clients over MCP at https://app.leadbeast.io/mcp.
servers:
  - url: https://app.leadbeast.io/api/v1
security:
  - bearer: []
tags:
  - name: business
  - name: leads
  - name: campaigns
  - name: inbox
paths:
  /campaigns:
    get:
      tags:
        - campaigns
      summary: List campaigns
      description: >-
        Every campaign in the workspace, archived ones included, with its status
        and running totals: leads found, people contacted, replies, and how many
        messages are waiting for review. A campaign with is_editable false can
        only be read. Use get-campaign for one campaign in full.
      operationId: list-campaigns
      parameters:
        - name: limit
          in: query
          required: false
          description: Campaigns per page, 1-100. Default 20.
          schema:
            minimum: 1
            maximum: 100
            type: integer
        - name: page
          in: query
          required: false
          description: Page number, starting at 1. Default 1.
          schema:
            minimum: 1
            type: integer
      responses:
        '200':
          description: The call ran. Read `data.status` for what happened.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    properties:
                      status:
                        type: string
                        enum:
                          - completed
                          - queued
                          - processing
                          - partially_completed
                          - failed_temporary
                          - failed_permanent
                          - provider_unavailable
                          - rate_limited
                          - action_required
                        description: >-
                          What happened, machine-readable. Trust it over the
                          prose.
                      items:
                        description: One page of results.
                        items:
                          properties:
                            id:
                              description: The campaign id every other campaign tool takes.
                              type: string
                            name:
                              type: string
                            status:
                              description: >-
                                on, finding_leads, connect_linkedin_to_send,
                                trial_leads_reached, finding_paused, off, and
                                the like. trial_leads_reached means the trial
                                found its leads and finding waits for a
                                subscription; sending goes on. finding_paused
                                means the sender already has days of queued
                                leads, so finding waits and resumes by itself.
                                no_matches means recent searches found nobody
                                who matched; change the signals or the target.
                                archived means retired after sending: read-only,
                                its leads keep their history.
                              type: string
                            is_on:
                              type: boolean
                            is_editable:
                              description: >-
                                False for a campaign with no lead finder and for
                                an archived one; write tools refuse it.
                              type: boolean
                            leads_found:
                              type: integer
                            contacted:
                              type: integer
                            replied:
                              type: integer
                            pending_approvals:
                              description: Leads waiting in list-messages-for-review.
                              type: integer
                          type: object
                          required:
                            - id
                            - name
                            - status
                            - is_on
                            - is_editable
                            - leads_found
                            - contacted
                            - replied
                            - pending_approvals
                        type: array
                      total:
                        description: How many match across all pages.
                        type: integer
                      next_page:
                        description: The page to ask for next, or null on the last page.
                        type:
                          - integer
                          - 'null'
                    type: object
                    required:
                      - status
                      - items
                      - total
                      - next_page
                  meta:
                    $ref: '#/components/schemas/Meta'
                required:
                  - data
                  - meta
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/ActionRequired'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    Meta:
      type: object
      properties:
        request_id:
          type: string
        replayed:
          type: boolean
      required:
        - request_id
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            status:
              type: string
              enum:
                - completed
                - queued
                - processing
                - partially_completed
                - failed_temporary
                - failed_permanent
                - provider_unavailable
                - rate_limited
                - action_required
            reason_code:
              type:
                - string
                - 'null'
            message:
              type: string
          required:
            - status
            - message
        meta:
          $ref: '#/components/schemas/Meta'
      required:
        - error
        - meta
  responses:
    Unauthenticated:
      description: The API key is missing, expired or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    SubscriptionRequired:
      description: The workspace has no active subscription.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The key lacks the scope, or the plan lacks API access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: No such record in this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ActionRequired:
      description: The request was understood but cannot run in the current state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ValidationFailed:
      description: One or more arguments are invalid; see `error.errors`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests. Wait for `Retry-After` seconds.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: A dependency failed. The call is safe to retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.