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

# List Lead Types

> List your lead types with the scopes bids can be placed at and their minimums.

Use this to find the `lead_type` ID a new bid needs. Each lead type lists the [scopes](https://docs.usejuiced.com/features/bidding.md#scopes) bids can be placed at and the minimum bid for each, in dollars. A scope only shows up when bidding is turned on for it and your [deepest location layer](https://docs.usejuiced.com/features/company-profile.md#locations) supports it. A lead type with an empty `bidding` list can't take bids.

Archived lead types are left out. Every lead type comes back in one page, so `next_cursor` is always `null`. It needs the `bids:read` ability.


## OpenAPI

````yaml GET /v1/lead-types
openapi: 3.1.0
info:
  title: Juiced API
  description: >-
    API for submitting pings and leads to Juiced. Build on the v1 endpoints
    under `/v1`. The unversioned `/ping` and `/leads` endpoints are the frozen
    legacy contract and are deprecated.
  version: 1.0.0
servers:
  - url: https://usejuiced.com/api
    description: Production server
security:
  - Basic Auth: []
  - Bearer Token: []
tags:
  - name: v1
    description: The current API. Build on these endpoints.
  - name: Customers
    description: Create and look up your customers with an API key.
  - name: Leads
    description: Look up your leads and their details with an API key.
  - name: Funds
    description: >-
      Add funds to and remove funds from a customer's balance, and list their
      transactions.
  - name: Bids
    description: Manage your customers' bids and look up your lead types.
  - name: Legacy
    description: The frozen, deprecated unversioned endpoints.
paths:
  /v1/lead-types:
    get:
      tags:
        - Bids
      summary: List lead types
      description: >-
        Lists your lead types with the scopes bids can be placed at and each
        scope's minimum. Archived lead types are left out. Every lead type comes
        back in one page, so `next_cursor` is always `null`.


        Requires the `bids:read` ability.
      operationId: listLeadTypesV1
      responses:
        '200':
          description: Your lead types.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LeadTypeListResponseV1'
              example:
                data:
                  - id: ltyp_01jbx7q3s5v7w9y1a3c5e7g9hk
                    name: Motivated Seller
                    description: Homeowners ready to sell within 90 days.
                    bidding:
                      - scope: county
                        minimum: 10
                      - scope: state
                        minimum: 5
                      - scope: nationwide
                        minimum: 2.5
                next_cursor: null
                version: v1
        '401':
          $ref: '#/components/responses/ApiKeyUnauthenticatedV1'
        '403':
          description: >-
            The key lacks the ability this endpoint needs, your plan doesn't
            include the API, or your account is locked for an unpaid
            subscription.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorV1'
              examples:
                Missing ability:
                  summary: Missing ability
                  value:
                    error:
                      code: bad_request
                      message: This API key does not have the bids:read ability.
                    version: v1
                Plan without the API:
                  summary: Plan without the API
                  value:
                    error:
                      code: bad_request
                      message: >-
                        The API is not included in your plan. Upgrade to a paid
                        plan to use it.
                    version: v1
                Account locked:
                  summary: Account locked
                  value:
                    error:
                      code: bad_request
                      message: This workspace is locked until its subscription is paid.
                    version: v1
        '429':
          $ref: '#/components/responses/RateLimitedV1'
        '500':
          $ref: '#/components/responses/ServerErrorV1'
      security:
        - API Key: []
components:
  headers:
    XRequestId:
      description: >-
        Unique ID for this request, sent on every v1 response (errors included).
        Quote it when contacting support.
      schema:
        type: string
        pattern: ^req_[0-9a-z]{26}$
        example: req_01jbx8k6y3a5c7e9g1j3m5p7rt
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        example: 30
  schemas:
    LeadTypeListResponseV1:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/LeadTypeV1'
        next_cursor:
          type: 'null'
          description: Always `null`. Every lead type comes back in one page.
        version:
          type: string
          enum:
            - v1
    ErrorV1:
      title: Error
      type: object
      required:
        - error
        - version
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              enum:
                - unauthenticated
                - validation_failed
                - quota_reached
                - ping_mismatch
                - idempotency_conflict
                - idempotency_in_progress
                - idempotency_reserved
                - idempotency_version_mismatch
                - rate_limited
                - not_found
                - method_not_allowed
                - bad_request
                - server_error
              description: Machine-readable error code. Branch on this, not on `message`.
            message:
              type: string
              description: Human-readable explanation.
            errors:
              type: object
              description: Only with `validation_failed`. Messages keyed by field.
              additionalProperties:
                type: array
                items:
                  type: string
            lead_id:
              type: string
              pattern: ^lead_[0-9a-z]{26}$
              description: >-
                Only with `idempotency_version_mismatch`. The lead the
                `transaction_id` already created.
            bid:
              type: string
              pattern: ^bid_[0-9a-z]{26}$
              description: >-
                Only when a customer already has an active bid on that lead type
                and location. That bid's ID, so you can change it instead.
        version:
          type: string
          enum:
            - v1
          description: Always `v1`.
    LeadTypeV1:
      title: Lead Type
      type: object
      properties:
        id:
          type: string
          pattern: ^ltyp_[0-9a-z]{26}$
          description: >-
            The lead type's public ID. Send it as `lead_type` when you create a
            bid.
        name:
          type: string
        description:
          type:
            - string
            - 'null'
          description: The lead type's description.
        bidding:
          type: array
          description: >-
            The scopes bids can be placed at, with each one's minimum. Empty
            when bidding isn't turned on for the lead type.
          items:
            type: object
            properties:
              scope:
                type: string
                enum:
                  - county
                  - state
                  - nationwide
              minimum:
                type:
                  - number
                  - 'null'
                description: The minimum bid at this scope, in dollars.
  responses:
    ApiKeyUnauthenticatedV1:
      description: The API key is missing, unknown, revoked or expired.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorV1'
          example:
            error:
              code: unauthenticated
              message: >-
                Missing or invalid API key. Send an active jz_live_ key as a
                bearer token.
            version: v1
    RateLimitedV1:
      description: Too many requests.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorV1'
          example:
            error:
              code: rate_limited
              message: >-
                Too many requests. Retry after the number of seconds in the
                Retry-After header.
            version: v1
    ServerErrorV1:
      description: >-
        Something went wrong on our side. Quote the `X-Request-Id` header when
        contacting support.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorV1'
          example:
            error:
              code: server_error
              message: >-
                An unexpected error occurred. Quote the X-Request-Id header when
                contacting support.
            version: v1
  securitySchemes:
    Basic Auth:
      type: http
      scheme: basic
      description: >-
        Use your source's API key as the username and API secret as the
        password. Base64 encode the credentials in the format
        `api_key:api_secret`.
    Bearer Token:
      type: http
      scheme: bearer
      description: Use a bearer token generated for your source.
    API Key:
      type: http
      scheme: bearer
      description: >-
        An API key from **Configure → API Keys** (it starts with `jz_live_`),
        sent as a bearer token. See [API Keys](/api-reference/api-keys).

````

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