Box Developer Documentation

Terms of service

The root-level record that is supposed to represent a single Terms of Service.

This resource has a few variations that can be encountered when using the API.

The fields that are part of the standard variant are generally returned when the resource is requested via its own API endpoints. For example, when retrieving a file by ID, it will return these fields unless the fields parameter has been specified.

string
11446498

The unique identifier for this terms of service.

string
terms_of_service

terms_of_service

Value is always terms_of_service

string (date-time)
2012-12-12T10:53:43-08:00

When the legal item was created

object

The enterprise these terms apply to

11446498

The unique identifier for this enterprise.

enterprise

enterprise

Value is always enterprise

Acme Inc.

The name of the enterprise

string (date-time)
2012-12-12T10:53:43-08:00

When the legal item was modified.

string
enabled

Whether these terms are enabled or not

Value is one of enabled,disabled

string
By using this service, you agree to ...

The text for your terms and conditions. This text could be empty if the status is set to disabled.

string
managed

Whether to apply these terms to managed users or external users

Value is one of managed,external

Response Example

{
  "id": "11446498",
  "type": "terms_of_service",
  "created_at": "2012-12-12T10:53:43-08:00",
  "enterprise": {
    "id": "11446498",
    "type": "enterprise",
    "name": "Acme Inc."
  },
  "modified_at": "2012-12-12T10:53:43-08:00",
  "status": "enabled",
  "text": "By using this service, you agree to ...",
  "tos_type": "managed"
}