naftiko: 1.0.0-alpha2 info: label: DocuSign REST API — EnvelopeViews description: 'DocuSign REST API — EnvelopeViews. 7 operations. Lead operation: Docusign Returns a URL to the envelope correction UI.. Self-contained Naftiko capability covering one Docusign business surface.' tags: - Docusign - EnvelopeViews created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DOCUSIGN_API_KEY: DOCUSIGN_API_KEY capability: consumes: - type: http namespace: docusign-envelopeviews baseUri: https://www.docusign.net/restapi description: DocuSign REST API — EnvelopeViews business capability. Self-contained, no shared references. resources: - name: v2-accounts-accountId-envelopes-envelopeId-views-correct path: /v2/accounts/{accountId}/envelopes/{envelopeId}/views/correct operations: - name: viewspostenvelopecorrectview method: POST description: Docusign Returns a URL to the envelope correction UI. 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: 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 - name: viewsdeleteenvelopecorrectview 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: 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 - name: v2-accounts-accountId-envelopes-envelopeId-views-edit path: /v2/accounts/{accountId}/envelopes/{envelopeId}/views/edit operations: - name: viewspostenvelopeeditview method: POST description: Docusign Returns a URL to the edit view UI. 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: 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 - name: v2-accounts-accountId-envelopes-envelopeId-views-recipient path: /v2/accounts/{accountId}/envelopes/{envelopeId}/views/recipient operations: - name: viewspostenveloperecipientview method: POST description: Docusign Returns a URL to the recipient view UI. 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: 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 - name: v2-accounts-accountId-envelopes-envelopeId-views-sender path: /v2/accounts/{accountId}/envelopes/{envelopeId}/views/sender operations: - name: viewspostenvelopesenderview method: POST description: Docusign Returns a URL to the sender view UI. 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: 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 - name: v2-accounts-accountId-envelopes-envelopeId-views-shared path: /v2/accounts/{accountId}/envelopes/{envelopeId}/views/shared operations: - name: viewspostenveloperecipientsharedview 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: 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 - name: v2-accounts-accountId-views-console path: /v2/accounts/{accountId}/views/console operations: - name: viewspostaccountconsoleview method: POST description: Docusign Returns a URL to the authentication view UI. 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: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: docusign-envelopeviews-rest port: 8080 description: REST adapter for DocuSign REST API — EnvelopeViews. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/accounts/{accountid}/envelopes/{envelopeid}/views/correct name: v2-accounts-accountid-envelopes-envelopeid-views-correct description: REST surface for v2-accounts-accountId-envelopes-envelopeId-views-correct. operations: - method: POST name: viewspostenvelopecorrectview description: Docusign Returns a URL to the envelope correction UI. call: docusign-envelopeviews.viewspostenvelopecorrectview with: accountId: rest.accountId envelopeId: rest.envelopeId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: viewsdeleteenvelopecorrectview description: viewsdeleteenvelopecorrectview call: docusign-envelopeviews.viewsdeleteenvelopecorrectview with: accountId: rest.accountId envelopeId: rest.envelopeId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/accounts/{accountid}/envelopes/{envelopeid}/views/edit name: v2-accounts-accountid-envelopes-envelopeid-views-edit description: REST surface for v2-accounts-accountId-envelopes-envelopeId-views-edit. operations: - method: POST name: viewspostenvelopeeditview description: Docusign Returns a URL to the edit view UI. call: docusign-envelopeviews.viewspostenvelopeeditview with: accountId: rest.accountId envelopeId: rest.envelopeId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/accounts/{accountid}/envelopes/{envelopeid}/views/recipient name: v2-accounts-accountid-envelopes-envelopeid-views-recipient description: REST surface for v2-accounts-accountId-envelopes-envelopeId-views-recipient. operations: - method: POST name: viewspostenveloperecipientview description: Docusign Returns a URL to the recipient view UI. call: docusign-envelopeviews.viewspostenveloperecipientview with: accountId: rest.accountId envelopeId: rest.envelopeId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/accounts/{accountid}/envelopes/{envelopeid}/views/sender name: v2-accounts-accountid-envelopes-envelopeid-views-sender description: REST surface for v2-accounts-accountId-envelopes-envelopeId-views-sender. operations: - method: POST name: viewspostenvelopesenderview description: Docusign Returns a URL to the sender view UI. call: docusign-envelopeviews.viewspostenvelopesenderview with: accountId: rest.accountId envelopeId: rest.envelopeId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/accounts/{accountid}/envelopes/{envelopeid}/views/shared name: v2-accounts-accountid-envelopes-envelopeid-views-shared description: REST surface for v2-accounts-accountId-envelopes-envelopeId-views-shared. operations: - method: POST name: viewspostenveloperecipientsharedview description: viewspostenveloperecipientsharedview call: docusign-envelopeviews.viewspostenveloperecipientsharedview with: accountId: rest.accountId envelopeId: rest.envelopeId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/accounts/{accountid}/views/console name: v2-accounts-accountid-views-console description: REST surface for v2-accounts-accountId-views-console. operations: - method: POST name: viewspostaccountconsoleview description: Docusign Returns a URL to the authentication view UI. call: docusign-envelopeviews.viewspostaccountconsoleview with: accountId: rest.accountId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: docusign-envelopeviews-mcp port: 9090 transport: http description: MCP adapter for DocuSign REST API — EnvelopeViews. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: docusign-returns-url-envelope-correction description: Docusign Returns a URL to the envelope correction UI. hints: readOnly: false destructive: false idempotent: false call: docusign-envelopeviews.viewspostenvelopecorrectview with: accountId: tools.accountId envelopeId: tools.envelopeId body: tools.body outputParameters: - type: object mapping: $. - name: viewsdeleteenvelopecorrectview description: viewsdeleteenvelopecorrectview hints: readOnly: false destructive: true idempotent: true call: docusign-envelopeviews.viewsdeleteenvelopecorrectview with: accountId: tools.accountId envelopeId: tools.envelopeId body: tools.body outputParameters: - type: object mapping: $. - name: docusign-returns-url-edit-view description: Docusign Returns a URL to the edit view UI. hints: readOnly: false destructive: false idempotent: false call: docusign-envelopeviews.viewspostenvelopeeditview with: accountId: tools.accountId envelopeId: tools.envelopeId body: tools.body outputParameters: - type: object mapping: $. - name: docusign-returns-url-recipient-view description: Docusign Returns a URL to the recipient view UI. hints: readOnly: false destructive: false idempotent: false call: docusign-envelopeviews.viewspostenveloperecipientview with: accountId: tools.accountId envelopeId: tools.envelopeId body: tools.body outputParameters: - type: object mapping: $. - name: docusign-returns-url-sender-view description: Docusign Returns a URL to the sender view UI. hints: readOnly: false destructive: false idempotent: false call: docusign-envelopeviews.viewspostenvelopesenderview with: accountId: tools.accountId envelopeId: tools.envelopeId body: tools.body outputParameters: - type: object mapping: $. - name: viewspostenveloperecipientsharedview description: viewspostenveloperecipientsharedview hints: readOnly: false destructive: false idempotent: false call: docusign-envelopeviews.viewspostenveloperecipientsharedview with: accountId: tools.accountId envelopeId: tools.envelopeId body: tools.body outputParameters: - type: object mapping: $. - name: docusign-returns-url-authentication-view description: Docusign Returns a URL to the authentication view UI. hints: readOnly: false destructive: false idempotent: false call: docusign-envelopeviews.viewspostaccountconsoleview with: accountId: tools.accountId body: tools.body outputParameters: - type: object mapping: $.