Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
POST /v2/outfits/create — openapi
Creates a new outfit.
Fails if any of the assetIds are not owned by the user, or not wearable types. The name property of the request is optional as one will be auto-generated when the request has a null name.
Please use POST v4/outfits/create
Endpoint
Method: POST
Path: /v2/outfits/create
Servers:
https://avatar.roblox.com
Parameters
| Name | Location | Required | Description |
|---|---|---|---|
| Roblox-Place-Id | header | false |
[
{
"in": "header",
"name": "Roblox-Place-Id",
"description": "",
"schema": {
"type": "integer",
"format": "int64"
}
}
] Request Body
The new outfit.
{
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Roblox.Api.Avatar.Models.OutfitUpdateModelV2"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Roblox.Api.Avatar.Models.OutfitUpdateModelV2"
}
}
},
"description": "The new outfit.",
"required": true
} Responses
| Status | Description |
|---|---|
| 200 | OK |
| 400 | 3: Body colors must be valid BrickColor IDs 4: Invalid outfit name 5: Asset is not wearable by you and was not added to the outfit 7: Invalid Player Avatar Type. Valid types are R6 and R15 8: Invalid assetIds 9: Meta does not apply to specified asset type 10: Required meta is not provided for the specific asset type 12: Outfit type invalid or not permitted 13: Invalid Scale |
| 401 | 0: Authorization has been denied for this request. |
| 403 | 0: Token Validation Failed 1: You already have the maximum number of outfits |
| 500 | 6: An error occurred while creating the outfit |
{
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Roblox.Web.WebAPI.ApiEmptyResponseModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Roblox.Web.WebAPI.ApiEmptyResponseModel"
}
}
}
},
"400": {
"description": "3: Body colors must be valid BrickColor IDs\r\n4: Invalid outfit name\r\n5: Asset is not wearable by you and was not added to the outfit\r\n7: Invalid Player Avatar Type. Valid types are R6 and R15\r\n8: Invalid assetIds\r\n9: Meta does not apply to specified asset type\r\n10: Required meta is not provided for the specific asset type\r\n12: Outfit type invalid or not permitted\r\n13: Invalid Scale"
},
"401": {
"description": "0: Authorization has been denied for this request."
},
"403": {
"description": "0: Token Validation Failed\r\n1: You already have the maximum number of outfits"
},
"500": {
"description": "6: An error occurred while creating the outfit"
}
} Authentication
{
"security": [
{
"roblox-legacy-cookie": []
}
],
"securitySchemes": {
"roblox-api-key": {
"type": "apiKey",
"description": "A configurable key that allows granular access to Roblox resources. See https://create.roblox.com/docs/cloud/auth/api-keys for more information.",
"name": "x-api-key",
"in": "header"
},
"roblox-legacy-cookie": {
"type": "apiKey",
"description": "A browser cookie that represents the identity of a Roblox user. DO NOT SHARE THIS. Sharing this will allow someone to log in as you and to steal your Robux and items. We do not recommend using cookies to call endpoints. When possible, use API keys with the x-api-key header or OAuth 2.0 instead for authentication.",
"in": "cookie",
"name": ".ROBLOSECURITY"
},
"roblox-oauth2": {
"type": "oauth2",
"description": "Build or authorize apps to access Roblox resources. See https://create.roblox.com/docs/cloud/auth/oauth2-overview for more information.",
"flows": {
"authorizationCode": {
"authorizationUrl": "https://apis.roblox.com/oauth/v1/authorize",
"tokenUrl": "https://apis.roblox.com/oauth/v1/token",
"refreshUrl": "https://apis.roblox.com/oauth/v1/token",
"scopes": {}
}
}
}
}
} Related Schemas
Complete Operation Definition
{
"tags": [
"Avatars"
],
"summary": "Creates a new outfit.",
"description": "Fails if any of the assetIds are not owned by the user, or not wearable types.\r\nThe name property of the request is optional as one will be auto-generated when the request has a null name.\n\nPlease use POST v4/outfits/create",
"parameters": [
{
"in": "header",
"name": "Roblox-Place-Id",
"description": "",
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Roblox.Api.Avatar.Models.OutfitUpdateModelV2"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Roblox.Api.Avatar.Models.OutfitUpdateModelV2"
}
}
},
"description": "The new outfit.",
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Roblox.Web.WebAPI.ApiEmptyResponseModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Roblox.Web.WebAPI.ApiEmptyResponseModel"
}
}
}
},
"400": {
"description": "3: Body colors must be valid BrickColor IDs\r\n4: Invalid outfit name\r\n5: Asset is not wearable by you and was not added to the outfit\r\n7: Invalid Player Avatar Type. Valid types are R6 and R15\r\n8: Invalid assetIds\r\n9: Meta does not apply to specified asset type\r\n10: Required meta is not provided for the specific asset type\r\n12: Outfit type invalid or not permitted\r\n13: Invalid Scale"
},
"401": {
"description": "0: Authorization has been denied for this request."
},
"403": {
"description": "0: Token Validation Failed\r\n1: You already have the maximum number of outfits"
},
"500": {
"description": "6: An error occurred while creating the outfit"
}
},
"deprecated": true,
"servers": [
{
"url": "https://avatar.roblox.com"
}
],
"x-roblox-engine-usability": {
"apiKeyWithHttpService": false
},
"security": [
{
"roblox-legacy-cookie": []
}
],
"externalDocs": {
"url": "https://create.roblox.com/docs/cloud/reference/features/avatars#avatar_post_v2_outfits_create"
},
"x-roblox-recommended-alternatives": [
{
"url": "https://avatar.roblox.com/v3/outfits/create",
"httpMethod": "POST",
"documentationUrl": "https://create.roblox.com/docs/cloud/reference/features/avatars#avatar_post_v3_outfits_create"
}
]
}