Docusign · Capability

DocuSign REST API — DocumentResponsiveHtmlPreview

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

Run with Naftiko DocusignDocumentResponsiveHtmlPreview

What You Can Do

POST
Responsivehtmlpostdocumentresponsivehtmlpreview — responsivehtmlpostdocumentresponsivehtmlpreview
/v1/v2/accounts/{accountid}/envelopes/{envelopeid}/documents/{documentid}/responsive-html-preview

MCP Tools

responsivehtmlpostdocumentresponsivehtmlpreview

responsivehtmlpostdocumentresponsivehtmlpreview

Capability Spec

docusign-documentresponsivehtmlpreview.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DocuSign REST API — DocumentResponsiveHtmlPreview
  description: 'DocuSign REST API — DocumentResponsiveHtmlPreview. 1 operations. Lead operation: DocumentResponsiveHtmlPreview.
    Self-contained Naftiko capability covering one Docusign business surface.'
  tags:
  - Docusign
  - DocumentResponsiveHtmlPreview
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DOCUSIGN_API_KEY: DOCUSIGN_API_KEY
capability:
  consumes:
  - type: http
    namespace: docusign-documentresponsivehtmlpreview
    baseUri: https://www.docusign.net/restapi
    description: DocuSign REST API — DocumentResponsiveHtmlPreview business capability. Self-contained, no shared references.
    resources:
    - name: v2-accounts-accountId-envelopes-envelopeId-documents-documentId-responsive_html_
      path: /v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/responsive_html_preview
      operations:
      - name: responsivehtmlpostdocumentresponsivehtmlpreview
        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: documentId
          in: path
          type: string
          description: The ID of the document being accessed.
          required: true
        - name: envelopeId
          in: path
          type: string
          description: The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: docusign-documentresponsivehtmlpreview-rest
    port: 8080
    description: REST adapter for DocuSign REST API — DocumentResponsiveHtmlPreview. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v2/accounts/{accountid}/envelopes/{envelopeid}/documents/{documentid}/responsive-html-preview
      name: v2-accounts-accountid-envelopes-envelopeid-documents-documentid-responsive-html
      description: REST surface for v2-accounts-accountId-envelopes-envelopeId-documents-documentId-responsive_html_.
      operations:
      - method: POST
        name: responsivehtmlpostdocumentresponsivehtmlpreview
        description: responsivehtmlpostdocumentresponsivehtmlpreview
        call: docusign-documentresponsivehtmlpreview.responsivehtmlpostdocumentresponsivehtmlpreview
        with:
          accountId: rest.accountId
          documentId: rest.documentId
          envelopeId: rest.envelopeId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: docusign-documentresponsivehtmlpreview-mcp
    port: 9090
    transport: http
    description: MCP adapter for DocuSign REST API — DocumentResponsiveHtmlPreview. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: responsivehtmlpostdocumentresponsivehtmlpreview
      description: responsivehtmlpostdocumentresponsivehtmlpreview
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: docusign-documentresponsivehtmlpreview.responsivehtmlpostdocumentresponsivehtmlpreview
      with:
        accountId: tools.accountId
        documentId: tools.documentId
        envelopeId: tools.envelopeId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.