PandaDoc · Capability

PandaDoc REST API — Contacts

PandaDoc REST API — Contacts. 5 operations. Lead operation: List Contacts. Self-contained Naftiko capability covering one Pandadoc business surface.

Run with Naftiko PandadocContacts

What You Can Do

GET
Listcontacts — List Contacts
/v1/contacts
POST
Createcontact — Create Contact
/v1/contacts
GET
Getcontact — Get Contact
/v1/contacts/{id}
PATCH
Updatecontact — Update Contact
/v1/contacts/{id}
DELETE
Deletecontact — Delete Contact
/v1/contacts/{id}

MCP Tools

list-contacts

List Contacts

read-only idempotent
create-contact

Create Contact

get-contact

Get Contact

read-only idempotent
update-contact

Update Contact

idempotent
delete-contact

Delete Contact

idempotent

Capability Spec

rest-contacts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PandaDoc REST API — Contacts
  description: 'PandaDoc REST API — Contacts. 5 operations. Lead operation: List Contacts. Self-contained Naftiko capability
    covering one Pandadoc business surface.'
  tags:
  - Pandadoc
  - Contacts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PANDADOC_API_KEY: PANDADOC_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-contacts
    baseUri: https://api.pandadoc.com/public/v1
    description: PandaDoc REST API — Contacts business capability. Self-contained, no shared references.
    resources:
    - name: contacts
      path: /contacts
      operations:
      - name: listcontacts
        method: GET
        description: List Contacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
          description: Search contacts by name, email, or company substring.
      - name: createcontact
        method: POST
        description: Create Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: contacts-id
      path: /contacts/{id}
      operations:
      - name: getcontact
        method: GET
        description: Get Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecontact
        method: PATCH
        description: Update Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletecontact
        method: DELETE
        description: Delete Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.PANDADOC_API_KEY}}'
  exposes:
  - type: rest
    namespace: rest-contacts-rest
    port: 8080
    description: REST adapter for PandaDoc REST API — Contacts. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/contacts
      name: contacts
      description: REST surface for contacts.
      operations:
      - method: GET
        name: listcontacts
        description: List Contacts
        call: rest-contacts.listcontacts
        with:
          q: rest.q
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcontact
        description: Create Contact
        call: rest-contacts.createcontact
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{id}
      name: contacts-id
      description: REST surface for contacts-id.
      operations:
      - method: GET
        name: getcontact
        description: Get Contact
        call: rest-contacts.getcontact
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatecontact
        description: Update Contact
        call: rest-contacts.updatecontact
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecontact
        description: Delete Contact
        call: rest-contacts.deletecontact
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-contacts-mcp
    port: 9090
    transport: http
    description: MCP adapter for PandaDoc REST API — Contacts. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-contacts
      description: List Contacts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-contacts.listcontacts
      with:
        q: tools.q
      outputParameters:
      - type: object
        mapping: $.
    - name: create-contact
      description: Create Contact
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-contacts.createcontact
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-contact
      description: Get Contact
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-contacts.getcontact
      outputParameters:
      - type: object
        mapping: $.
    - name: update-contact
      description: Update Contact
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rest-contacts.updatecontact
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-contact
      description: Delete Contact
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: rest-contacts.deletecontact
      outputParameters:
      - type: object
        mapping: $.