For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Migrate from Web Modeler to the Camunda Hub API

Learn how to migrate from Web Modeler API v1 to the new Camunda Hub API v2 to manage Camunda Hub resources.

Deprecation notice

Web Modeler API v1 is deprecated in Camunda 8.10 and will be removed in 8.12. Migrate to Camunda Hub API v2 before upgrading to 8.12.

About

Web Modeler API v1 was the REST API for Web Modeler, a standalone product for modeling and managing process diagrams. It exposed resources like projects, folders, files, and collaborators as they existed within Web Modeler.

Camunda Hub API v2 is the successor API for the broader Camunda Hub platform. Camunda Hub unifies organizational management, workspace governance, and process modeling into a single platform. As a result, the conceptual model and architecture of the API have changed.

General changes

The following sections cover changes that apply across the entire API, regardless of which resource you're working with. Review these before making any endpoint-specific changes.

Base URLs

The base URL has changed for both SaaS and Self-Managed deployments. Update any hardcoded URLs or environment variables in your integration.

EnvironmentWeb Modeler API v1Camunda Hub API v2
SaaShttps://modeler.cloud.camunda.io/api/v1https://hub.cloud.camunda.io/api/v2
Self-Managedhttp://localhost:8070/api/v1http://localhost:8088/api/v2

Authentication

See the Camunda Hub API authentication guide for setup instructions.

Error responses

In v2, all error responses use the RFC 9457 ProblemDetail format with Content-Type: application/problem+json.

{
"type": "https://docs.camunda.io/api/v2.0/problem-types/bad-request",
"title": "Bad Request",
"status": 400,
"detail": "Request property [name] must not be blank",
"instance": "/v2/files"
}

Pagination

In v1, page specified the page to return, and size specified the number of items per page. In v2, page is an object supporting limit/offset pagination:

  • page.from specifies the offset, the item index to start searching from.
  • page.limit limits the number of items returned.

In v1, the default page size was 10. In v2, the default limit is 100.

Projects

In v1, projects were the top-level container for files and folders. In v2, workspaces are a new organizational level above projects. Files still belong to projects, which now live inside a workspace. You can read more in the Camunda Hub workspace documentation.

Key fields

In v1, resources were identified by Id fields. In v2, resources are identified by Key fields. For example, folderId is now folderKey.

Revisions

Update operations in v2 require a revision field. Fetch the current revision from a get or create response and include it in your update request to prevent overwriting concurrent changes.

Files API

The files API in v2 renames fields and includes minor implementation changes in every endpoint.

Endpoint mapping

All v1 files endpoints have a direct v2 equivalent:

OperationWeb Modeler API v1Camunda Hub API v2
Create a filePOST /v1/filesPOST /v2/files
Get a fileGET /v1/files/{fileId}GET /v2/files/{fileKey}
Update a filePATCH /v1/files/{fileId}PATCH /v2/files/{fileKey}
Delete a fileDELETE /v1/files/{fileId}DELETE /v2/files/{fileKey}
Search filesPOST /v1/files/searchPOST /v2/files/search

Create a file

Web Modeler API v1Camunda Hub API v2Notes
projectIdprojectKeyRenamed and now required. This refers to a project within a Camunda Hub workspace.
folderIdfolderKeyRenamed.
fileTypetypeRenamed. connector_template is no longer supported. element_template is now element-template.

Get a file

The v1 response returned a nested structure, with metadata and content as separate top-level fields. The v2 response is a flat object.

Update a file

Web Modeler API v1Camunda Hub API v2Notes
folderIdfolderKeyRenamed.
projectIdprojectKeyRenamed. Use to move files between projects within a Camunda Hub workspace.
revisionrevisionNow required.

Search files

Web Modeler API v1Camunda Hub API v2Notes
filterfilterNow supports advanced operators, including $eq, $in, and $like.
total (response)page.totalItems (response)Moved into the page response object.

content is null on all items in the search response. Fetch individual files to retrieve content.

File response fields

Only changed fields are listed:

v1 fieldv2 fieldNotes
idfileKeyRenamed.
projectIdprojectKeyRenamed.
folderIdfolderKeyRenamed.
canonicalPathcanonicalPathIn v1, canonicalPath was an object. In v2, it's a string.