Box · Capability

Box Platform API — Domain Restrictions for Collaborations

Box Platform API — Domain Restrictions for Collaborations. 4 operations. Lead operation: Box List allowed collaboration domains. Self-contained Naftiko capability covering one Box business surface.

Run with Naftiko BoxDomain Restrictions for Collaborations

What You Can Do

GET
Getcollaborationwhitelistentries — Box List allowed collaboration domains
/v1/collaboration-whitelist-entries
POST
Postcollaborationwhitelistentries — Box Add domain to list of allowed collaboration domains
/v1/collaboration-whitelist-entries
GET
Getcollaborationwhitelistentriesid — Box Get allowed collaboration domain
/v1/collaboration-whitelist-entries/{collaboration-whitelist-entry-id}
DELETE
Deletecollaborationwhitelistentriesid — Box Remove domain from list of allowed collaboration domains
/v1/collaboration-whitelist-entries/{collaboration-whitelist-entry-id}

MCP Tools

box-list-allowed-collaboration-domains

Box List allowed collaboration domains

read-only idempotent
box-add-domain-list-allowed

Box Add domain to list of allowed collaboration domains

read-only
box-get-allowed-collaboration-domain

Box Get allowed collaboration domain

read-only idempotent
box-remove-domain-list-allowed

Box Remove domain from list of allowed collaboration domains

idempotent

Capability Spec

box-domain-restrictions-for-collaborations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Box Platform API — Domain Restrictions for Collaborations
  description: 'Box Platform API — Domain Restrictions for Collaborations. 4 operations. Lead operation: Box List allowed
    collaboration domains. Self-contained Naftiko capability covering one Box business surface.'
  tags:
  - Box
  - Domain Restrictions for Collaborations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BOX_API_KEY: BOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: box-domain-restrictions-for-collaborations
    baseUri: https://api.box.com/2.0
    description: Box Platform API — Domain Restrictions for Collaborations business capability. Self-contained, no shared
      references.
    resources:
    - name: collaboration_whitelist_entries
      path: /collaboration_whitelist_entries
      operations:
      - name: getcollaborationwhitelistentries
        method: GET
        description: Box List allowed collaboration domains
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: marker
          in: query
          type: string
          description: Defines the position marker at which to begin returning results. This is
        - name: limit
          in: query
          type: integer
          description: The maximum number of items to return per page.
      - name: postcollaborationwhitelistentries
        method: POST
        description: Box Add domain to list of allowed collaboration domains
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: collaboration_whitelist_entries-collaboration_whitelist_entry_id
      path: /collaboration_whitelist_entries/{collaboration_whitelist_entry_id}
      operations:
      - name: getcollaborationwhitelistentriesid
        method: GET
        description: Box Get allowed collaboration domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: collaboration_whitelist_entry_id
          in: path
          type: string
          description: The ID of the entry in the list.
          required: true
      - name: deletecollaborationwhitelistentriesid
        method: DELETE
        description: Box Remove domain from list of allowed collaboration domains
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: collaboration_whitelist_entry_id
          in: path
          type: string
          description: The ID of the entry in the list.
          required: true
    authentication:
      type: bearer
      token: '{{env.BOX_API_KEY}}'
  exposes:
  - type: rest
    namespace: box-domain-restrictions-for-collaborations-rest
    port: 8080
    description: REST adapter for Box Platform API — Domain Restrictions for Collaborations. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/collaboration-whitelist-entries
      name: collaboration-whitelist-entries
      description: REST surface for collaboration_whitelist_entries.
      operations:
      - method: GET
        name: getcollaborationwhitelistentries
        description: Box List allowed collaboration domains
        call: box-domain-restrictions-for-collaborations.getcollaborationwhitelistentries
        with:
          marker: rest.marker
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postcollaborationwhitelistentries
        description: Box Add domain to list of allowed collaboration domains
        call: box-domain-restrictions-for-collaborations.postcollaborationwhitelistentries
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/collaboration-whitelist-entries/{collaboration-whitelist-entry-id}
      name: collaboration-whitelist-entries-collaboration-whitelist-entry-id
      description: REST surface for collaboration_whitelist_entries-collaboration_whitelist_entry_id.
      operations:
      - method: GET
        name: getcollaborationwhitelistentriesid
        description: Box Get allowed collaboration domain
        call: box-domain-restrictions-for-collaborations.getcollaborationwhitelistentriesid
        with:
          collaboration_whitelist_entry_id: rest.collaboration_whitelist_entry_id
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecollaborationwhitelistentriesid
        description: Box Remove domain from list of allowed collaboration domains
        call: box-domain-restrictions-for-collaborations.deletecollaborationwhitelistentriesid
        with:
          collaboration_whitelist_entry_id: rest.collaboration_whitelist_entry_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: box-domain-restrictions-for-collaborations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Box Platform API — Domain Restrictions for Collaborations. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: box-list-allowed-collaboration-domains
      description: Box List allowed collaboration domains
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: box-domain-restrictions-for-collaborations.getcollaborationwhitelistentries
      with:
        marker: tools.marker
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: box-add-domain-list-allowed
      description: Box Add domain to list of allowed collaboration domains
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: box-domain-restrictions-for-collaborations.postcollaborationwhitelistentries
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: box-get-allowed-collaboration-domain
      description: Box Get allowed collaboration domain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: box-domain-restrictions-for-collaborations.getcollaborationwhitelistentriesid
      with:
        collaboration_whitelist_entry_id: tools.collaboration_whitelist_entry_id
      outputParameters:
      - type: object
        mapping: $.
    - name: box-remove-domain-list-allowed
      description: Box Remove domain from list of allowed collaboration domains
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: box-domain-restrictions-for-collaborations.deletecollaborationwhitelistentriesid
      with:
        collaboration_whitelist_entry_id: tools.collaboration_whitelist_entry_id
      outputParameters:
      - type: object
        mapping: $.