Docusign · Capability

DocuSign REST API — ConnectSecret

DocuSign REST API — ConnectSecret. 2 operations. Lead operation: ConnectSecret. Self-contained Naftiko capability covering one Docusign business surface.

Run with Naftiko DocusignConnectSecret

What You Can Do

POST
Connecthmaccreateconnectsecret — connecthmaccreateconnectsecret
/v1/v2/accounts/{accountid}/connect/secret
DELETE
Connecthmacdeleteconnectsecret — connecthmacdeleteconnectsecret
/v1/v2/accounts/{accountid}/connect/secret/{keyid}

MCP Tools

connecthmaccreateconnectsecret

connecthmaccreateconnectsecret

connecthmacdeleteconnectsecret

connecthmacdeleteconnectsecret

idempotent

Capability Spec

docusign-connectsecret.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DocuSign REST API — ConnectSecret
  description: 'DocuSign REST API — ConnectSecret. 2 operations. Lead operation: ConnectSecret. Self-contained Naftiko capability
    covering one Docusign business surface.'
  tags:
  - Docusign
  - ConnectSecret
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DOCUSIGN_API_KEY: DOCUSIGN_API_KEY
capability:
  consumes:
  - type: http
    namespace: docusign-connectsecret
    baseUri: https://www.docusign.net/restapi
    description: DocuSign REST API — ConnectSecret business capability. Self-contained, no shared references.
    resources:
    - name: v2-accounts-accountId-connect-secret
      path: /v2/accounts/{accountId}/connect/secret
      operations:
      - name: connecthmaccreateconnectsecret
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountId
          in: path
          type: string
          description: The external account number (int) or account id GUID.
          required: true
    - name: v2-accounts-accountId-connect-secret-keyId
      path: /v2/accounts/{accountId}/connect/secret/{keyId}
      operations:
      - name: connecthmacdeleteconnectsecret
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountId
          in: path
          type: string
          description: The external account number (int) or account id GUID.
          required: true
        - name: keyId
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: docusign-connectsecret-rest
    port: 8080
    description: REST adapter for DocuSign REST API — ConnectSecret. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/accounts/{accountid}/connect/secret
      name: v2-accounts-accountid-connect-secret
      description: REST surface for v2-accounts-accountId-connect-secret.
      operations:
      - method: POST
        name: connecthmaccreateconnectsecret
        description: connecthmaccreateconnectsecret
        call: docusign-connectsecret.connecthmaccreateconnectsecret
        with:
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/accounts/{accountid}/connect/secret/{keyid}
      name: v2-accounts-accountid-connect-secret-keyid
      description: REST surface for v2-accounts-accountId-connect-secret-keyId.
      operations:
      - method: DELETE
        name: connecthmacdeleteconnectsecret
        description: connecthmacdeleteconnectsecret
        call: docusign-connectsecret.connecthmacdeleteconnectsecret
        with:
          accountId: rest.accountId
          keyId: rest.keyId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: docusign-connectsecret-mcp
    port: 9090
    transport: http
    description: MCP adapter for DocuSign REST API — ConnectSecret. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: connecthmaccreateconnectsecret
      description: connecthmaccreateconnectsecret
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: docusign-connectsecret.connecthmaccreateconnectsecret
      with:
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.
    - name: connecthmacdeleteconnectsecret
      description: connecthmacdeleteconnectsecret
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: docusign-connectsecret.connecthmacdeleteconnectsecret
      with:
        accountId: tools.accountId
        keyId: tools.keyId
      outputParameters:
      - type: object
        mapping: $.