> ## Documentation Index
> Fetch the complete documentation index at: https://new-fb342056.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List Leads

> Create a new lead in the Robocallz system



## OpenAPI

````yaml GET /user/leads
openapi: 3.1.0
info:
  title: Robocallz API
  description: API documentation for Robocallz platform
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.robocallz.ai
security:
  - bearerAuth: []
paths:
  /user/leads:
    get:
      summary: List leads
      description: List all leads for the authenticated user
      responses:
        '200':
          description: List of leads
          content:
            application/json:
              schema:
                type: object
                properties:
                  leads:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: The id of the lead
                        campaign_id:
                          type: string
                          description: The ID of the campaign this lead belongs to
                        phone_number:
                          type: string
                          description: The phone number of the lead in E.164 format
                        variables:
                          type: object
                          description: The variables associated with the lead
                        status:
                          type: string
                          description: The status of the lead
                        created_at:
                          type: string
                          description: The created at date of the lead
                        updated_at:
                          type: string
                          description: The updated at date of the lead
                        campaign:
                          type: object
                          description: The campaign information
                          properties:
                            id:
                              type: string
                              description: The id of the campaign
                            name:
                              type: string
                              description: The name of the campaign
              example:
                leads:
                  - id: '1'
                    campaign_id: '1'
                    phone_number: '+1234567890'
                    variables:
                      customer_name: John Doe
                      email: john.doe@example.com
                    status: created
                    created_at: '2024-01-01T00:00:00.000000Z'
                    updated_at: '2024-01-01T00:00:00.000000Z'
                    campaign:
                      id: '1'
                      name: Summer Campaign
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````