> ## 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 Or Update Prospect



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#PARDOT_CREATE_OR_UPDATE_PROSPECT
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/#PARDOT_CREATE_OR_UPDATE_PROSPECT:
    post:
      summary: Create Or Update Prospect
      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: PARDOT_CREATE_OR_UPDATE_PROSPECT
                parameters:
                  type: object
                  properties:
                    prospectId:
                      type: string
                      description: >-
                        Prospect ID : Id of prospect to be updated. If left
                        blank, creates a new prospect
                    email:
                      type: string
                      description: >-
                        Email : If there already exists a lead with this email,
                        it will be updated.
                    firstName:
                      type: string
                      description: First Name
                    lastName:
                      type: string
                      description: Last Name
                    company:
                      type: string
                      description: Company
                    jobTitle:
                      type: string
                      description: 'Job Title : Lead’s job title.'
                    phone:
                      type: string
                      description: Phone
                    website:
                      type: string
                      description: Website
                    additionalFields:
                      type: object
                      description: >-
                        Specify any other fields that should be updated in JSON
                        format. (example: {"property_number": "17",
                        "property_dropdown": "choice_b", "property_radio":
                        "option_1", "property_string": "value", "property_date":
                        "1572480000000"})
                      properties: {}
                  required:
                    - prospectId
                    - email
                  x-integration: pardot
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      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.

````