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

# Create Record Lead

**Provider API:** Salesforce REST API (Latest version available to the connected org).


## OpenAPI

````yaml actionkit/openapi.json POST /projects/{project_id}/tools/#SALESFORCE_CREATE_RECORD_LEAD
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#SALESFORCE_CREATE_RECORD_LEAD:
    post:
      summary: Create Record Lead
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: SALESFORCE_CREATE_RECORD_LEAD
                parameters:
                  type: object
                  properties:
                    Id:
                      type: string
                      description: Lead ID
                    IsDeleted:
                      type: boolean
                      description: Deleted
                    MasterRecordId:
                      type: string
                      description: Master Record ID
                    LastName:
                      type: string
                      description: Last Name
                    FirstName:
                      type: string
                      description: First Name
                    Salutation:
                      type: string
                      description: Salutation
                      enum:
                        - Mr.
                        - Ms.
                        - Mrs.
                        - Dr.
                        - Prof.
                        - Mx.
                    Name:
                      type: string
                      description: Full Name
                    Title:
                      type: string
                      description: Title
                    Company:
                      type: string
                      description: Company
                    Street:
                      type: string
                      description: Street
                    City:
                      type: string
                      description: City
                    State:
                      type: string
                      description: State/Province
                    PostalCode:
                      type: string
                      description: Zip/Postal Code
                    Country:
                      type: string
                      description: Country
                    Latitude:
                      type: string
                      description: Latitude
                    Longitude:
                      type: string
                      description: Longitude
                    GeocodeAccuracy:
                      type: string
                      description: Geocode Accuracy
                      enum:
                        - Address
                        - NearAddress
                        - Block
                        - Street
                        - ExtendedZip
                        - Zip
                        - Neighborhood
                        - City
                        - County
                        - State
                        - Unknown
                    Address:
                      type: string
                      description: Address
                    Phone:
                      type: string
                      description: Phone
                    MobilePhone:
                      type: string
                      description: Mobile Phone
                    Fax:
                      type: string
                      description: Fax
                    Email:
                      type: string
                      description: Email
                    Website:
                      type: string
                      description: Website
                    PhotoUrl:
                      type: string
                      description: Photo URL
                    Description:
                      type: string
                      description: Description
                    LeadSource:
                      type: string
                      description: Lead Source
                      enum:
                        - Advertisement
                        - Employee Referral
                        - External Referral
                        - Partner
                        - Public Relations
                        - Seminar - Internal
                        - Seminar - Partner
                        - Trade Show
                        - Web
                        - Word of mouth
                        - Other
                    Status:
                      type: string
                      description: Status
                      enum:
                        - Contacted
                        - Open
                        - Qualified
                        - Unqualified
                    Industry:
                      type: string
                      description: Industry
                      enum:
                        - Agriculture
                        - Apparel
                        - Banking
                        - Biotechnology
                        - Chemicals
                        - Communications
                        - Construction
                        - Consulting
                        - Education
                        - Electronics
                        - Energy
                        - Engineering
                        - Entertainment
                        - Environmental
                        - Finance
                        - Food & Beverage
                        - Government
                        - Healthcare
                        - Hospitality
                        - Insurance
                        - Machinery
                        - Manufacturing
                        - Media
                        - Not For Profit
                        - Other
                        - Recreation
                        - Retail
                        - Shipping
                        - Technology
                        - Telecommunications
                        - Transportation
                        - Utilities
                    Rating:
                      type: string
                      description: Rating
                      enum:
                        - Hot
                        - Warm
                        - Cold
                    AnnualRevenue:
                      type: string
                      description: Annual Revenue
                    NumberOfEmployees:
                      type: integer
                      description: Employees
                    OwnerId:
                      type: string
                      description: Owner ID
                    HasOptedOutOfEmail:
                      type: boolean
                      description: Email Opt Out
                    IsConverted:
                      type: boolean
                      description: Converted
                    ConvertedDate:
                      type: string
                      description: Converted Date
                    ConvertedAccountId:
                      type: string
                      description: Converted Account ID
                    ConvertedContactId:
                      type: string
                      description: Converted Contact ID
                    ConvertedOpportunityId:
                      type: string
                      description: Converted Opportunity ID
                    IsUnreadByOwner:
                      type: boolean
                      description: Unread By Owner
                    CreatedDate:
                      type: string
                      description: Created Date
                    CreatedById:
                      type: string
                      description: Created By ID
                    LastModifiedDate:
                      type: string
                      description: Last Modified Date
                    LastModifiedById:
                      type: string
                      description: Last Modified By ID
                    SystemModstamp:
                      type: string
                      description: System Modstamp
                    LastActivityDate:
                      type: string
                      description: Last Activity
                    DoNotCall:
                      type: boolean
                      description: Do Not Call
                    HasOptedOutOfFax:
                      type: boolean
                      description: Fax Opt Out
                    LastViewedDate:
                      type: string
                      description: Last Viewed Date
                    LastReferencedDate:
                      type: string
                      description: Last Referenced Date
                    Jigsaw:
                      type: string
                      description: Data.com Key
                    JigsawContactId:
                      type: string
                      description: Jigsaw Contact ID
                    EmailBouncedReason:
                      type: string
                      description: Email Bounced Reason
                    EmailBouncedDate:
                      type: string
                      description: Email Bounced Date
                    IndividualId:
                      type: string
                      description: Individual ID
                    IsPriorityRecord:
                      type: boolean
                      description: Important
                    sfLma__Subscriber_Org_Type__c:
                      type: string
                      description: Subscriber Org Type
                  required:
                    - LastName
                    - Name
                    - Company
                  x-integration: salesforce
              required:
                - tool
                - parameters
      responses:
        '200':
          description: >-
            The Salesforce response to creating the record: the new record `id`,
            whether the request succeeded, and any `errors`. The keys and values
            in the response come from Salesforce and can vary with how the
            object, its fields and the org are configured, so your response may
            differ from this example.
          content:
            application/json:
              examples:
                'Success: Created':
                  summary: Record created
                  value:
                    id: 00Q5e00dr7WSCuEAAA
                    success: true
                    errors: []
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````