naftiko: 1.0.0-alpha2 info: label: DocuSign REST API — Groups description: 'DocuSign REST API — Groups. 4 operations. Lead operation: Docusign Gets information about groups associated with the account.. Self-contained Naftiko capability covering one Docusign business surface.' tags: - Docusign - Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DOCUSIGN_API_KEY: DOCUSIGN_API_KEY capability: consumes: - type: http namespace: docusign-groups baseUri: https://www.docusign.net/restapi description: DocuSign REST API — Groups business capability. Self-contained, no shared references. resources: - name: v2-accounts-accountId-groups path: /v2/accounts/{accountId}/groups operations: - name: groupsgetgroups method: GET description: Docusign Gets information about groups associated with the account. 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: count in: query type: string description: Number of records to return. The number must be greater than 1 and less than or equal to 100. - name: group_type in: query type: string - name: search_text in: query type: string - name: start_position in: query type: string description: Starting value for the list. - name: groupsputgroups method: PUT description: Docusign Updates the group information for a group. 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 - name: groupspostgroups method: POST description: Docusign Creates one or more groups for the account. 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 - name: groupsdeletegroups method: DELETE description: Docusign Deletes an existing user group. 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-groups-rest port: 8080 description: REST adapter for DocuSign REST API — Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/accounts/{accountid}/groups name: v2-accounts-accountid-groups description: REST surface for v2-accounts-accountId-groups. operations: - method: GET name: groupsgetgroups description: Docusign Gets information about groups associated with the account. call: docusign-groups.groupsgetgroups with: accountId: rest.accountId count: rest.count group_type: rest.group_type search_text: rest.search_text start_position: rest.start_position outputParameters: - type: object mapping: $. - method: PUT name: groupsputgroups description: Docusign Updates the group information for a group. call: docusign-groups.groupsputgroups with: accountId: rest.accountId body: rest.body outputParameters: - type: object mapping: $. - method: POST name: groupspostgroups description: Docusign Creates one or more groups for the account. call: docusign-groups.groupspostgroups with: accountId: rest.accountId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: groupsdeletegroups description: Docusign Deletes an existing user group. call: docusign-groups.groupsdeletegroups with: accountId: rest.accountId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: docusign-groups-mcp port: 9090 transport: http description: MCP adapter for DocuSign REST API — Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: docusign-gets-information-about-groups description: Docusign Gets information about groups associated with the account. hints: readOnly: true destructive: false idempotent: true call: docusign-groups.groupsgetgroups with: accountId: tools.accountId count: tools.count group_type: tools.group_type search_text: tools.search_text start_position: tools.start_position outputParameters: - type: object mapping: $. - name: docusign-updates-group-information-group description: Docusign Updates the group information for a group. hints: readOnly: false destructive: false idempotent: true call: docusign-groups.groupsputgroups with: accountId: tools.accountId body: tools.body outputParameters: - type: object mapping: $. - name: docusign-creates-one-more-groups description: Docusign Creates one or more groups for the account. hints: readOnly: false destructive: false idempotent: false call: docusign-groups.groupspostgroups with: accountId: tools.accountId body: tools.body outputParameters: - type: object mapping: $. - name: docusign-deletes-existing-user-group description: Docusign Deletes an existing user group. hints: readOnly: false destructive: true idempotent: true call: docusign-groups.groupsdeletegroups with: accountId: tools.accountId body: tools.body outputParameters: - type: object mapping: $.