Pipedrive · Capability

Pipedrive API v1 — Organizations

Pipedrive API v1 — Organizations. 9 operations. Lead operation: List updates about organization field values. Self-contained Naftiko capability covering one Pipedrive business surface.

Run with Naftiko PipedriveOrganizations

What You Can Do

GET
Getorganizationchangelog — List updates about organization field values
/v1/organizations/{id}/changelog
GET
Getorganizationfiles — List files attached to an organization
/v1/organizations/{id}/files
GET
Getorganizationupdates — List updates about an organization
/v1/organizations/{id}/flow
GET
Getorganizationfollowers — List followers of an organization
/v1/organizations/{id}/followers
POST
Addorganizationfollower — Add a follower to an organization
/v1/organizations/{id}/followers
DELETE
Deleteorganizationfollower — Delete a follower from an organization
/v1/organizations/{id}/followers/{follower-id}
GET
Getorganizationmailmessages — List mail messages associated with an organization
/v1/organizations/{id}/mailmessages
PUT
Mergeorganizations — Merge two organizations
/v1/organizations/{id}/merge
GET
Getorganizationusers — List permitted users
/v1/organizations/{id}/permittedusers

MCP Tools

list-updates-about-organization-field

List updates about organization field values

read-only idempotent
list-files-attached-organization

List files attached to an organization

read-only idempotent
list-updates-about-organization

List updates about an organization

read-only idempotent
list-followers-organization

List followers of an organization

read-only idempotent
add-follower-organization

Add a follower to an organization

delete-follower-organization

Delete a follower from an organization

idempotent
list-mail-messages-associated-organization

List mail messages associated with an organization

read-only idempotent
merge-two-organizations

Merge two organizations

idempotent
list-permitted-users

List permitted users

read-only idempotent

Capability Spec

v1-organizations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pipedrive API v1 — Organizations
  description: 'Pipedrive API v1 — Organizations. 9 operations. Lead operation: List updates about organization field values.
    Self-contained Naftiko capability covering one Pipedrive business surface.'
  tags:
  - Pipedrive
  - Organizations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PIPEDRIVE_API_KEY: PIPEDRIVE_API_KEY
capability:
  consumes:
  - type: http
    namespace: v1-organizations
    baseUri: https://api.pipedrive.com/v1
    description: Pipedrive API v1 — Organizations business capability. Self-contained, no shared references.
    resources:
    - name: organizations-id-changelog
      path: /organizations/{id}/changelog
      operations:
      - name: getorganizationchangelog
        method: GET
        description: List updates about organization field values
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The ID of the organization
          required: true
        - name: cursor
          in: query
          type: string
          description: For pagination, the marker (an opaque string value) representing the first item on the next page
        - name: limit
          in: query
          type: integer
          description: Items shown per page
    - name: organizations-id-files
      path: /organizations/{id}/files
      operations:
      - name: getorganizationfiles
        method: GET
        description: List files attached to an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The ID of the organization
          required: true
        - name: start
          in: query
          type: integer
          description: Pagination start
        - name: limit
          in: query
          type: integer
          description: Items shown per page. Please note that a maximum value of 100 is allowed.
        - name: sort
          in: query
          type: string
          description: 'Supported fields: `id`, `update_time`'
    - name: organizations-id-flow
      path: /organizations/{id}/flow
      operations:
      - name: getorganizationupdates
        method: GET
        description: List updates about an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The ID of the organization
          required: true
        - name: start
          in: query
          type: integer
          description: Pagination start
        - name: limit
          in: query
          type: integer
          description: Items shown per page
        - name: all_changes
          in: query
          type: string
          description: Whether to show custom field updates or not. 1 = Include custom field changes. If omitted, returns
            changes without custom field updates.
        - name: items
          in: query
          type: string
          description: A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity,
            note, file, change, deal, follower, participant,
    - name: organizations-id-followers
      path: /organizations/{id}/followers
      operations:
      - name: getorganizationfollowers
        method: GET
        description: List followers of an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The ID of the organization
          required: true
      - name: addorganizationfollower
        method: POST
        description: Add a follower to an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The ID of the organization
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: organizations-id-followers-follower_id
      path: /organizations/{id}/followers/{follower_id}
      operations:
      - name: deleteorganizationfollower
        method: DELETE
        description: Delete a follower from an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The ID of the organization
          required: true
        - name: follower_id
          in: path
          type: integer
          description: The ID of the relationship between the follower and the organization
          required: true
    - name: organizations-id-mailMessages
      path: /organizations/{id}/mailMessages
      operations:
      - name: getorganizationmailmessages
        method: GET
        description: List mail messages associated with an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The ID of the organization
          required: true
        - name: start
          in: query
          type: integer
          description: Pagination start
        - name: limit
          in: query
          type: integer
          description: Items shown per page
    - name: organizations-id-merge
      path: /organizations/{id}/merge
      operations:
      - name: mergeorganizations
        method: PUT
        description: Merge two organizations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The ID of the organization
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: organizations-id-permittedUsers
      path: /organizations/{id}/permittedUsers
      operations:
      - name: getorganizationusers
        method: GET
        description: List permitted users
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The ID of the organization
          required: true
    authentication:
      type: bearer
      token: '{{env.PIPEDRIVE_API_KEY}}'
  exposes:
  - type: rest
    namespace: v1-organizations-rest
    port: 8080
    description: REST adapter for Pipedrive API v1 — Organizations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organizations/{id}/changelog
      name: organizations-id-changelog
      description: REST surface for organizations-id-changelog.
      operations:
      - method: GET
        name: getorganizationchangelog
        description: List updates about organization field values
        call: v1-organizations.getorganizationchangelog
        with:
          id: rest.id
          cursor: rest.cursor
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{id}/files
      name: organizations-id-files
      description: REST surface for organizations-id-files.
      operations:
      - method: GET
        name: getorganizationfiles
        description: List files attached to an organization
        call: v1-organizations.getorganizationfiles
        with:
          id: rest.id
          start: rest.start
          limit: rest.limit
          sort: rest.sort
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{id}/flow
      name: organizations-id-flow
      description: REST surface for organizations-id-flow.
      operations:
      - method: GET
        name: getorganizationupdates
        description: List updates about an organization
        call: v1-organizations.getorganizationupdates
        with:
          id: rest.id
          start: rest.start
          limit: rest.limit
          all_changes: rest.all_changes
          items: rest.items
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{id}/followers
      name: organizations-id-followers
      description: REST surface for organizations-id-followers.
      operations:
      - method: GET
        name: getorganizationfollowers
        description: List followers of an organization
        call: v1-organizations.getorganizationfollowers
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: addorganizationfollower
        description: Add a follower to an organization
        call: v1-organizations.addorganizationfollower
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{id}/followers/{follower-id}
      name: organizations-id-followers-follower-id
      description: REST surface for organizations-id-followers-follower_id.
      operations:
      - method: DELETE
        name: deleteorganizationfollower
        description: Delete a follower from an organization
        call: v1-organizations.deleteorganizationfollower
        with:
          id: rest.id
          follower_id: rest.follower_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{id}/mailmessages
      name: organizations-id-mailmessages
      description: REST surface for organizations-id-mailMessages.
      operations:
      - method: GET
        name: getorganizationmailmessages
        description: List mail messages associated with an organization
        call: v1-organizations.getorganizationmailmessages
        with:
          id: rest.id
          start: rest.start
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{id}/merge
      name: organizations-id-merge
      description: REST surface for organizations-id-merge.
      operations:
      - method: PUT
        name: mergeorganizations
        description: Merge two organizations
        call: v1-organizations.mergeorganizations
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{id}/permittedusers
      name: organizations-id-permittedusers
      description: REST surface for organizations-id-permittedUsers.
      operations:
      - method: GET
        name: getorganizationusers
        description: List permitted users
        call: v1-organizations.getorganizationusers
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: v1-organizations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Pipedrive API v1 — Organizations. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-updates-about-organization-field
      description: List updates about organization field values
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v1-organizations.getorganizationchangelog
      with:
        id: tools.id
        cursor: tools.cursor
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: list-files-attached-organization
      description: List files attached to an organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v1-organizations.getorganizationfiles
      with:
        id: tools.id
        start: tools.start
        limit: tools.limit
        sort: tools.sort
      outputParameters:
      - type: object
        mapping: $.
    - name: list-updates-about-organization
      description: List updates about an organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v1-organizations.getorganizationupdates
      with:
        id: tools.id
        start: tools.start
        limit: tools.limit
        all_changes: tools.all_changes
        items: tools.items
      outputParameters:
      - type: object
        mapping: $.
    - name: list-followers-organization
      description: List followers of an organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v1-organizations.getorganizationfollowers
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: add-follower-organization
      description: Add a follower to an organization
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: v1-organizations.addorganizationfollower
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-follower-organization
      description: Delete a follower from an organization
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: v1-organizations.deleteorganizationfollower
      with:
        id: tools.id
        follower_id: tools.follower_id
      outputParameters:
      - type: object
        mapping: $.
    - name: list-mail-messages-associated-organization
      description: List mail messages associated with an organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v1-organizations.getorganizationmailmessages
      with:
        id: tools.id
        start: tools.start
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: merge-two-organizations
      description: Merge two organizations
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: v1-organizations.mergeorganizations
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-permitted-users
      description: List permitted users
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v1-organizations.getorganizationusers
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.