naftiko: 1.0.0-alpha2 info: label: DocuSign REST API — Contacts description: 'DocuSign REST API — Contacts. 5 operations. Lead operation: Replaces contacts associated with an account for the DocuSign service.. Self-contained Naftiko capability covering one Docusign business surface.' tags: - Docusign - Contacts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DOCUSIGN_API_KEY: DOCUSIGN_API_KEY capability: consumes: - type: http namespace: docusign-contacts baseUri: https://www.docusign.net/restapi description: DocuSign REST API — Contacts business capability. Self-contained, no shared references. resources: - name: v2-accounts-accountId-contacts path: /v2/accounts/{accountId}/contacts operations: - name: contactsputcontacts method: PUT description: Replaces contacts associated with an account for the DocuSign service. 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: contactspostcontacts method: POST description: Docusign Imports multiple new contacts into the contacts collection from CSV, JSON, or XML (based on content type). 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: contactsdeletecontacts method: DELETE description: Delete contacts associated with an account for the DocuSign service. 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: v2-accounts-accountId-contacts-contactId path: /v2/accounts/{accountId}/contacts/{contactId} operations: - name: contactsgetcontactbyid method: GET description: Docusign Gets a particular contact associated with the user's 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: contactId in: path type: string description: The unique identifier of a person in the contacts address book. required: true - name: contactsdeletecontactwithid method: DELETE description: Replaces a particular contact associated with an account for the DocuSign service. 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: contactId in: path type: string description: The unique identifier of a person in the contacts address book. required: true exposes: - type: rest namespace: docusign-contacts-rest port: 8080 description: REST adapter for DocuSign REST API — Contacts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/accounts/{accountid}/contacts name: v2-accounts-accountid-contacts description: REST surface for v2-accounts-accountId-contacts. operations: - method: PUT name: contactsputcontacts description: Replaces contacts associated with an account for the DocuSign service. call: docusign-contacts.contactsputcontacts with: accountId: rest.accountId body: rest.body outputParameters: - type: object mapping: $. - method: POST name: contactspostcontacts description: Docusign Imports multiple new contacts into the contacts collection from CSV, JSON, or XML (based on content type). call: docusign-contacts.contactspostcontacts with: accountId: rest.accountId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: contactsdeletecontacts description: Delete contacts associated with an account for the DocuSign service. call: docusign-contacts.contactsdeletecontacts with: accountId: rest.accountId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/accounts/{accountid}/contacts/{contactid} name: v2-accounts-accountid-contacts-contactid description: REST surface for v2-accounts-accountId-contacts-contactId. operations: - method: GET name: contactsgetcontactbyid description: Docusign Gets a particular contact associated with the user's account. call: docusign-contacts.contactsgetcontactbyid with: accountId: rest.accountId contactId: rest.contactId outputParameters: - type: object mapping: $. - method: DELETE name: contactsdeletecontactwithid description: Replaces a particular contact associated with an account for the DocuSign service. call: docusign-contacts.contactsdeletecontactwithid with: accountId: rest.accountId contactId: rest.contactId outputParameters: - type: object mapping: $. - type: mcp namespace: docusign-contacts-mcp port: 9090 transport: http description: MCP adapter for DocuSign REST API — Contacts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: replaces-contacts-associated-account-docusign description: Replaces contacts associated with an account for the DocuSign service. hints: readOnly: false destructive: false idempotent: true call: docusign-contacts.contactsputcontacts with: accountId: tools.accountId body: tools.body outputParameters: - type: object mapping: $. - name: docusign-imports-multiple-new-contacts description: Docusign Imports multiple new contacts into the contacts collection from CSV, JSON, or XML (based on content type). hints: readOnly: false destructive: false idempotent: false call: docusign-contacts.contactspostcontacts with: accountId: tools.accountId body: tools.body outputParameters: - type: object mapping: $. - name: delete-contacts-associated-account-docusign description: Delete contacts associated with an account for the DocuSign service. hints: readOnly: false destructive: true idempotent: true call: docusign-contacts.contactsdeletecontacts with: accountId: tools.accountId body: tools.body outputParameters: - type: object mapping: $. - name: docusign-gets-particular-contact-associated description: Docusign Gets a particular contact associated with the user's account. hints: readOnly: true destructive: false idempotent: true call: docusign-contacts.contactsgetcontactbyid with: accountId: tools.accountId contactId: tools.contactId outputParameters: - type: object mapping: $. - name: replaces-particular-contact-associated-account description: Replaces a particular contact associated with an account for the DocuSign service. hints: readOnly: false destructive: true idempotent: true call: docusign-contacts.contactsdeletecontactwithid with: accountId: tools.accountId contactId: tools.contactId outputParameters: - type: object mapping: $.