Terms of service

List terms of services

Changed on

Returns the current terms of service text and settings for the enterprise.

get/terms_of_services

Request

  • Base URL
    https://api.box.com/2.0
  • URL
    https://api.box.com/2.0/terms_of_services
  • Auth
    OAuth 2
    Authorization code: https://account.box.com/api/oauth2/authorize
    Token URL: https://api.box.com/oauth2/token

Query parameters

tos_type'external' | 'managed'

Limits the results to the terms of service of the given type.

Response

Returns a collection of terms of service text and settings for the enterprise.

total_countinteger

The total number of objects.

Example response

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

Changes

    • warning

      added the new unprocessable_entity enum value to the response property for the response status