Introduction
Dokploy provides a powerful command-line interface (CLI) and comprehensive REST API that allows you to manage your applications, databases, and infrastructure programmatically. This enables automation, CI/CD integration, and advanced deployment workflows.Key Capabilities
Application Management
Deploy, update, and manage applications through code
Database Operations
Create and configure databases programmatically
Deployment Automation
Automate deployments with CI/CD pipelines
Infrastructure Control
Manage servers, containers, and resources via API
API Access
The Dokploy API is a RESTful API that provides complete control over your Dokploy instance. All operations available in the web interface can be performed through the API.API Endpoint
Your API is available at:Authentication
All API requests require authentication using an API token. You can generate API tokens from the Dokploy dashboard:- Navigate to Settings > API Tokens
- Click Generate New Token
- Copy and securely store your token
Making API Requests
Include your API token in theAuthorization header:
Use Cases
CI/CD Integration
Integrate Dokploy with your CI/CD pipeline to automatically deploy applications when code changes:GitHub Actions Example
Infrastructure as Code
Define your entire infrastructure in code and deploy it programmatically:Automated Backups
Schedule and automate database backups:API Documentation
For complete API reference documentation, including all available endpoints, request/response formats, and examples, see:API Reference
Complete REST API documentation with interactive examples
Getting Started
Next Steps
CLI Commands
Learn about available CLI commands and usage
Automation Guide
Build automated deployment workflows
API Reference
Explore the complete API documentation
Authentication
Learn about API authentication methods
Need help? Join our Discord community for support and examples.