Docusign · Capability

DocuSign REST API — AccountCustomFields

DocuSign REST API — AccountCustomFields. 4 operations. Lead operation: Docusign Gets a list of custom fields associated with the account.. Self-contained Naftiko capability covering one Docusign business surface.

Run with Naftiko DocusignAccountCustomFields

What You Can Do

GET
Accountcustomfieldsgetaccountcustomfields — Docusign Gets a list of custom fields associated with the account.
/v1/v2/accounts/{accountid}/custom-fields
POST
Accountcustomfieldspostaccountcustomfields — Docusign Creates an acount custom field.
/v1/v2/accounts/{accountid}/custom-fields
PUT
Accountcustomfieldsputaccountcustomfields — Docusign Updates an existing account custom field.
/v1/v2/accounts/{accountid}/custom-fields/{customfieldid}
DELETE
Accountcustomfieldsdeleteaccountcustomfields — Docusign Delete an existing account custom field.
/v1/v2/accounts/{accountid}/custom-fields/{customfieldid}

MCP Tools

docusign-gets-list-custom-fields

Docusign Gets a list of custom fields associated with the account.

read-only idempotent
docusign-creates-acount-custom-field

Docusign Creates an acount custom field.

docusign-updates-existing-account-custom

Docusign Updates an existing account custom field.

idempotent
docusign-delete-existing-account-custom

Docusign Delete an existing account custom field.

idempotent

Capability Spec

docusign-accountcustomfields.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DocuSign REST API — AccountCustomFields
  description: 'DocuSign REST API — AccountCustomFields. 4 operations. Lead operation: Docusign Gets a list of custom fields
    associated with the account.. Self-contained Naftiko capability covering one Docusign business surface.'
  tags:
  - Docusign
  - AccountCustomFields
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DOCUSIGN_API_KEY: DOCUSIGN_API_KEY
capability:
  consumes:
  - type: http
    namespace: docusign-accountcustomfields
    baseUri: https://www.docusign.net/restapi
    description: DocuSign REST API — AccountCustomFields business capability. Self-contained, no shared references.
    resources:
    - name: v2-accounts-accountId-custom_fields
      path: /v2/accounts/{accountId}/custom_fields
      operations:
      - name: accountcustomfieldsgetaccountcustomfields
        method: GET
        description: Docusign Gets a list of custom fields 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: accountcustomfieldspostaccountcustomfields
        method: POST
        description: Docusign Creates an acount custom field.
        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: apply_to_templates
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v2-accounts-accountId-custom_fields-customFieldId
      path: /v2/accounts/{accountId}/custom_fields/{customFieldId}
      operations:
      - name: accountcustomfieldsputaccountcustomfields
        method: PUT
        description: Docusign Updates an existing account custom field.
        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: customFieldId
          in: path
          type: string
          required: true
        - name: apply_to_templates
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: accountcustomfieldsdeleteaccountcustomfields
        method: DELETE
        description: Docusign Delete an existing account custom field.
        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: customFieldId
          in: path
          type: string
          required: true
        - name: apply_to_templates
          in: query
          type: string
  exposes:
  - type: rest
    namespace: docusign-accountcustomfields-rest
    port: 8080
    description: REST adapter for DocuSign REST API — AccountCustomFields. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/accounts/{accountid}/custom-fields
      name: v2-accounts-accountid-custom-fields
      description: REST surface for v2-accounts-accountId-custom_fields.
      operations:
      - method: GET
        name: accountcustomfieldsgetaccountcustomfields
        description: Docusign Gets a list of custom fields associated with the account.
        call: docusign-accountcustomfields.accountcustomfieldsgetaccountcustomfields
        with:
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: accountcustomfieldspostaccountcustomfields
        description: Docusign Creates an acount custom field.
        call: docusign-accountcustomfields.accountcustomfieldspostaccountcustomfields
        with:
          accountId: rest.accountId
          apply_to_templates: rest.apply_to_templates
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/accounts/{accountid}/custom-fields/{customfieldid}
      name: v2-accounts-accountid-custom-fields-customfieldid
      description: REST surface for v2-accounts-accountId-custom_fields-customFieldId.
      operations:
      - method: PUT
        name: accountcustomfieldsputaccountcustomfields
        description: Docusign Updates an existing account custom field.
        call: docusign-accountcustomfields.accountcustomfieldsputaccountcustomfields
        with:
          accountId: rest.accountId
          customFieldId: rest.customFieldId
          apply_to_templates: rest.apply_to_templates
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: accountcustomfieldsdeleteaccountcustomfields
        description: Docusign Delete an existing account custom field.
        call: docusign-accountcustomfields.accountcustomfieldsdeleteaccountcustomfields
        with:
          accountId: rest.accountId
          customFieldId: rest.customFieldId
          apply_to_templates: rest.apply_to_templates
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: docusign-accountcustomfields-mcp
    port: 9090
    transport: http
    description: MCP adapter for DocuSign REST API — AccountCustomFields. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: docusign-gets-list-custom-fields
      description: Docusign Gets a list of custom fields associated with the account.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: docusign-accountcustomfields.accountcustomfieldsgetaccountcustomfields
      with:
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.
    - name: docusign-creates-acount-custom-field
      description: Docusign Creates an acount custom field.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: docusign-accountcustomfields.accountcustomfieldspostaccountcustomfields
      with:
        accountId: tools.accountId
        apply_to_templates: tools.apply_to_templates
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: docusign-updates-existing-account-custom
      description: Docusign Updates an existing account custom field.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: docusign-accountcustomfields.accountcustomfieldsputaccountcustomfields
      with:
        accountId: tools.accountId
        customFieldId: tools.customFieldId
        apply_to_templates: tools.apply_to_templates
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: docusign-delete-existing-account-custom
      description: Docusign Delete an existing account custom field.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: docusign-accountcustomfields.accountcustomfieldsdeleteaccountcustomfields
      with:
        accountId: tools.accountId
        customFieldId: tools.customFieldId
        apply_to_templates: tools.apply_to_templates
      outputParameters:
      - type: object
        mapping: $.