Usage Guide for Assets

With Assets API of Open Cloud, you can upload assets with a single HTTP request rather than manually importing them to Studio. This API supports uploading new assets and updating existing ones with version control, making it helpful for automating your asset management workflow.

For example, you can write a script using Assets API to upload and create a new version of your model assets on Roblox automatically whenever you save them in your modeling tool such as Blender or Maya. This way, you can quickly update custom model assets in your inventory without manually importing them every time you make a change.

Supported Asset Types and Limits

Different from the Asset Manager in Studio, in which you can import assets without specifying types, you must specify your asset’s Asset Type and the generic Content Type when sending an Assets API call. For each call, you can only create or update one asset with the file size up to 20 MB.

Currently, Assets API supports the following types of assets:

Asset TypeFormatContent TypeRestrictions
  • .mp3
  • .ogg
  • audio/mpeg
  • audio/ogg
  • Up to 7 minutes of duration.
  • Up to 100 uploads per month if you're ID-verified.
  • Up to 10 total uploads per month if you aren't ID-verified.
  • Not available for the updating.
  • .png
  • .jpeg
  • .bmp
  • .tga
  • image/png
  • image/jpeg
  • image/bmp
  • image/tga
  • Not available for updating.
  • .fbx
  • model/fbx

Uploading an Asset

For both creating a new asset and updating an existing asset to a new version using Assets API, you need to Create an API key on Creator Dashboard. If you want to use the API key to manage your individually-owned assets, create the API key under your account. If you want to use the API key to manage group-owned assets, create the API key under the target group. For more information on group-owned API keys, see Group-Owned API Key Permissions.

Once you create an API key, you can't switch its ownership between individuals or groups. If you create an API key under your own account, you can't use it for managing group assets.

Regardless of whether you are creating the API key for yourself or your group, make sure to add the following permissions:

  1. Add Assets API to Access Permissions.
  2. Add both Read and Write operation permissions to your selected experience.

Creating an New Asset

To upload a new asset:

  1. Copy the API key to the x-api-key request header of the Create Asset method.

  2. In your request:

    1. Specify the target asset type.
    2. Add your asset name and description.
    3. Add the creator information.
      • If you want to create the asset on your own behalf, add your user ID. You can find your user ID on the URL of your Roblox profile. For example, for, your user ID is 1234567.
      • If you want to create the asset as a group asset, add the group ID of your group. You can find the group ID on the URL of your group’s page. For example, for!/, the group ID is 7654321.
    4. Add the file path and content type of your asset.
    Example Request for Create Asset

    curl --location '' \
    --header 'x-api-key: ${ApiKey}' \
    --form 'request="{
    \"assetType\": \"Model\",
    \"displayName\": \"Name\",
    \"description\": \"This is a description\",
    \"creationContext\": {
    \"creator\": {
    \"userId\": \"${userId}\" # Use groupId for creating a group asset
    }"' \
    --form 'fileContent=@"/filepath/model.fbx";type=model/fbx'

Updating an Existing Asset

To update an existing asset to a new version:

  1. Copy the API key to the x-api-key request header of the Update Asset method.
  2. Add the asset ID in your request. To copy your asset ID:
    1. Navigate to the Creation page of Creator Dashboard.
    2. Select the DEVELOPMENT ITEMS category.
    3. Select the category of your asset and find the target asset.
    4. Hover over the thumbnail of the target asset and click the ... button to display a list of options, then select Copy Asset ID from the list.
  3. Add the file path and content type of your asset in your request.
Example Request for Update Asset

curl --location --request PATCH '{assetId}' \
--header 'x-api-key: ${ApiKey}' \
--form 'request="{
\"assetId\": ${assetId},
}"' \
--form 'fileContent=@"/filepath/model.fbx";type=model/fbx'

Checking an Uploaded Asset

If your request for creating a new asset or updating an existing asset succeeds, it returns an Operation ID in the format of { "path": "operations/${operationId}" }. You can use it to check the status and result of your upload with the following steps:

  1. Copy the API key to the x-api-key request header of the Get Operation method and send the request, like the following code sample:

    Example Request for Get Operation

    curl --location '{operationId}' \
    --header 'x-api-key: {$ApiKey}'
  2. If your request succeeds, it returns an Operation object, either including a response representing the uploaded asset information or a status explaining why the asset upload fails as the following code sample shows:

    Example Response for Get Operation

    "path": "operations/{operationId}",
    "done": true,
    "response": {
    "@type": "",
    "path": "assets/2205400862",
    "revisionId": "1",
    "revisionCreateTime": "2023-03-02T22:27:04.062164400Z",
    "assetId": "2205400862",
    "displayName": "Name",
    "description": "This is a description",
    "assetType": "ASSET_TYPE_DECAL",
    "creationContext": {
    "creator": {
    "userId": "11112938575"
    "moderationResult": {
    "moderationState": "MODERATION_STATE_APPROVED"
  3. (Optional) Check the created asset on your Roblox account.

    1. Navigate to the Inventory page of your Roblox account.
    2. Select the Category of the asset that you want to check.
    3. Find the target asset and click its thumbnail to view the asset.

Adding Assets API to OAuth 2.0 Apps

You can create OAuth 2.0 applications supporting Assets API to allow your users to upload and update assets to Roblox.

To use Assets API for your application and request permissions from your users, perform the following settings:

  1. When registering your application, under Permissions, select asset:read and asset:write scopes.

  2. When implementing the authorization flow, include asset:read and asset:write as the scope parameters of the authorization URL that redirects users back to your application, like the following example:
  3. When sending the request, include the access token in the authorization header and the form data of the asset content to create or update in the request URI in. The following example shows a sample request for uploading a new asset:

    Example Request

    curl --location --request POST '' \
    --header 'Authorization: Bearer <access_token>' \
    --header 'Content-Type: application/json' \
    --form 'request="{
    \"assetType\": \"Decal\",
    \"displayName\": \"DecalDemo123\",
    \"description\": \"This is a description\",
    \"creationContext\": {
    \"creator\": {
    \"userId\": \"<user_id>\"
    }"' \
    --form 'fileContent=@"/filepath/p1.png"'