# Create Lead

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /prod/api/v1/leads:
    post:
      summary: Create Lead
      deprecated: false
      description: ''
      tags:
        - Jerry
      parameters:
        - name: X-Api-Key
          in: header
          description: ''
          required: true
          example: XXXXXXXXXXXXXXX
          schema:
            type: string
        - name: x-tenant-id
          in: header
          description: ''
          required: true
          example: '12345'
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                language:
                  type: string
                  description: en / fr
                province:
                  type: string
                  description: >-
                    ['QC', 'ON', 'BC', 'AB', 'MB', 'SK', 'NS', 'NB', 'NL', 'PE',
                    'NT', 'NU', 'YT']
                firstname:
                  type: string
                  description: User name
                lastname:
                  type: string
                  description: User last name
                email:
                  type: string
                  description: User email
                phone:
                  type: string
                  description: User phone number
                dob:
                  type: string
                  description: User date of birthday
                loanamount:
                  type: string
                  description: User amount requested.
                customerId:
                  type: string
                  description: Random number
                companyId:
                  type: string
                  description: Company Id
                empName:
                  type: string
                  description: Employer's name
                empPhone:
                  type: string
                  description: Employer's phone
                empDate:
                  type: string
                  description: Employer's pay date
                workAddress:
                  type: string
                  description: User's work address
                empIncomeType:
                  type: string
                  description: >-
                    Employment type: ["retired", "employed", "unemployed",
                    "full_time", "part_time", "self_employed",
                    "social_security"]
              required:
                - language
                - province
                - customerId
                - companyId
                - firstname
                - lastname
                - email
                - phone
                - dob
                - loanamount
                - empIncomeType
              x-apidog-orders:
                - language
                - province
                - customerId
                - companyId
                - firstname
                - lastname
                - email
                - phone
                - dob
                - loanamount
                - empIncomeType
                - empName
                - empPhone
                - empDate
                - workAddress
            example:
              language: fr
              customerId: 58293
              companyId: 1
              firstName: Lucas
              lastName: Ramirez
              email: lucas.ramirez@example.co
              phone: '5141234567'
              dob: '1992-08-15'
              province: QC
              empIncomeType: Employedd
              empName: Tech Solutions Inc
              empPhone: '5147654321'
              empDate: '2021-05-01'
              workAddress: 1234 Saint Laurent Blvd, Montreal, QC
              loanAmount: 3000
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
              example:
                status: SUCCESS
                id: 2897
                key: 0b658889-ae79-46df-8e52-706e5ca526b5
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: Jerry
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/936244/apis/api-17485423-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://prod.your-api-server.com
    description: Prod Env
security: []

```
