naftiko: 1.0.0-alpha2 info: label: DocuSign REST API — TemplateRecipients description: 'DocuSign REST API — TemplateRecipients. 5 operations. Lead operation: Docusign Gets recipient information from a template.. Self-contained Naftiko capability covering one Docusign business surface.' tags: - Docusign - TemplateRecipients created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DOCUSIGN_API_KEY: DOCUSIGN_API_KEY capability: consumes: - type: http namespace: docusign-templaterecipients baseUri: https://www.docusign.net/restapi description: DocuSign REST API — TemplateRecipients business capability. Self-contained, no shared references. resources: - name: v2-accounts-accountId-templates-templateId-recipients path: /v2/accounts/{accountId}/templates/{templateId}/recipients operations: - name: recipientsgettemplaterecipients method: GET description: Docusign Gets recipient information from a template. 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: templateId in: path type: string description: The ID of the template being accessed. required: true - name: include_anchor_tab_locations in: query type: string description: When set to **true** and `include_tabs` is set to **true**, all tabs with anchor tab properties are included in the response. - name: include_extended in: query type: string description: When set to **true**, the extended properties are included in the response. - name: include_tabs in: query type: string description: When set to **true**, the tab information associated with the recipient is included in the response. - name: recipientsputtemplaterecipients method: PUT description: Docusign Updates recipients in a template. 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: templateId in: path type: string description: The ID of the template being accessed. required: true - name: resend_envelope in: query type: string description: When set to **true**, resends the envelope if the new recipient's routing order is before or the same as the envelope's next recipient. - name: body in: body type: object description: Request body (JSON). required: false - name: recipientsposttemplaterecipients method: POST description: Docusign Adds tabs for a recipient. 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: templateId in: path type: string description: The ID of the template being accessed. required: true - name: resend_envelope in: query type: string description: When set to **true**, resends the envelope if the new recipient's routing order is before or the same as the envelope's next recipient. - name: body in: body type: object description: Request body (JSON). required: false - name: recipientsdeletetemplaterecipients method: DELETE description: Docusign Deletes recipients from a template. 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: templateId in: path type: string description: The ID of the template being accessed. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v2-accounts-accountId-templates-templateId-recipients-recipientId path: /v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId} operations: - name: recipientsdeletetemplaterecipient method: DELETE description: Docusign Deletes the specified recipient file from a template. 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: recipientId in: path type: string description: A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, bu required: true - name: templateId in: path type: string description: The ID of the template being accessed. required: true - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: docusign-templaterecipients-rest port: 8080 description: REST adapter for DocuSign REST API — TemplateRecipients. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/accounts/{accountid}/templates/{templateid}/recipients name: v2-accounts-accountid-templates-templateid-recipients description: REST surface for v2-accounts-accountId-templates-templateId-recipients. operations: - method: GET name: recipientsgettemplaterecipients description: Docusign Gets recipient information from a template. call: docusign-templaterecipients.recipientsgettemplaterecipients with: accountId: rest.accountId templateId: rest.templateId include_anchor_tab_locations: rest.include_anchor_tab_locations include_extended: rest.include_extended include_tabs: rest.include_tabs outputParameters: - type: object mapping: $. - method: PUT name: recipientsputtemplaterecipients description: Docusign Updates recipients in a template. call: docusign-templaterecipients.recipientsputtemplaterecipients with: accountId: rest.accountId templateId: rest.templateId resend_envelope: rest.resend_envelope body: rest.body outputParameters: - type: object mapping: $. - method: POST name: recipientsposttemplaterecipients description: Docusign Adds tabs for a recipient. call: docusign-templaterecipients.recipientsposttemplaterecipients with: accountId: rest.accountId templateId: rest.templateId resend_envelope: rest.resend_envelope body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: recipientsdeletetemplaterecipients description: Docusign Deletes recipients from a template. call: docusign-templaterecipients.recipientsdeletetemplaterecipients with: accountId: rest.accountId templateId: rest.templateId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/accounts/{accountid}/templates/{templateid}/recipients/{recipientid} name: v2-accounts-accountid-templates-templateid-recipients-recipientid description: REST surface for v2-accounts-accountId-templates-templateId-recipients-recipientId. operations: - method: DELETE name: recipientsdeletetemplaterecipient description: Docusign Deletes the specified recipient file from a template. call: docusign-templaterecipients.recipientsdeletetemplaterecipient with: accountId: rest.accountId recipientId: rest.recipientId templateId: rest.templateId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: docusign-templaterecipients-mcp port: 9090 transport: http description: MCP adapter for DocuSign REST API — TemplateRecipients. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: docusign-gets-recipient-information-template description: Docusign Gets recipient information from a template. hints: readOnly: true destructive: false idempotent: true call: docusign-templaterecipients.recipientsgettemplaterecipients with: accountId: tools.accountId templateId: tools.templateId include_anchor_tab_locations: tools.include_anchor_tab_locations include_extended: tools.include_extended include_tabs: tools.include_tabs outputParameters: - type: object mapping: $. - name: docusign-updates-recipients-template description: Docusign Updates recipients in a template. hints: readOnly: false destructive: false idempotent: true call: docusign-templaterecipients.recipientsputtemplaterecipients with: accountId: tools.accountId templateId: tools.templateId resend_envelope: tools.resend_envelope body: tools.body outputParameters: - type: object mapping: $. - name: docusign-adds-tabs-recipient description: Docusign Adds tabs for a recipient. hints: readOnly: false destructive: false idempotent: false call: docusign-templaterecipients.recipientsposttemplaterecipients with: accountId: tools.accountId templateId: tools.templateId resend_envelope: tools.resend_envelope body: tools.body outputParameters: - type: object mapping: $. - name: docusign-deletes-recipients-template description: Docusign Deletes recipients from a template. hints: readOnly: false destructive: true idempotent: true call: docusign-templaterecipients.recipientsdeletetemplaterecipients with: accountId: tools.accountId templateId: tools.templateId body: tools.body outputParameters: - type: object mapping: $. - name: docusign-deletes-specified-recipient-file description: Docusign Deletes the specified recipient file from a template. hints: readOnly: false destructive: true idempotent: true call: docusign-templaterecipients.recipientsdeletetemplaterecipient with: accountId: tools.accountId recipientId: tools.recipientId templateId: tools.templateId body: tools.body outputParameters: - type: object mapping: $.