API reference documentation

An add-in can use the Office JavaScript APIs to interact with objects in Office host applications.

  • Host-specific APIs provide strongly-typed objects that can be used to interact with objects that are native to a specific Office application.
  • Common APIs can be used to access features such as UI, dialogs, and client settings that are common across multiple types of Office applications.

You should use host-specific APIs whenever feasible, and use Common APIs only for scenarios that aren't supported by host-specific APIs. For more detailed information about these two API models, see Building Office Add-ins.

API reference

Note: There's currently no host-specific JavaScript API for Project; you'll use Common APIs to create Project add-ins. Additionally, the host-specific API for PowerPoint is very limited in scope; you'll mainly use Common APIs to create PowerPoint add-ins.