> ## 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 Task



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#SALESFORCE_CREATE_RECORD_TASK
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_TASK:
    post:
      summary: Create Record Task
      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_TASK
                parameters:
                  type: object
                  properties:
                    whatId:
                      type: string
                      description: >-
                        Related to ID : The ID of the Account or Opportunity
                        this Task is related to.
                    whoId:
                      type: string
                      description: >-
                        Name ID : The ID of the Contact or Lead this Task is
                        related to.
                    subject:
                      type: string
                      description: Subject
                    activityDate:
                      type: string
                      description: 'Activity Date (example: "YYYY-MM-DD")'
                    description:
                      type: string
                      description: 'Description : A description of the Task.'
                    taskSubtype:
                      type: string
                      description: Task Subtype
                      enum:
                        - task
                        - email
                        - listEmail
                        - call
                    Status:
                      type: string
                      description: Status
                      enum:
                        - Not Started
                        - In Progress
                        - Completed
                    ownerId:
                      type: string
                      description: >-
                        Assigned To ID : The Salesforce user assigned to this
                        Task. Use Connect Portal Workflow Settings to allow
                        users to select an Owner. (example:
                        "{{settings.TaskAssignee}}")
                    callDurationInSeconds:
                      type: string
                      description: Call Duration
                    isReminderSet:
                      type: boolean
                      description: Reminder Set
                    reminderDateTime:
                      type: string
                      description: 'Reminder Date/Time (example: "2019-09-15T02:06:58.147Z")'
                    additionalFields:
                      type: object
                      description: >-
                        Additional Fields : Specify any other fields that should
                        be updated in JSON below. Use Connect Portal Workflow
                        Settings to allow users to select which Task fields to
                        update. (example: "{
                          "property_number": "17",
                          "property_dropdown": "choice_b",
                          "property_radio": "option_1",
                          "property_string": "value",
                          "property_date": "1572480000000"
                        }")
                      properties: {}
                  required:
                    - subject
                    - taskSubtype
                  x-integration: salesforce
              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.

````