> For the complete documentation index, see [llms.txt](https://documentation.virtuedeep.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.virtuedeep.tech/guides/using-the-public-apis/working-with-projects/create-a-project.md). Agents can also search and read this documentation through its [MCP server](https://documentation.virtuedeep.tech/~gitbook/mcp).

# Create a project

Learn about the Create endpoint in the Project collection.

This API lets you create a new project and define its data inputs.

## API request

### Sample

<mark style="color:green;">`POST`</mark> `{{ServerURL}}/api/services/app/Project/Create`

#### Body

```json
{
  "projectName": "Museum Digital Guide",
  "project_Domain_Id": 4,
  "project_Function_Id": 10,
  "project_Purpose": "General",
  "isRecurringUser": false,
  "productCalibrationStatus": true,
  "interactionSetups": [
    {
      "interaction_setup_id": 5,
      "interaction_mode": "diagnostics"
    },
    {
      "interaction_setup_id": 3,
      "interaction_mode": "diagnostics"
    },
    {
      "interaction_setup_id": 3,
      "interaction_mode": "user_calibration"
    },
    {
      "interaction_setup_id": 8,
      "interaction_mode": "user_calibration"
    }
  ]
}
```

### Parameters

| Parameter                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `projectName`              | Name of the project                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `project_Domain_Id`        | <p>Unique identifier of the project's domain.</p><p><strong>Note</strong>: Whether or not you need to enter the project domain ID depends on your user account;</p><ul><li>If you are working with a private solution, you might need to enter the project ID instead of the project domain ID.</li><li>On the other hand, if you are working with a public solution, you might need to enter the project domain and function ID.</li></ul><p>This parameter can have the following values:</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `project_Function_Id`      | <p>Unique identifier of the project's function based on the project's domain.</p><p><strong>Note</strong>: Whether or not you need to enter the project function ID depends on your user account;</p><ul><li>If you are working with a private solution, you might need to enter the project ID instead of the project domain ID.</li><li>On the other hand, if you are working with a public solution, you might need to enter the project domain and function ID.</li></ul><p>This parameter can have the following values:</p><ul><li>For <strong>No domain</strong> (when <code>project\_Domain\_Id</code> is <strong>-1</strong>)</li><li>For <strong>Security & Safety</strong> (when <code>project\_Domain\_Id</code> is <strong>2</strong>)</li><li>For <strong>Human wellbeing</strong> (when <code>project\_Domain\_Id</code> is <strong>3</strong>)</li><li>For <strong>Digital user experience</strong> (<code>project\_Domain\_Id is</code> <strong>4</strong>)</li></ul> |
| `duplicate_Project_Id`     | <p>Indicates whether the project was created by duplicating an existing one.<br><br>By default, the value of this parameter is <strong>null</strong>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `project_Purpose`          | <p>Purpose of the project.</p><p>This parameter can have the following values:</p><ul><li><strong>General</strong></li><li><strong>Data\_Collection</strong></li><li><strong>Simulation</strong></li><li><strong>Simulation\_bulk</strong><br><br>By default, the value of this parameter is <strong>General</strong>.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `relatesTo_Project_Id`     | <p>Unique identifier of another project to which the project is related.<br><br><strong>Note</strong>: When working with solutions that implement simulation, you can have two projects; one for raw data collection (RDC) and the other for running the simulation. In the simulation project, you can enter the project ID of the RDC project so that the results or data gathered in the RDC process can be used for the simulation.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `isRecurringUser`          | <p>Indicates whether the users will interact with Affective Computing (powered by Virtue) once or multiple times.<br><br>By default, the value of this parameter is <strong>false</strong>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `productCalibrationStatus` | Indicates whether the project is operating in product calibration mode.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `interactionSetups`        | <p>The data inputs you want to configure for the new project.<br><br>You must enter the following information for each data input:</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

## API response

### Sample

```json
{
    "result": {
        "projectName": "Museum Digital Guide",
        "duplicated_Project_Id": null,
        "duplicated_Project_Name": null,
        "project_Domain_Id": 4,
        "project_Function_Id": 10,
        "project_Domain_Name": null,
        "project_Function_Name": null,
        "productCalibrationStatus": true,
        "isRecurringUser": false,
        "project_Purpose": "General",
        "relatesTo_Project_Id": null,
        "project_Status": "draft",
        "id": 1234
    },
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}
```

### Attributes

| Attribute                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`                       | Unique identifier of the project                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `projectName`              | Name of the project                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `duplicated_Project_Id`    | <p>The ID of the original project from which the (current) project was cloned, if applicable.<br><br><strong>Note</strong>: This data is available only if the project was cloned (duplicated) from an existing one.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `duplicated_Project_Name`  | <p>The name of the original project from which the (current) project was cloned, if applicable.<br><br><strong>Note</strong>: This data is available only if the project was cloned (duplicated) from an existing one.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `project_Domain_Id`        | <p>Unique identifier of the project's domain.<br></p><p>This parameter can have the following values:</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `project_Function_Id`      | <p>Unique identifier of the project's function based on the project's domain.</p><p><strong>Note</strong>: Whether or not you need to enter the project function ID depends on your user account;</p><ul><li>If you are working with a private solution, you might need to enter the project ID instead of the project domain ID.</li><li>On the other hand, if you are working with a public solution, you might need to enter the project domain and function ID.</li></ul><p>This parameter can have the following values:</p><ul><li>For <strong>No domain</strong> (when <code>project\_Domain\_Id</code> is <strong>-1</strong>)</li><li>For <strong>Security & Safety</strong> (when <code>project\_Domain\_Id</code> is <strong>2</strong>)</li><li>For <strong>Human wellbeing</strong> (when <code>project\_Domain\_Id</code> is <strong>3</strong>)</li><li>For <strong>Digital user experience</strong> (<code>project\_Domain\_Id is</code> <strong>4</strong>)</li></ul> |
| `project_Domain_Name`      | Name of the project domain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `project_Function_Name`    | Name of the project function.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `productCalibrationStatus` | Indicates whether the project is operating in product calibration mode.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `isRecurringUser`          | Indicates whether the project's user will interact with Affective Computing (powered by Virtue) one or multiple times.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `project_Purpose`          | Purpose of the project.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `relatesTo_Project_Id`     | <p>Unique identifier of another project to which the (current) project is related.<br><br><strong>Note</strong>: A project can be linked with another one to enable the data collected by it in the other one too. This data is available in this attribute only if the project is linked to another one. For example, in simulation solutions, the RDC and simulation projects might be linked to facilitate using RDC data for the simulation.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `project_Status`           | Indicates whether the project is released to production.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |

***

### Related information

{% content-ref url="/pages/SuaNDZ93SYlQmXFjswQs" %}
[Understanding data inputs](https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-data-inputs.md)
{% endcontent-ref %}

{% content-ref url="/pages/uTAo5C3lOgAPQfkq7oBM" %}
[Viewing available data inputs (interaction setups)](https://documentation.virtuedeep.tech/guides/using-the-public-apis/viewing-available-data-inputs-interaction-setups.md)
{% endcontent-ref %}
