> ## 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 leads

> Search the workspace's leads by name, company or job title, or list the leads of one campaign. Filters: stage, where a sequence stands, lead status, a minimum score and whether an email address is known. Highest score first by default. Returns short summaries; call get-lead for one person in full.



## OpenAPI

````yaml /api-reference/openapi.json get /leads
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:
  /leads:
    get:
      tags:
        - leads
      summary: List leads
      description: >-
        Search the workspace's leads by name, company or job title, or list the
        leads of one campaign. Filters: stage, where a sequence stands, lead
        status, a minimum score and whether an email address is known. Highest
        score first by default. Returns short summaries; call get-lead for one
        person in full.
      operationId: list-leads
      parameters:
        - name: query
          in: query
          required: false
          description: Free text matched against full name, company name and job title.
          schema:
            type: string
        - name: campaign_id
          in: query
          required: false
          description: >-
            Only the leads this campaign found or contacted, the id from
            list-campaigns.
          schema:
            type: string
        - name: stage
          in: query
          required: false
          description: >-
            Only leads in this stage: new, in_sequence, in_conversation,
            meeting_booked, evaluating, won, lost or on_hold.
          schema:
            enum:
              - new
              - in_sequence
              - in_conversation
              - meeting_booked
              - evaluating
              - won
              - lost
              - on_hold
            type: string
        - name: sequence
          in: query
          required: false
          description: >-
            Only leads with a sequence in this status (in the given campaign
            when campaign_id is set): not_started, in_progress, needs_review,
            paused, done or stopped.
          schema:
            enum:
              - not_started
              - in_progress
              - needs_review
              - paused
              - done
              - stopped
            type: string
        - name: lead_status
          in: query
          required: false
          description: >-
            Lead status: "qualified", "candidate" or "suppressed"
            (do-not-contact). Default qualified when campaign_id is set.
          schema:
            enum:
              - candidate
              - qualified
              - suppressed
            type: string
        - name: score_min
          in: query
          required: false
          description: Only leads with a lead score (1.0-10.0) at or above this value.
          schema:
            type: number
        - name: tag
          in: query
          required: false
          description: >-
            Only leads with this tag, by name ("Lead", "Interested", a custom
            name); "none" for leads without a tag.
          schema:
            type: string
        - name: has_email
          in: query
          required: false
          description: >-
            true = only leads with an email address; false = only leads without
            one.
          schema:
            type: boolean
        - name: sort
          in: query
          required: false
          description: >-
            score puts the highest lead score first (default); newest the most
            recently added.
          schema:
            enum:
              - score
              - newest
            type: string
        - name: limit
          in: query
          required: false
          description: Leads 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 lead id every other tool takes.
                              type: string
                            full_name:
                              type:
                                - string
                                - 'null'
                            job_title:
                              type:
                                - string
                                - 'null'
                            company_name:
                              type:
                                - string
                                - 'null'
                            linkedin_profile_url:
                              type:
                                - string
                                - 'null'
                            email_present:
                              description: >-
                                Whether an email address is known; the address
                                itself comes from get-lead.
                              type: boolean
                            score:
                              description: >-
                                Lead score 1.0-10.0, the best across campaigns;
                                null until a campaign scored the person.
                              type:
                                - number
                                - 'null'
                            lead_status:
                              description: >-
                                qualified = a lead, candidate = found but not a
                                lead, suppressed = do-not-contact.
                              enum:
                                - candidate
                                - qualified
                                - suppressed
                              type: string
                            stage:
                              description: >-
                                Where the person stands as a deal: new,
                                in_sequence, in_conversation, meeting_booked,
                                evaluating, won, lost or on_hold. LeadBeast
                                moves new to in_sequence on the first send and
                                to in_conversation on a reply; the rest is
                                yours.
                              enum:
                                - new
                                - in_sequence
                                - in_conversation
                                - meeting_booked
                                - evaluating
                                - won
                                - lost
                                - on_hold
                              type: string
                            tags:
                              description: >-
                                The lead's tag as a one-item list ("Lead",
                                "Interested", "Do Not Contact", a custom name),
                                or empty when uncategorized.
                              items:
                                type: string
                              type: array
                          type: object
                          required:
                            - id
                            - full_name
                            - job_title
                            - company_name
                            - linkedin_profile_url
                            - email_present
                            - score
                            - lead_status
                            - stage
                            - tags
                        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.