all-about-apikey/Cloud Storage - File Sharing/Box.md

719 B

Box

Description

File Sharing and Storage

Example Request

  • Curl
curl -X GET "https://api.box.com/2.0/collections" -H "Authorization: Bearer {{token}}"
  • Raw
GET /2.0/collections HTTP/1.1
Host: api.box.com
Authorization: Bearer {{token}}

Response

  • Success
{
    "total_count":1,
    "limit":100,
    "offset":0,
    "entries":[{
            "type":"collection",
            "name":"Favorites",
            "collection_type":
            "favorites",
            "id":"8830329105"
        }
    ]
}
  • Error

No output if error

Regex

[a-zA-Z0-9]{32}

Example API key

OF3ab02f3cD12lDOfxc3foSg129sD241