Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
POST /game-passes/v1/universes/{universeId}/game-passes — openapi
Create game pass
Creates a new game pass with the provided configuration details.
Endpoint
Method: POST
Path: /game-passes/v1/universes/{universeId}/game-passes
Servers:
https://apis.roblox.com
Parameters
| Name | Location | Required | Description |
|---|---|---|---|
| universeId | path | true | The universe ID. |
[
{
"name": "universeId",
"in": "path",
"description": "The universe ID.",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
] Request Body
{
"content": {
"multipart/form-data": {
"schema": {
"required": [
"name"
],
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the game pass."
},
"description": {
"type": "string",
"description": "The description of the game pass.",
"nullable": true
},
"imageFile": {
"type": "string",
"description": "The thumbnail image file to be uploaded.",
"format": "binary",
"nullable": true
},
"isForSale": {
"type": "boolean",
"description": "Whether the game pass should be on sale.",
"nullable": true
},
"price": {
"type": "integer",
"description": "The default price of the game pass.",
"format": "int64",
"nullable": true
},
"isRegionalPricingEnabled": {
"type": "boolean",
"description": "Whether regional pricing should be enabled for the game pass.",
"nullable": true,
"deprecated": true
},
"isManagedPricingEnabled": {
"type": "boolean",
"description": "Whether managed pricing should be enabled for the game pass.",
"nullable": true
}
}
},
"encoding": {
"name": {
"style": "form"
},
"description": {
"style": "form"
},
"imageFile": {
"style": "form"
},
"isForSale": {
"style": "form"
},
"price": {
"style": "form"
},
"isRegionalPricingEnabled": {
"style": "form"
},
"isManagedPricingEnabled": {
"style": "form"
}
}
}
}
} Responses
| Status | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
{
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GamePassConfigV2"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GamePasses.ErrorResponse"
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GamePasses.ErrorResponse"
}
}
}
},
"403": {
"description": "Forbidden",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GamePasses.ErrorResponse"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GamePasses.ErrorResponse"
}
}
}
}
} Authentication
{
"security": [
{
"roblox-legacy-cookie": []
},
{
"roblox-api-key": []
},
{
"roblox-oauth2": [
"game-pass:write"
]
}
],
"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": [
"Game passes"
],
"summary": "Create game pass",
"description": "Creates a new game pass with the provided configuration details.",
"operationId": "GamePasses_CreateGamePass",
"parameters": [
{
"name": "universeId",
"in": "path",
"description": "The universe ID.",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"required": [
"name"
],
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the game pass."
},
"description": {
"type": "string",
"description": "The description of the game pass.",
"nullable": true
},
"imageFile": {
"type": "string",
"description": "The thumbnail image file to be uploaded.",
"format": "binary",
"nullable": true
},
"isForSale": {
"type": "boolean",
"description": "Whether the game pass should be on sale.",
"nullable": true
},
"price": {
"type": "integer",
"description": "The default price of the game pass.",
"format": "int64",
"nullable": true
},
"isRegionalPricingEnabled": {
"type": "boolean",
"description": "Whether regional pricing should be enabled for the game pass.",
"nullable": true,
"deprecated": true
},
"isManagedPricingEnabled": {
"type": "boolean",
"description": "Whether managed pricing should be enabled for the game pass.",
"nullable": true
}
}
},
"encoding": {
"name": {
"style": "form"
},
"description": {
"style": "form"
},
"imageFile": {
"style": "form"
},
"isForSale": {
"style": "form"
},
"price": {
"style": "form"
},
"isRegionalPricingEnabled": {
"style": "form"
},
"isManagedPricingEnabled": {
"style": "form"
}
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GamePassConfigV2"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GamePasses.ErrorResponse"
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GamePasses.ErrorResponse"
}
}
}
},
"403": {
"description": "Forbidden",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GamePasses.ErrorResponse"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GamePasses.ErrorResponse"
}
}
}
}
},
"x-roblox-stability": "BETA",
"x-roblox-rate-limits": {
"perApiKeyOwner": {
"period": "SECOND",
"maxInPeriod": 5
},
"perOauth2Authorization": {
"period": "SECOND",
"maxInPeriod": 5
}
},
"x-roblox-scopes": [
{
"name": "game-pass:write",
"targetResourceSpecifier": "universes"
}
],
"x-roblox-engine-usability": {
"apiKeyWithHttpService": true
},
"security": [
{
"roblox-legacy-cookie": []
},
{
"roblox-api-key": []
},
{
"roblox-oauth2": [
"game-pass:write"
]
}
],
"externalDocs": {
"url": "https://create.roblox.com/docs/cloud/reference/features/game-passes#GamePasses_CreateGamePass"
}
}