API vs WOPI
You can integrate ONLYOFFICE Docs with any cloud service using either API or WOPI.
The table below will help you find out the difference between these options.
| API | WOPI | |
|---|---|---|
| General info | API | WOPI |
| Integration | Ready-to-use connectors | WOPI connector |
| Collaboration (modes) | Real-time and paragraph-locking | Real-time only |
| Customization | ||
| Editor interface language | Yes | Yes |
| Editor interface theme | Yes | Yes |
| Disabling chat | Yes | Yes |
| Customer info in About | Yes | Yes |
| Toolbar customization and branding | Yes | No |
| File templates | Yes | No |
| Recent files list | Yes | No |
| Plugins | Yes | No |
| Security | ||
| IP filter (trusted integrators) | Yes | Yes |
| Restricting access to server | JWT-based | No |
| Restricting access to data | JWT signature | Proof keys |
| Basic actions | Viewing, editing, co-editing, mobile viewing and editing, embedded documents viewing | Viewing, editing, and co-editing |
| Actions through method calls | ||
| Download in a different format | Yes | No |
| Setting Favorite status | Yes | No |
| Displaying tooltip message | Yes | No |
| Actions through event handling | ||
| Closing the editor | Yes | Yes |
| Going to a file folder | Yes | Yes |
| Switching to editing mode | Yes | Yes |
| Renaming a file | Yes | Yes |
| Sharing access settings | Yes | Yes |
| Document version history | Yes | Yes |
| Inserting images from storage | Yes | Yes |
| Save as different format | Yes | Yes |
| Mail merging | Yes | No |
| Document comparison | Yes | No |
| Getting action link | Yes | No |
| Mentioning users | Yes | No |
| Creating a new file | Yes | No |
| File lock | Status callback | Lock, Refresh lock, Unlock |
| File access rights | ||
| Viewing | Yes | Yes |
| Editing | Yes | Yes |
| Reviewing (documents only) | Yes | Yes |
| Commenting | Yes | Yes |
| Filling forms (forms only) | Yes | No |
| Modifying content controls (documents only) | Yes | No |
| Modifying filters (spreadsheets only) | Yes | No |
| Copying to clipboard | Yes | No |
| Downloading | Yes | No |
| Printing | Yes | Yes |
| Renaming | No | Yes |