• Sign up
  • Documentation
  • Developer Guides
  • API Reference
  • Sample Code Catalog
  • SDKs & Tools
  • Support
  • Developer Changelog
  • Support
  • Community Forum
  • Changelog
  • Additional Resources
  • Blog
  • International sites
  • United States (English)
  • 日本 (日本語)
Box Developer Documentation
  • United States (English)
  • 日本 (日本語)
  • Documentation
    DocumentationDeveloper GuidesAPI ReferenceSDKs & ToolsSample Code Catalog
    Additional resourcesBox Developer Blog
    FeaturedSample Code CatalogFind useful scripts, app examples, and inspiring use cases! Browse 80+ open-source repositories in various programming languages.
    Browse sample code
  • Community
  • Developer Changelog
  • UnreadSep 18th, 2023

    Box CLI v3.12.0 released

    Featurecli
  • UnreadSep 14th, 2023

    Box Java SDK v4.5.0 released

    Featuresdksjava
  • UnreadSep 14th, 2023

    Box Python SDK v3.9.1 released

    sdkspython
Log in
API Calls
Types & Formats Status Codes Request Extra Fields Sorting Responses Ensure Consistency Allowing Domain Access Suppress Notifications Language Codes
Pagination
Offset-based Pagination Marker-based Pagination
Permissions & Errors
Errors Rate Limits Scopes Token & URL Expiration App Diagnostics Report

Token & URL Expiration

Guides API Calls Permissions & Errors Token & URL Expiration
Edit this page

Token & URL Expiration

Across the Box API there are a few tokens, codes, and URLs that automatically expire. The following is a quick overview of their respective expiration times.

Authorization CodesExpires after 30 seconds
Access Tokensexpires after 60 minutes
Refresh TokensExpires after 60 days or 1 use
Download URLsExpires after 15 minutes

See each respective guide for more details.

  • Box & Community
  • About Us
  • Platform Twitter
  • Developer Blog
  • Developer Newsletter
  • Changelog
  • GitHub
  • Community GitHub
  • Tooling
  • Node SDK
  • Java SDK
  • Python SDK
  • .NET SDK
  • iOS Content SDK
  • Box CLI
  • Box Skills Kit
  • Samples
  • Platform Samples
  • Skills Samples
  • Support
  • Support & Community
  • Create a ticket
  • Platform Forum
  • Product Feedback
  • API Status
  • International sites
  • United States (English)
  • 日本 (日本語)
  • ©2023 Box
  • Sitemap
  • Newsletter Unsubscribe
  • Terms of Use
  • Privacy Policy
  • Cookie Notification
  • Code samples provided under Unilicense