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

# Update Record Activities



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#PIPEDRIVE_UPDATE_RECORD_ACTIVITIES_V2
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/#PIPEDRIVE_UPDATE_RECORD_ACTIVITIES_V2:
    post:
      summary: Update Record Activities
      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: PIPEDRIVE_UPDATE_RECORD_ACTIVITIES_V2
                parameters:
                  type: object
                  properties:
                    recordId:
                      type: string
                      description: 'Record ID : The ID of the activity that will be updated.'
                    subject:
                      type: string
                      description: Subject
                    note:
                      type: string
                      description: Note
                    type:
                      type: string
                      description: Type
                      enum:
                        - call
                        - meeting
                        - task
                        - deadline
                        - email
                        - lunch
                    dueDate:
                      type: string
                      description: >-
                        Due Date : Accepts Unix timestamp or ISO8601 date
                        formats.
                    location:
                      type: object
                      description: |-
                        Location : The address of the activity. (example: "{
                          "value": "123 Main St",
                          "country": "USA",
                          "locality": "Sunnyvale",
                          "route": "Main St",
                          "street_number": "123",
                          "postal_code": "94085"
                        }")
                      properties: {}
                    done:
                      type: boolean
                      description: Done
                    userId:
                      type: string
                      description: >-
                        User ID : The ID of the user whom the activity is
                        assigned to.
                    dealId:
                      type: string
                      description: >-
                        Deal ID : The ID of the deal this activity is associated
                        with.
                    leadId:
                      type: string
                      description: >-
                        Lead ID : The ID of the Lead this activity is associated
                        with.
                    ownerId:
                      type: string
                      description: >-
                        Owner ID : The ID of the user who the deal will be the
                        owner of the lead. Defaults to the currently
                        authenticated user if left blank.
                    participants:
                      type: object
                      description: >-
                        Participants : The participants of the activity.
                        (example: "[{
                          "person_id": 1,
                          "primary": true
                        }]")
                      properties: {}
                    organizationId:
                      type: string
                      description: >-
                        Organization ID : The ID of the Organization this
                        activity is associated with.
                  required:
                    - recordId
                  x-integration: pipedrive
              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.

````