API Reference
Complete reference for WebPal's programmatic interfaces: XML Web Service API, REST API, and WebDAV protocol.
WebPal provides several programmatic interfaces for integration with external systems. Choose the API that best fits your use case:
XML Web Service API
A legacy but fully-featured XML-over-HTTP API with 60+ commands for complete control over documents, folders, users, and sharing.
REST API
A modern JSON REST API with Sanctum token authentication, ideal for web and mobile applications.
WebDAV API
Standard filesystem-over-HTTP protocol compatible with any WebDAV client, enabling file sync and mounting as a network drive.
Choosing an API
| Use Case | Recommended API |
|---|---|
| Web or mobile application | REST API |
| Legacy integration or advanced automation | XML Web Service API |
| File synchronization or network drive mounting | WebDAV API |
| Desktop file browser integration | WebDAV API |
Authentication Overview
Each API has its own authentication method:
- XML Web Service API — Session-based authentication via
logincommand - REST API — Sanctum token authentication or cookie-based session
- WebDAV — HTTP Basic authentication with username and password
For detailed authentication instructions, refer to each API's documentation page.