Try with Swagger
The Orchestration Cluster REST API is documented using the OpenAPI specification.
You can review and try the REST API endpoints directly with Swagger UI.
Authentication
The REST API supports multiple authentication methods:
- If you're logged in to Camunda (for example, through Operate), Swagger UI automatically authenticates you with a session cookie.
- You can also authenticate manually in Swagger UI using the Authorize button:
- Bearer token: Provide a JWT token.
- Basic authentication: Provide username and password credentials (for Self-Managed deployments).
Accessing Swagger UI
SaaS
Swagger UI can be accessed from a running orchestration cluster.
- In the Camunda Console, go to your cluster.
- In Cluster Details, find your Region ID and Cluster ID.
- Use the following URL pattern as your
${BASE_URL}
:
https://${REGION_ID}.zeebe.camunda.io/${CLUSTER_ID}/
- Append the suffix:
/swagger-ui/index.html
Example:
https://${REGION_ID}.zeebe.camunda.io/${CLUSTER_ID}/swagger-ui/index.html
Self-Managed
Use the host and path defined in your Zeebe Gateway configuration.
- Default
${BASE_URL}
:http://localhost:8080/
- Append the suffix:
/swagger-ui/index.html
Example:
http://localhost:8080/swagger-ui/index.html
Enabling or disabling Swagger UI
By default, Swagger UI is enabled for both SaaS and Self-Managed deployments.
SaaS
You can enable or disable Swagger through the Camunda Console:
- Navigate to your cluster in the Camunda Console.
- Go to Cluster Settings.
- Toggle Enable Swagger on or off.
- Changes are applied automatically to your orchestration cluster.
Self-Managed
In Self-Managed deployments, Swagger UI is controlled with the environment variable:
camunda.rest.swagger.enabled
orCAMUNDA_REST_SWAGGER_ENABLED