> ## Documentation Index
> Fetch the complete documentation index at: https://developer.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Domain restrictions for collaborations resources

A set of endpoints that manage domains for which users can collaborate with files and folders in an enterprise.

## Allowed collaboration domain

An entry that describes an approved domain for which users can collaborate with files and folders in your enterprise or vice versa.

<Accordion title="Attributes and example">
  | Property     | Type           | Required | Description                                                                                                   |
  | ------------ | -------------- | -------- | ------------------------------------------------------------------------------------------------------------- |
  | `id`         | `string`       | No       | The unique identifier for this entry.                                                                         |
  | `type`       | `enum<string>` | No       | The value will always be `collaboration_whitelist_entry`. Available options: `collaboration_whitelist_entry`. |
  | `domain`     | `string`       | No       | The whitelisted domain.                                                                                       |
  | `direction`  | `enum<string>` | No       | The direction of the collaborations to allow. Available options: `inbound`, `outbound`, `both`.               |
  | `enterprise` | `object`       | No       | A representation of a Box enterprise.                                                                         |
  | `created_at` | `string`       | No       | The time the entry was created at.                                                                            |

  ```json Example theme={null}
  {
    "id": "11446498",
    "type": "collaboration_whitelist_entry",
    "domain": "example.com",
    "direction": "both",
    "enterprise": {
      "id": "11446498",
      "type": "enterprise",
      "name": "Acme Inc."
    },
    "created_at": "2012-12-12T10:53:43-08:00"
  }
  ```
</Accordion>

## Allowed collaboration domains

A list of allowed domains for collaboration.

<Accordion title="Attributes and example">
  | Property      | Type                                                                   | Required | Description                                                                                                                                                                            |
  | ------------- | ---------------------------------------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `limit`       | `integer`                                                              | No       | The limit that was used for these entries. This will be the same as the `limit` query parameter unless that value exceeded the maximum value allowed. The maximum value varies by API. |
  | `next_marker` | `string`                                                               | No       | The marker for the start of the next page of results. Can be `null`.                                                                                                                   |
  | `prev_marker` | `string`                                                               | No       | The marker for the start of the previous page of results. Can be `null`.                                                                                                               |
  | `entries`     | array of [Allowed collaboration domain](#allowed-collaboration-domain) | No       | A list of allowed collaboration domains.                                                                                                                                               |

  ```json Example theme={null}
  {
    "limit": 1000,
    "next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii",
    "prev_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVih",
    "entries": [
      {
        "id": "11446498",
        "type": "collaboration_whitelist_entry",
        "domain": "example.com",
        "direction": "both",
        "enterprise": {
          "id": "11446498",
          "type": "enterprise",
          "name": "Acme Inc."
        },
        "created_at": "2012-12-12T10:53:43-08:00"
      }
    ]
  }
  ```
</Accordion>
