> [!WARNING]
>
> **Preview**
>
>
> This product or feature is
>
> subject to the "Pre-GA Offerings Terms" in the General Service Terms section
> of the [Service Specific
> Terms](https://docs.cloud.google.com/terms/service-terms#1).
>
> Pre-GA products and features are available "as is" and might have limited support.
>
> For more information, see the
> [launch stage descriptions](https://cloud.google.com/products/#product-launch-stages).

- [HTTP request](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.appsScriptProjects/create#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.appsScriptProjects/create#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.appsScriptProjects/create#body.request_body)
  - [JSON representation](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.appsScriptProjects/create#body.request_body.SCHEMA_REPRESENTATION)
- [Response body](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.appsScriptProjects/create#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.appsScriptProjects/create#body.CreateAppsScriptProjectResponse.SCHEMA_REPRESENTATION)
- [Authorization Scopes](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.appsScriptProjects/create#body.aspect)

Creates an Apps Script project.

### HTTP request

`POST https://https://docs.cloud.google.com/application-integration/docs/reference/rest#integrations.googleapis.com.endpoints-integrations.googleapis.com/v1/{parent=projects/*/locations/*}/appsScriptProjects`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The project that the executed integration belongs to. |

### Request body

The request body contains data with the following structure:

| JSON representation |
|---|
| ``` { "appsScriptProject": string, "authConfigId": string } ``` |

| Fields ||
|---|---|
| `appsScriptProject` | `string` The name of the Apps Script project to be created. |
| `authConfigId` | `string` The auth config id necessary to fetch the necessary credentials to create the project for external clients |

### Response body

If successful, the response body contains data with the following structure:
Response for appsScriptProjects.create rpc call.

| JSON representation |
|---|
| ``` { "projectId": string } ``` |

| Fields ||
|---|---|
| `projectId` | `string` The created AppsScriptProject ID. |

### Authorization Scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).