Skip to content

Universes (v1)

OpenCloud v1 reference for Universes.

Base URL: https://apis.roblox.com/universes

MethodPathName
POST/v1/:universeId/places/:placeId/versionspostUniverseIdPlacesPlaceIdVersions

POST /v1/:universeId/places/:placeId/versions

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

Scopes: universe-places:write

Usage
import { fetchApi } from 'rozod';
import { postUniverseIdPlacesPlaceIdVersions } from 'rozod/lib/opencloud/v1/universes';
const data = await fetchApi(postUniverseIdPlacesPlaceIdVersions, {
universeId: /* integer */,
placeId: /* integer */,
versionType: /* string \| null? */
});
NameTypeRequiredDescription
universeIdintegerYesThe identifier of the experience in which you want to publish your place to. You can copy your experience’s Universe ID on Creator Dashboard .
placeIdintegerYesThe identifier of your place. See Publishing places with API keys on obtaining a Place ID.
versionTypestring | null?NoCan only be either: - Saved: the place file should be saved, but not published. - Published: the place file should be saved and published.

Type: unknown

StatusDescription
400Invalid request / Invalid file content.
401API key not valid for operation, user does not have authorization.
403Publish not allowed on place.
404Place or universe does not exist.
409Place not part of the universe.
500Server internal error / Unknown error.