---
name: "Places"
last_updated: 2026-12-04T23:21:52Z
type: feature
api_base_url: "https://apis--roblox--com.github.com"
endpoints: 12
legacy_endpoints: 11
auth: [api-key, oauth2, cookie]
description: "Manage places, update instance properties, and publish place versions programmatically"
---

# Places

Manage places, update instance properties, and publish place versions programmatically. See the [Engine Instances Guide](/docs/en-us/cloud/guides/instance.md) and [Place Publishing Guide](/docs/en-us/cloud/guides/usage-place-publishing.md).

Common use cases include:

- Automated publishing: Publish place updates from CI/CD pipelines with version control and rollback support
- Instance management: [Read](#Cloud_GetInstance) and [update](#Cloud_UpdateInstance) Script, LocalScript, and ModuleScript objects in collaborative sessions
- Luau execution: [Run Luau scripts](#Cloud_CreateLuauExecutionSessionTask__Using_Universes) on specific place versions for testing or automation
- Version history: a place ID is also its asset ID, so [list a place's saved versions](/docs/en-us/cloud/reference/features/assets.md#Assets_ListAssetVersions) with the Assets API

**Base URL:** `https://apis--roblox--com.github.com`

## Authentication

Each endpoint requires one of the following authentication methods:

- **API Key**: Pass your key in the `x-api-key` HTTP header. Create keys at [Creator Dashboard](https://create--roblox--com.github.com/dashboard/credentials).
- **OAuth 2.0**: Use Bearer token in the `Authorization` header. Authorization URL: `https://apis--roblox--com.github.com/oauth/v1/authorize`, Token URL: `https://apis--roblox--com.github.com/oauth/v1/token`
- **Cookie** *(not recommended)*: `.ROBLOSECURITY` cookie. Do not use in production.

```
# API Key example
curl -H "x-api-key: YOUR_API_KEY" https://apis--roblox--com.github.com/...

# OAuth 2.0 example
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" https://apis--roblox--com.github.com/...
```

## Endpoint index

Every endpoint in this feature. Endpoints marked *(legacy page)* are deprecated, have a recommended replacement, are served from a legacy domain instead of the base URL, or accept only cookie authentication. They are documented on [Places (legacy)](/docs/cloud/reference/features/places-legacy.md).

- GET /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id} — Get Instance
- PATCH /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id} — Update Instance
- GET /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}:listChildren — List Instance Children
- GET /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}/operations/{operation_id} — Get Update Instance Operation
- GET /cloud/v2/universes/{universeId}/places/{placeId} — Get Place
- PATCH /cloud/v2/universes/{universeId}/places/{placeId} — Update Place
- GET /legacy-develop/v1/places/{placeId}/teamcreate/active_session/members — List of users in the active Team Create session
- DELETE /legacy-develop/v2/teamtest/{placeId} — Close a game instance that is being used for team testing
- GET /place-version-history-api/v1/{placeId}/contributors — Endpoint used to fetch all previous contributors of a place.
- GET /place-version-history-api/v1/{placeId}/history — Endpoint used to get place versions, using various filters
- POST /place-version-history-api/v1/{placeId}/version/{version}/notes — Endpoint used to modify the notes of a particular version for a place.
- POST /universes/v1/{universeId}/places/{placeId}/versions — Publish a Place
- GET games--roblox--com.github.com/v1/games/{placeId}/servers/{serverType} *(legacy page)*
- GET games--roblox--com.github.com/v1/games/multiget-place-details — Get place details *(legacy page)*
- POST develop--roblox--com.github.com/v1/places/{placeId} — Updates the place configuration for the place with the id placeId *(legacy page, use `PATCH https://develop--roblox--com.github.com/v2/places/{placeId}`)*
- PATCH develop--roblox--com.github.com/v1/places/{placeId} — Updates the place configuration for the place with the id placeId *(legacy page, use `PATCH https://develop--roblox--com.github.com/v2/places/{placeId}`)*
- GET develop--roblox--com.github.com/v1/places/{placeId}/teamcreate/active_session/members — List of users in the active Team Create session *(legacy page, use `GET https://apis--roblox--com.github.com/legacy-develop/v1/places/{placeId}/teamcreate/active_session/members`)*
- GET games--roblox--com.github.com/v1/public-server-browser-service/games/{placeId}/servers/{serverType} *(legacy page)*
- GET develop--roblox--com.github.com/v1/universes/{universeId}/places — Gets a list of places for a universe. *(legacy page)*
- GET games--roblox--com.github.com/v2/games/{placeId}/servers/{serverType} *(legacy page)*
- GET develop--roblox--com.github.com/v2/places/{placeId} — Gets the place configuration for the place with the id placeId *(legacy page)*
- PATCH develop--roblox--com.github.com/v2/places/{placeId} — Updates the place configuration for the place with the id placeId *(legacy page)*
- DELETE develop--roblox--com.github.com/v2/teamtest/{placeId} — Close a game instance that is being used for team testing *(legacy page, use `DELETE https://apis--roblox--com.github.com/legacy-develop/v2/teamtest/{placeId}`)*

## Endpoints

### GET /cloud/v2/universes/{universeId}/places/{placeId}

Get Place

Gets the specified place.

**Auth:** API Key (`x-api-key` header) or OAuth 2.0 Bearer token

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universeId` | path | `string` | Yes | The universe ID. |
| `placeId` | path | `string` | Yes | The place ID. |

**Responses:**

- `200`: OK → `Place`

**Response fields** (`Place`)

See [Place](#place) in Models.

**Response example:**
```json
{
  "path": "string",
  "createTime": "2024-01-01T00:00:00Z",
  "updateTime": "2024-01-01T00:00:00Z",
  "displayName": "string",
  "description": "string",
  "serverSize": 0,
  "root": false,
  "universeRuntimeCreation": false,
  "templatePlace": "string"
}
```

**Rate Limits:** perApiKeyOwner: 100/minute, perOauth2Authorization: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/cloud/v2/universes/{UNIVERSEID}/places/{PLACEID}"
```

### PATCH /cloud/v2/universes/{universeId}/places/{placeId}

Update Place

Updates the specified place. To avoid overwriting changes, this endpoint
responds with an HTTP 409 Conflict error if the place is open in an
active Team Create session.

**Auth:** API Key (`x-api-key` header) or OAuth 2.0 Bearer token

**Scopes:** `universe.place:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universeId` | path | `string` | Yes | The universe ID. |
| `placeId` | path | `string` | Yes | The place ID. |
| `updateMask` | query | `string` | No | The list of fields to update. Updatable fields: `displayName`, `description`, `serverSize` |

**Request Body:** `application/json-patch+json` — Type: `Place`

See [Place](#place) in Models.

**Request example:**
```json
{
  "displayName": "string",
  "description": "string",
  "serverSize": 0
}
```

**Responses:**

- `200`: OK → `Place`

**Response fields** (`Place`)

See [Place](#place) in Models.

**Response example:**
```json
{
  "path": "string",
  "createTime": "2024-01-01T00:00:00Z",
  "updateTime": "2024-01-01T00:00:00Z",
  "displayName": "string",
  "description": "string",
  "serverSize": 0,
  "root": false,
  "universeRuntimeCreation": false,
  "templatePlace": "string"
}
```

**Rate Limits:** perApiKeyOwner: 100/minute, perOauth2Authorization: 100/minute

**Example:**
```bash
curl -X PATCH -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/cloud/v2/universes/{UNIVERSEID}/places/{PLACEID}" \
  -H "Content-Type: application/json" \
  -d '{
  "displayName": "string",
  "description": "string",
  "serverSize": 0
}'
```

### GET /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}

Get Instance

Gets an instance and its property data.

The maximum supported response data size is 500,000 bytes. If this limit is
exceeded, the returned `Operation` will be completed with an error result
that has an error code of `422`.

**Auth:** API Key (`x-api-key` header)

**Scopes:** `universe.place.instance:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universe_id` | path | `string` | Yes | The universe ID. |
| `place_id` | path | `string` | Yes | The place ID. |
| `instance_id` | path | `string` | Yes | The instance ID. |

**Responses:**

- `200`: OK → `Dmaas.Operation`
- `default`: Error → `Status`

**Response fields** (`Dmaas.Operation`)

See [Dmaas.Operation](#dmaas-operation) in Models.

**Response example:**
```json
{
  "path": "string",
  "metadata": {
    "@type": "string"
  },
  "done": false,
  "error": {
    "code": 0,
    "message": "string",
    "details": [
      "..."
    ]
  },
  "response": {
    "@type": "string"
  }
}
```

**Rate Limits:** perApiKeyOwner: 45/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/cloud/v2/universes/{UNIVERSE_ID}/places/{PLACE_ID}/instances/{INSTANCE_ID}"
```

### PATCH /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}

Update Instance

Updates an instance's property data.

When updating a `Script` instance's source property, the maximum supported
property size is 200,000 bytes after UTF-8 encoding.

**Auth:** API Key (`x-api-key` header)

**Scopes:** `universe.place.instance:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universe_id` | path | `string` | Yes | The universe ID. |
| `place_id` | path | `string` | Yes | The place ID. |
| `instance_id` | path | `string` | Yes | The instance ID. |
| `updateMask` | query | `string` | No | The list of fields to update. Updatable fields: `engineInstance` |

**Request Body:** `application/json` — Type: `Instance`

See [Instance](#instance) in Models.

**Request example:**
```json
{
  "path": "string",
  "engineInstance": {
    "Id": "string",
    "Parent": "string",
    "Name": "string",
    "Details": {
      "Folder": "...",
      "LocalScript": "...",
      "ModuleScript": "...",
      "Script": "..."
    }
  }
}
```

**Responses:**

- `200`: OK → `Dmaas.Operation`
- `default`: Error → `Status`

**Response fields** (`Dmaas.Operation`)

See [Dmaas.Operation](#dmaas-operation) in Models.

**Response example:**
```json
{
  "path": "string",
  "metadata": {
    "@type": "string"
  },
  "done": false,
  "error": {
    "code": 0,
    "message": "string",
    "details": [
      "..."
    ]
  },
  "response": {
    "@type": "string"
  }
}
```

**Rate Limits:** perApiKeyOwner: 45/minute

**Example:**
```bash
curl -X PATCH -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/cloud/v2/universes/{UNIVERSE_ID}/places/{PLACE_ID}/instances/{INSTANCE_ID}" \
  -H "Content-Type: application/json" \
  -d '{
  "path": "string",
  "engineInstance": {
    "Id": "string",
    "Parent": "string",
    "Name": "string",
    "Details": {
      "Folder": "...",
      "LocalScript": "...",
      "ModuleScript": "...",
      "Script": "..."
    }
  }
}'
```

### GET /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}/operations/{operation_id}

Get Update Instance Operation

Retrieves the status of the operation to [update an instance](https://create--roblox--com.github.com/docs/cloud/reference/features/universes#Cloud_UpdateInstance).

**Auth:** API Key (`x-api-key` header)

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universe_id` | path | `string` | Yes | The universe ID. |
| `place_id` | path | `string` | Yes | The place ID. |
| `instance_id` | path | `string` | Yes | The instance ID. |
| `operation_id` | path | `string` | Yes | The operation ID. |

**Responses:**

- `200`: OK → `Dmaas.Operation`
- `default`: Error → `Status`

**Response fields** (`Dmaas.Operation`)

See [Dmaas.Operation](#dmaas-operation) in Models.

**Response example:**
```json
{
  "path": "string",
  "metadata": {
    "@type": "string"
  },
  "done": false,
  "error": {
    "code": 0,
    "message": "string",
    "details": [
      "..."
    ]
  },
  "response": {
    "@type": "string"
  }
}
```

**Rate Limits:** perApiKeyOwner: 45/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/cloud/v2/universes/{UNIVERSE_ID}/places/{PLACE_ID}/instances/{INSTANCE_ID}/operations/{OPERATION_ID}"
```

### GET /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}:listChildren

List Instance Children

Lists an instance's children.

The maximum supported response data size is 500,000 bytes. If this limit is
exceeded, the returned `Operation` will be completed with an error result
that has an error code of `422`.

**Auth:** API Key (`x-api-key` header)

**Scopes:** `universe.place.instance:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universe_id` | path | `string` | Yes | The universe ID. |
| `place_id` | path | `string` | Yes | The place ID. |
| `instance_id` | path | `string` | Yes | The instance ID. |
| `maxPageSize` | query | `integer` | No | The maximum number of child instance to return. The service may return fewer than this value. If unspecified, at most 200 children will be returned. The maximum value is 200; values above 200 will be coerced to 200. |
| `pageToken` | query | `string` | No | A page token, received from a previous `ListInstanceChildrenRequest` call. Provide this to retrieve the subsequent page.  When paginating, all other parameters provided to `ListInstanceChildrenRequest` must match the call that provided the page token. |

**Responses:**

- `200`: OK → `Dmaas.Operation`
- `default`: Error → `Status`

**Response fields** (`Dmaas.Operation`)

See [Dmaas.Operation](#dmaas-operation) in Models.

**Response example:**
```json
{
  "path": "string",
  "metadata": {
    "@type": "string"
  },
  "done": false,
  "error": {
    "code": 0,
    "message": "string",
    "details": [
      "..."
    ]
  },
  "response": {
    "@type": "string"
  }
}
```

**Rate Limits:** perApiKeyOwner: 45/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/cloud/v2/universes/{UNIVERSE_ID}/places/{PLACE_ID}/instances/{INSTANCE_ID}:listChildren"
```

### GET /legacy-develop/v1/places/{placeId}/teamcreate/active_session/members

List of users in the active Team Create session

**Auth:** API Key (`x-api-key` header) or OAuth 2.0 Bearer token

**Scopes:** `legacy-team-collaboration:manage`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `placeId` | path | `integer` | Yes | The place Id. |
| `limit` | query | `10 \| 25 \| 50 \| 100` | No | The number of results per request. Valid values: `10`, `25`, `50`, `100` |
| `cursor` | query | `string` | No | The paging cursor for the previous or next page. |

**Responses:**

- `200`: OK → `Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.Web.Responses.Users.SkinnyUserResponse_`
- `400`: 1: The universe is invalid. 5: The place is invalid.
- `401`: 0: Authorization has been denied for this request.
- `403`: 2: Not authorized to perform this action. 4: TeamCreate on universe is disabled.
- `404`: 0: An unknown error occurred.
- `500`: 6: Multiple active sessions in a Team Create place.

**Response fields** (`Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.Web.Responses.Users.SkinnyUserResponse_`)

See [Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.Web.Responses.Users.SkinnyUserResponse_](#roblox-web-webapi-models-apiarrayresponse-roblox-web-responses-users-skinnyuserresponse-) in Models.

**Response example:**
```json
{
  "data": [
    {
      "id": "...",
      "name": "...",
      "displayName": "..."
    }
  ]
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute, perOauth2Authorization: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/legacy-develop/v1/places/{PLACEID}/teamcreate/active_session/members"
```

### DELETE /legacy-develop/v2/teamtest/{placeId}

Close a game instance that is being used for team testing

**Auth:** API Key (`x-api-key` header) or OAuth 2.0 Bearer token

**Scopes:** `legacy-team-collaboration:manage`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `placeId` | path | `integer` | Yes | The Id of the place we are setting the metadata for. |
| `gameId` | query | `string` | Yes | the Guid of the game instance System.Guid |

**Responses:**

- `200`: OK → `Roblox.Web.WebAPI.ApiEmptyResponseModel`
- `401`: 0: Authorization has been denied for this request.
- `403`: 0: Token Validation Failed

**Response fields** (`Roblox.Web.WebAPI.ApiEmptyResponseModel`)

See [Roblox.Web.WebAPI.ApiEmptyResponseModel](#roblox-web-webapi-apiemptyresponsemodel) in Models.

**Error handling:** `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. 

**Rate Limits:** perApiKeyOwner: 100/minute, perOauth2Authorization: 100/minute

**Example:**
```bash
curl -X DELETE -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/legacy-develop/v2/teamtest/{PLACEID}?gameId={VALUE}"
```

### GET /place-version-history-api/v1/{placeId}/contributors

Endpoint used to fetch all previous contributors of a place.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `universe.place:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `placeId` | path | `integer` | Yes |  |
| `cursor` | query | `string` | No |  |
| `pageSize` | query | `integer` | No |  |

**Responses:**

- `200`: Success → `GetPlaceContributorsResponse`
- `400`: Bad Request → `OperationErrorResponse`
- `401`: Unauthorized → `OperationErrorResponse`
- `403`: Forbidden → `OperationErrorResponse`
- `500`: Server Error → `OperationErrorResponse`

**Response fields** (`GetPlaceContributorsResponse`)

See [GetPlaceContributorsResponse](#getplacecontributorsresponse) in Models.

**Response example:**
```json
{
  "nextCursor": "string",
  "hasMore": false,
  "contributors": [
    0
  ]
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. 

**Rate Limits:** perApiKeyOwner: 120/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/place-version-history-api/v1/{PLACEID}/contributors"
```

### GET /place-version-history-api/v1/{placeId}/history

Endpoint used to get place versions, using various filters

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `universe.place:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `placeId` | path | `integer` | Yes |  |
| `cursor` | query | `string` | No |  |
| `isPublished` | query | `boolean` | No |  |
| `hasNotes` | query | `boolean` | No |  |
| `saveType` | query | `integer` | No |  |
| `searchTerm` | query | `string` | No |  |
| `contributor` | query | `integer` | No |  |
| `startTime` | query | `string` | No |  |
| `endTime` | query | `string` | No |  |
| `pageSize` | query | `integer` | No |  |

**Responses:**

- `200`: Success → `GetPlaceVersionHistoryResponse`
- `400`: Bad Request → `OperationErrorResponse`
- `401`: Unauthorized → `OperationErrorResponse`
- `403`: Forbidden → `OperationErrorResponse`
- `500`: Server Error → `OperationErrorResponse`

**Response fields** (`GetPlaceVersionHistoryResponse`)

See [GetPlaceVersionHistoryResponse](#getplaceversionhistoryresponse) in Models.

**Response example:**
```json
{
  "nextCursor": "string",
  "hasMore": false,
  "placeVersions": [
    {
      "version": "...",
      "title": "...",
      "description": "...",
      "contributors": "...",
      "saveType": "...",
      "isPublished": "...",
      "publishStatus": "...",
      "hasNotes": "...",
      "createdTime": "...",
      "createdBy": "..."
    }
  ]
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. 

**Rate Limits:** perApiKeyOwner: 120/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/place-version-history-api/v1/{PLACEID}/history"
```

### POST /place-version-history-api/v1/{placeId}/version/{version}/notes

Endpoint used to modify the notes of a particular version for a place.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `universe.place:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `placeId` | path | `integer` | Yes |  |
| `version` | path | `string` | Yes |  |

**Request Body:** `application/json-patch+json` — Type: `UpdatePlaceVersionNotesRequest`

See [UpdatePlaceVersionNotesRequest](#updateplaceversionnotesrequest) in Models.

**Request example:**
```json
{
  "title": "string",
  "description": "string"
}
```

**Responses:**

- `200`: Success → `UpdatePlaceVersionNotesResponse`
- `400`: Bad Request → `OperationErrorResponse`
- `401`: Unauthorized → `OperationErrorResponse`
- `403`: Forbidden → `OperationErrorResponse`
- `500`: Server Error → `OperationErrorResponse`

**Response fields** (`UpdatePlaceVersionNotesResponse`)

See [UpdatePlaceVersionNotesResponse](#updateplaceversionnotesresponse) in Models.

**Response example:**
```json
{
  "placeVersion": {
    "version": "string",
    "title": "string",
    "description": "string",
    "contributors": [
      "..."
    ],
    "saveType": 0,
    "isPublished": false,
    "publishStatus": 0,
    "hasNotes": false,
    "createdTime": "2024-01-01T00:00:00Z",
    "createdBy": 0
  }
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -X POST -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/place-version-history-api/v1/{PLACEID}/version/{VERSION}/notes" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "string",
  "description": "string"
}'
```

### POST /universes/v1/{universeId}/places/{placeId}/versions

Publish a Place

Publish a new place or update an existing place with a new version. Provide a RBXL or RBXLX file in the data-binary.

**Auth:** API Key (`x-api-key` header)

**Scopes:** `universe-places:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universeId` | path | `integer` | Yes | The identifier of the experience in which you want to publish your place to. You can [copy your experience's Universe ID](/docs/en-us/cloud/guides/usage-place-publishing.md#publishing-a-place) on **Creator Dashboard**. |
| `placeId` | path | `integer` | Yes | The identifier of your place. See [Publishing places with API keys](/docs/en-us/cloud/guides/usage-place-publishing.md) on obtaining a Place ID. |
| `versionType` | query | `string` | No | Can only be either: - `Saved`: the place file should be saved, but not published. - `Published`: the place file should be saved and published. |

**Request Body:** `application/xml` — Type: `string`

**Responses:**

- `200`: Returns the published place's version number. → `CreatePlaceVersionOperationResponse`
- `400`: Invalid request / Invalid file content.
- `401`: API key not valid for operation, user does not have authorization.
- `403`: Publish not allowed on place.
- `404`: Place or universe does not exist.
- `409`: Place not part of the universe.
- `500`: Server internal error / Unknown error.

**Response fields** (`CreatePlaceVersionOperationResponse`)

See [CreatePlaceVersionOperationResponse](#createplaceversionoperationresponse) in Models.

**Response example:**
```json
{
  "versionNumber": 0
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 30/minute

**Example:**
```bash
curl -X POST -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/universes/v1/{UNIVERSEID}/places/{PLACEID}/versions" \
  -H "Content-Type: application/json" \
  -d '"string"'
```

## Models

### Place

Represents a Roblox place.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `path` | `string` | Output only | The resource path of the place.              Format: `universes/{universe_id}/places/{place_id}` |
| `createTime` | `string` | Output only | The timestamp at which the place was created. |
| `updateTime` | `string` | Output only | The timestamp at which the place was updated. |
| `displayName` | `string` | No | The name of the place. |
| `description` | `string` | No | The description of the place. |
| `serverSize` | `integer` | No | The maximum number of allowed users in a single server. |
| `root` | `boolean` | Output only | Whether this place is its parent universe's root place or not. Each universe has exactly one root place. |
| `universeRuntimeCreation` | `boolean` | Output only | Whether this place was created through in-experience creation. If true, the place was created by calling AssetService::CreatePlaceAsync() from a script. |
| `templatePlace` | `string` | Yes |  *(immutable)* The resource path of the template place used to initialize the place on creation. The newly created place will be a clone of this template. A list of the valid template places can be obtained from ListTemplatePlaces. Format: universes/{universe_id}/places/{place_id} |

### Dmaas.Operation

This resource represents a long-running operation that is the result of a
network API call.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `path` | `string` | No | The server-assigned path, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `path` should be a resource path ending with `operations/{unique_id}`. |
| `metadata` | `GoogleProtobufAny` | No | Service-specific metadata associated with the operation.  It typically contains progress information and common metadata such as create time. Some services might not provide such metadata.  Any method that returns a long-running operation should document the metadata type, if any. |
| `done` | `boolean` | No | If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. |
| `error` | `Status` | No | The error result of the operation in case of failure or cancellation. Mutually exclusive with `response`. |
| `response` | `GoogleProtobufAny` | No | The normal response of the operation in case of success.  If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`.  If the original method is standard `Get`/`Create`/`Update`, the response should be the resource.  For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name.  For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. Mutually exclusive with `error`. |

### Status

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `code` | `integer` | No |  |
| `message` | `string` | No |  |
| `details` | `GoogleProtobufAny[]` | No |  |

### Instance

Represents a data model instance.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `path` | `string` | No | The resource path of the instance.  Format: `universes/{universe_id}/places/{place_id}/instances/{instance_id}` |
| `hasChildren` | `boolean` | Output only | whether the instance has any children instance |
| `engineInstance` | `roblox.engine.Instance` | No | the property details of the instance |

### Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.Web.Responses.Users.SkinnyUserResponse_

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `data` | `Roblox.Web.Responses.Users.SkinnyUserResponse[]` | No |  |

### GetPlaceContributorsResponse

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `nextCursor` | `string` | No |  |
| `hasMore` | `boolean` | No |  |
| `contributors` | `integer[]` | No |  |

### OperationErrorResponse

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `code` | `integer` | Output only |  |
| `error` | `string` | Output only |  |
| `message` | `string` | No |  |

### GetPlaceVersionHistoryResponse

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `nextCursor` | `string` | No |  |
| `hasMore` | `boolean` | No |  |
| `placeVersions` | `PlaceVersion[]` | No |  |

### UpdatePlaceVersionNotesRequest

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `title` | `string` | No |  |
| `description` | `string` | No |  |

### UpdatePlaceVersionNotesResponse

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `placeVersion` | `PlaceVersion` | No |  |

### CreatePlaceVersionOperationResponse

The result of saving or publishing a place version.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `versionNumber` | `integer` | No | The version number of the saved or published place. |

### PlaceVersion

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `version` | `string` | No |  |
| `title` | `string` | No |  |
| `description` | `string` | No |  |
| `contributors` | `integer[]` | No |  |
| `saveType` | `SaveType` | No |  |
| `isPublished` | `boolean` | No |  |
| `publishStatus` | `PublishStatus` | No |  |
| `hasNotes` | `boolean` | No |  |
| `createdTime` | `string` | No |  |
| `createdBy` | `integer` | No |  |

### SaveType

Values: `0`, `1`, `2`

### PublishStatus

Values: `0`, `1`, `2`

### Roblox.Web.Responses.Users.SkinnyUserResponse

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `integer` | No |  |
| `name` | `string` | No |  |
| `displayName` | `string` | No |  |

### roblox.engine.Instance

Instance is the base class for all classes in the Roblox class hierarchy.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `Id` | `string` | No | The unique identifier for an instance. Format: lower-case hexadecimal characters Example: 44b188da-ce63-2b47-02e9-c68d004b5664 |
| `Parent` | `string` | No | The parent of the Instance. Format: lower-case hexadecimal characters Example: 44b188da-ce63-2b47-02e9-c68d004b5664 |
| `Name` | `string` | No | A non-unique identifier of the Instance. |
| `Details` | `roblox.engine.InstanceDetails` | No | Properties specific to the type of the instance. |

### roblox.engine.InstanceDetails

Contains instance type-specific details about a data model instance.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `Folder` | `roblox.engine.Folder` | No | A simple container used to hold and organize Roblox instances. Mutually exclusive with `LocalScript`, `ModuleScript`, and `Script`. |
| `LocalScript` | `roblox.engine.LocalScript` | No | A LocalScript is a Lua code container that runs its contents on the client (player's device) instead of the server. Mutually exclusive with `Folder`, `ModuleScript`, and `Script`. |
| `ModuleScript` | `roblox.engine.ModuleScript` | No | A ModuleScript is a type of Lua source container that runs once and must return exactly one value. Mutually exclusive with `Folder`, `LocalScript`, and `Script`. |
| `Script` | `roblox.engine.Script` | No | A Script is a Lua code container that can access server-side objects, properties, and events, such as to award badges to players using BadgeService, while LocalScripts on the client cannot. Mutually exclusive with `Folder`, `LocalScript`, and `ModuleScript`. |

### roblox.engine.LocalScript

A LocalScript is a Lua code container that runs its contents on the client (player's device) instead of the server.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `Enabled` | `boolean` | No | Determines whether a BaseScript will run or not. |
| `RunContext` | `RunContextType` | No | Determines the context under which the script will run.  Legacy  Server  Client  Plugin |
| `Source` | `string` | No | The code to be executed. |

### roblox.engine.ModuleScript

A ModuleScript is a type of Lua source container that runs once and must return exactly one value.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `Source` | `string` | No | The code to be executed. |

### roblox.engine.Script

A Script is a Lua code container that can access server-side objects, properties, and events, such as to award badges to players using BadgeService, while LocalScripts on the client cannot.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `Enabled` | `boolean` | No | Determines whether the BaseScript will run or not. |
| `RunContext` | `RunContextType` | No | Determines the context in which the script will run.  Legacy  Server  Client  Plugin |
| `Source` | `string` | No | The code to be executed. |

### RunContextType

Legacy

Server

Client

Plugin

Values: `Legacy`, `Server`, `Client`, `Plugin`

### GoogleProtobufAny

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `@type` | `string` | Yes |  |