Try with Swagger
The Orchestration Cluster REST API is documented using the OpenAPI specification. You can explore, test, and interact with all API endpoints directly using Swagger UI - an interactive documentation interface.
Use Swagger UI to:
- Explore available endpoints - Browse all REST API operations with detailed parameter descriptions
- Test API calls interactively - Execute real API requests directly from your browser
- Understand request/response formats - See example payloads and response schemas
- Authenticate and authorise - Test with your actual credentials in a secure environment
Swagger UI is particularly useful for API discovery, development, and testing workflows before integrating the API into your applications.
Prerequisites
Before using Swagger UI, ensure you have:
- A running Camunda 8 Orchestration Cluster: SaaS or Self-Managed
- Appropriate access permissions (if authentication is enabled)
Accessing Swagger UI
SaaS
For SaaS clusters, Swagger UI is accessible through your cluster's dedicated endpoint.
- In the Camunda Console, go to your cluster
- In Cluster Details, find your Region ID and Cluster ID
- Use this URL format:
https://${REGION_ID}.zeebe.camunda.io/${CLUSTER_ID}/swagger-ui/index.html
Example:
If your Region ID is bru-2
and Cluster ID is abc123-def456-ghi789
, your Swagger UI URL would be:
https://bru-2.zeebe.camunda.io/abc123-def456-ghi789/swagger-ui/index.html
Self-Managed
For Self-Managed deployments, Swagger UI is available at your configured Zeebe Gateway endpoint.
Default setup:
http://localhost:8080/swagger-ui/index.html
Custom configuration:
Use the host and path defined in your Zeebe Gateway configuration, then append /swagger-ui/index.html
.
Example with custom domain:
https://your-zeebe-gateway.company.com/swagger-ui/index.html
Authentication in Swagger UI
Swagger UI supports the same authentication methods as the REST API. Choose the method that matches your deployment:
Automatic authentication
- Session-based authentication: If you're already logged into Camunda (for example, through Operate), Swagger UI automatically authenticates you using your session cookie
Manual authentication
Click the Authorize button in Swagger UI to manually configure authentication:
Bearer Token (Recommended for production)
- Click Authorize in Swagger UI
- In the Bearer section, enter your JWT access token
- Click Authorize to apply
To obtain a Bearer token:
- SaaS: Follow the OIDC Access Token Authentication guide for SaaS
- Self-Managed: Follow the OIDC Access Token Authentication guide for Self-Managed
Basic Authentication
- Click Authorize in Swagger UI
- In the Basic section, enter your username and password
- Click Authorize to apply
Note: Basic Authentication is only available for Self-Managed deployments and is not recommended for production.
For detailed authentication setup instructions, see the Authentication guide.
Using Swagger UI effectively
Making your first API call
- Test connectivity: Try the
GET /topology
endpoint to verify your connection and authentication - Explore endpoints: Browse the available operations organized by category (processes, user tasks, variables, etc.)
- Try sample requests: Click "Try it out" on any endpoint to see the request form
- Execute requests: Fill in parameters and click "Execute" to see real responses
Understanding the interface
- Endpoints are grouped by resource type - Find process-related operations under "Process Instances", task operations under "User Tasks", etc.
- Required parameters are marked - Look for the red asterisk (*) next to required fields
- Example values are provided - Use the "Example Value" links to populate request bodies quickly
- Response schemas are documented - Expand the response sections to understand the data structure
Testing workflows
Use Swagger UI to test complete workflows:
- Deploy a process - Use
POST /deployments
to upload a BPMN file - Start a process instance - Use
POST /process-instances
with your process definition - Query and manage - Use search endpoints to find and interact with your data
- Complete tasks - Use
POST /user-tasks/{userTaskKey}/completion
to progress workflows
Managing Swagger UI availability
SaaS
Control Swagger UI access through the Camunda Console:
- Navigate to your cluster in the Camunda Console
- Go to Cluster Settings
- Toggle Enable Swagger on or off
- Changes apply automatically to your orchestration cluster
Self-Managed
Configure Swagger UI availability using environment variables:
Enable Swagger UI (default):
CAMUNDA_REST_SWAGGER_ENABLED=true
Disable Swagger UI:
CAMUNDA_REST_SWAGGER_ENABLED=false
Alternative property format:
camunda:
rest:
swagger:
enabled: true
Security consideration: In production environments, consider disabling Swagger UI and using it only in development environments.
Next steps
After exploring the API with Swagger UI:
- Build production integrations using the Java client or Spring SDK
- Review the complete API reference in the Overview
- Set up proper authentication following the Authentication guide
- Learn advanced querying with Data Fetching and Search
- Download the OpenAPI specification for custom client generation
Need help? Try the Getting Started Tutorial for a complete workflow walkthrough, or browse the Postman collection for additional examples.