<-- Back

How to find the templateId to create an app using REST Projects API

Introduction

When creating a project utilizing the Projects API, one of the attributes within the schema is templateId. This attribute can be employed to specify the template that the new project will utilize. In the absence of this information, the most recent Blank Web App template will be used by default.

Schema:

{
  "name": "string",
  "summary": "string",
  "image": "string",
  "templateId": "string"
}

This article shows how to find the attribute templateId to use in the Project API call.

Environment

Not applicable

Instructions/Procedure

The information pertaining to the templateId can be located on the template's page within the Mendix Marketplace website.

To find the required information, follow the steps below:

  1. Go to the Mendix Marketplace website
  2. Search and click on the template
  3. Click on the Release tab
  4. Expand the desired release version to find the UUID information
  5. Use the UUID information in the templateId of the REST schema 
image (8).png

Outcome

Upon utilizing the UUID, the REST schema should resemble the following example, and your project will be established in accordance with the specified template.

{
  "name": "Test project",
  "summary": "string",
  "image": "string",
  "templateId": "920222eb-d445-4040-aebb-a846fd7b5d1b"
} 

Internal information related

  • CHQH0HJ8P/p1752487185781689

Additional information

Projects API | Mendix Documentation

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.