Skip to main content
Code42 Support

Code42 API resources supporting CORS

Available in:

Small Business
Applies to:


The Code42 API supports cross-origin resource sharing (CORS), facilitating the creation of powerful web or browser-based solutions in complex domain environments. This article explains what CORS is, why it is useful, and which resources support CORS.

CORS and the Code42 API

Cross-origin resource sharing (CORS) allows a web page or browser-based app to request resources from a domain outside of its host domain. With CORS, it doesn't matter where your Code42 servers reside: your web app will be able to leverage the API endpoints just as if the servers reside at the app's home domain.

Using Code42 API resources that support CORS requires no additional work. Cross-domain requests work without any extra effort or coding.

Use case

Your environment is configured like this:

  • You have an authority server in the domain
  • You have a storage server in the domain
  • Your web server is running the domain

With CORS, the web app you develop (which runs on a server in the domain) that calls the Code42 API on servers running on the domains and will not be blocked by the default security settings of your users' browsers.

Code42 API resources that support CORS

  • AddressBookEntry
  • AuthToken
  • Cli
  • File
  • FileInfo
  • FileVersions
  • MasterLicense
  • NetworkTest
  • Ping
  • Plan
  • PlanArchiveSession
  • PlanDataKeyToken
  • PlanEvent
  • PlanSettings
  • PlanUser
  • PlanUserEviction
  • PlanUserInvitation
  • ProductLicense
  • QuickShare (Versions earlier than 6.5 only)
  • Role
  • SsoFederation
  • SsoIdentityProvider
  • SsoMetadata
  • Storage
  • StorageAuthToken
  • User
  • UserRole

Read descriptions of these and other Code42 API resources using the API Documentation Viewer.

External resources


  • Was this article helpful?