> ## 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 campaign options

> The lists the campaign wizard picks from, for building a create-campaign or update-campaign payload: regions and countries for locations, industry names, company-size buckets, the message variables, and the ready-made AI instruction presets with their full text. Same for every workspace; call it once.



## OpenAPI

````yaml /api-reference/openapi.json get /campaigns/options
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/options:
    get:
      tags:
        - campaigns
      summary: List campaign options
      description: >-
        The lists the campaign wizard picks from, for building a create-campaign
        or update-campaign payload: regions and countries for locations,
        industry names, company-size buckets, the message variables, and the
        ready-made AI instruction presets with their full text. Same for every
        workspace; call it once.
      operationId: list-campaign-options
      parameters: []
      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.
                      locations:
                        items:
                          properties:
                            region:
                              description: >-
                                A region name is itself a valid location and
                                covers all its countries.
                              type: string
                            countries:
                              items:
                                properties:
                                  code:
                                    type: string
                                  name:
                                    description: >-
                                      The name to use in target_locations and
                                      exclude_locations.
                                    type: string
                                type: object
                                required:
                                  - code
                                  - name
                              type: array
                          type: object
                          required:
                            - region
                            - countries
                        type: array
                      industries:
                        description: >-
                          Industry names for icp.target_industries. Other names
                          are accepted and matched by text.
                        items:
                          type: string
                        type: array
                      company_sizes:
                        description: Employee-count buckets for icp.target_company_sizes.
                        items:
                          type: string
                        type: array
                      message_variables:
                        description: >-
                          What {{variable}} may name in a step message or in
                          ai_instructions.
                        items:
                          type: string
                        type: array
                      ai_instruction_presets:
                        items:
                          properties:
                            key:
                              description: >-
                                Pass as ai_instructions_preset to use the
                                preset.
                              type: string
                            label:
                              type: string
                            text:
                              description: >-
                                The full instruction text the preset fills
                                ai_instructions with.
                              type: string
                          type: object
                          required:
                            - key
                            - label
                            - text
                        type: array
                    type: object
                    required:
                      - status
                      - locations
                      - industries
                      - company_sizes
                      - message_variables
                      - ai_instruction_presets
                  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.