Docusign · Capability

DocuSign Rooms API - v2 — Regions

DocuSign Rooms API - v2 — Regions. 5 operations. Lead operation: Docusign Gets regions.. Self-contained Naftiko capability covering one Docusign business surface.

Run with Naftiko DocusignRegions

What You Can Do

GET
Regionsgetregions — Docusign Gets regions.
/v1/v2/accounts/{accountid}/regions
POST
Regionscreateregion — Docusign Creates a region.
/v1/v2/accounts/{accountid}/regions
GET
Regionsgetregion — Docusign Gets information about a region.
/v1/v2/accounts/{accountid}/regions/{regionid}
DELETE
Regionsdeleteregion — Docusign Deletes a region.
/v1/v2/accounts/{accountid}/regions/{regionid}
GET
Regionsgetregionreferencecounts — Docusign Retrieves the number and type of objects that reference a region.
/v1/v2/accounts/{accountid}/regions/{regionid}/reference-counts

MCP Tools

docusign-gets-regions

Docusign Gets regions.

read-only idempotent
docusign-creates-region

Docusign Creates a region.

docusign-gets-information-about-region

Docusign Gets information about a region.

read-only idempotent
docusign-deletes-region

Docusign Deletes a region.

idempotent
docusign-retrieves-number-and-type

Docusign Retrieves the number and type of objects that reference a region.

read-only idempotent

Capability Spec

rooms-regions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DocuSign Rooms API - v2 — Regions
  description: 'DocuSign Rooms API - v2 — Regions. 5 operations. Lead operation: Docusign Gets regions.. Self-contained Naftiko
    capability covering one Docusign business surface.'
  tags:
  - Docusign
  - Regions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DOCUSIGN_API_KEY: DOCUSIGN_API_KEY
capability:
  consumes:
  - type: http
    namespace: rooms-regions
    baseUri: https://rooms.docusign.com/restapi
    description: DocuSign Rooms API - v2 — Regions business capability. Self-contained, no shared references.
    resources:
    - name: v2-accounts-accountId-regions
      path: /v2/accounts/{accountId}/regions
      operations:
      - name: regionsgetregions
        method: GET
        description: Docusign Gets regions.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: count
          in: query
          type: integer
          description: The number of results to return. This value must be a number between `1` and `100` (default).
        - name: startPosition
          in: query
          type: integer
          description: The starting zero-based index position of the results set from which to begin returning values. The
            default value is `0`.
        - name: managedOnly
          in: query
          type: boolean
          description: When **true,** only the regions that the current user manages are returned. The default value is **false.**
        - name: accountId
          in: path
          type: string
          description: The globally unique identifier (GUID) for the account.
          required: true
      - name: regionscreateregion
        method: POST
        description: Docusign Creates a region.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountId
          in: path
          type: string
          description: The globally unique identifier (GUID) for the account.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v2-accounts-accountId-regions-regionId
      path: /v2/accounts/{accountId}/regions/{regionId}
      operations:
      - name: regionsgetregion
        method: GET
        description: Docusign Gets information about a region.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: regionId
          in: path
          type: integer
          description: The ID of the region.
          required: true
        - name: accountId
          in: path
          type: string
          description: The globally unique identifier (GUID) for the account.
          required: true
      - name: regionsdeleteregion
        method: DELETE
        description: Docusign Deletes a region.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: regionId
          in: path
          type: integer
          description: The ID of the region.
          required: true
        - name: accountId
          in: path
          type: string
          description: The globally unique identifier (GUID) for the account.
          required: true
    - name: v2-accounts-accountId-regions-regionId-reference_counts
      path: /v2/accounts/{accountId}/regions/{regionId}/reference_counts
      operations:
      - name: regionsgetregionreferencecounts
        method: GET
        description: Docusign Retrieves the number and type of objects that reference a region.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: regionId
          in: path
          type: integer
          description: The ID of the region.
          required: true
        - name: accountId
          in: path
          type: string
          description: The globally unique identifier (GUID) for the account.
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.DOCUSIGN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: rooms-regions-rest
    port: 8080
    description: REST adapter for DocuSign Rooms API - v2 — Regions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/accounts/{accountid}/regions
      name: v2-accounts-accountid-regions
      description: REST surface for v2-accounts-accountId-regions.
      operations:
      - method: GET
        name: regionsgetregions
        description: Docusign Gets regions.
        call: rooms-regions.regionsgetregions
        with:
          count: rest.count
          startPosition: rest.startPosition
          managedOnly: rest.managedOnly
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: regionscreateregion
        description: Docusign Creates a region.
        call: rooms-regions.regionscreateregion
        with:
          accountId: rest.accountId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/accounts/{accountid}/regions/{regionid}
      name: v2-accounts-accountid-regions-regionid
      description: REST surface for v2-accounts-accountId-regions-regionId.
      operations:
      - method: GET
        name: regionsgetregion
        description: Docusign Gets information about a region.
        call: rooms-regions.regionsgetregion
        with:
          regionId: rest.regionId
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: regionsdeleteregion
        description: Docusign Deletes a region.
        call: rooms-regions.regionsdeleteregion
        with:
          regionId: rest.regionId
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/accounts/{accountid}/regions/{regionid}/reference-counts
      name: v2-accounts-accountid-regions-regionid-reference-counts
      description: REST surface for v2-accounts-accountId-regions-regionId-reference_counts.
      operations:
      - method: GET
        name: regionsgetregionreferencecounts
        description: Docusign Retrieves the number and type of objects that reference a region.
        call: rooms-regions.regionsgetregionreferencecounts
        with:
          regionId: rest.regionId
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rooms-regions-mcp
    port: 9090
    transport: http
    description: MCP adapter for DocuSign Rooms API - v2 — Regions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: docusign-gets-regions
      description: Docusign Gets regions.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rooms-regions.regionsgetregions
      with:
        count: tools.count
        startPosition: tools.startPosition
        managedOnly: tools.managedOnly
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.
    - name: docusign-creates-region
      description: Docusign Creates a region.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rooms-regions.regionscreateregion
      with:
        accountId: tools.accountId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: docusign-gets-information-about-region
      description: Docusign Gets information about a region.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rooms-regions.regionsgetregion
      with:
        regionId: tools.regionId
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.
    - name: docusign-deletes-region
      description: Docusign Deletes a region.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: rooms-regions.regionsdeleteregion
      with:
        regionId: tools.regionId
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.
    - name: docusign-retrieves-number-and-type
      description: Docusign Retrieves the number and type of objects that reference a region.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rooms-regions.regionsgetregionreferencecounts
      with:
        regionId: tools.regionId
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.