---
name: "Game passes"
last_updated: 2026-12-04T23:21:52Z
type: feature
api_base_url: "https://apis--roblox--com.github.com"
endpoints: 12
legacy_endpoints: 9
auth: [api-key, oauth2, cookie]
description: "Create and manage game passes to monetize your experiences"
---

# Game passes

Create and manage game passes to monetize your experiences. Game passes provide one-time purchases that grant permanent benefits to players. [Create](#GamePasses_CreateGamePass) and [update](#GamePasses_UpdateGamePass) game passes with custom icons and pricing, and [list all game passes](#GamePasses_ListGamePassConfigsByUniverse) for an experience.

**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 [Game passes (legacy)](/docs/cloud/reference/features/game-passes-legacy.md).

- POST /game-passes/v1/universes/{universeId}/game-passes — Create game pass
- PATCH /game-passes/v1/universes/{universeId}/game-passes/{gamePassId} — Update game pass
- GET /game-passes/v1/universes/{universeId}/game-passes/{gamePassId}/creator — Get game pass with configuration details
- GET /game-passes/v1/universes/{universeId}/game-passes/creator — List game passes by universe with configuration details
- PATCH /legacy-game-internationalization/v1/game-passes/{gamePassId}/description/language-codes/{languageCode} — Update localized description of a game pass
- GET /legacy-game-internationalization/v1/game-passes/{gamePassId}/icons — Get all icons for a game pass
- POST /legacy-game-internationalization/v1/game-passes/{gamePassId}/icons/language-codes/{languageCode} — Update a game pass's icon
- DELETE /legacy-game-internationalization/v1/game-passes/{gamePassId}/icons/language-codes/{languageCode} — Delete a localized icon from a game pass
- GET /legacy-game-internationalization/v1/game-passes/{gamePassId}/name-description — Get all names and descriptions of a game pass
- PATCH /legacy-game-internationalization/v1/game-passes/{gamePassId}/name-description/language-codes/{languageCode} — Update localized name and description of a game pass
- DELETE /legacy-game-internationalization/v1/game-passes/{gamePassId}/name-description/language-codes/{languageCode} — Delete localized name and description of a game pass
- PATCH /legacy-game-internationalization/v1/game-passes/{gamePassId}/name/language-codes/{languageCode} — Update localized name of a game pass
- GET thumbnails--roblox--com.github.com/v1/game-passes — Thumbnails game pass icons. *(legacy page)*
- PATCH gameinternationalization--roblox--com.github.com/v1/game-passes/{gamePassId}/description/language-codes/{languageCode} — Update localized description of a game pass *(legacy page, use `PATCH https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{gamePassId}/description/language-codes/{languageCode}`)*
- GET gameinternationalization--roblox--com.github.com/v1/game-passes/{gamePassId}/icons — Get all icons for a game pass *(legacy page, use `GET https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{gamePassId}/icons`)*
- POST gameinternationalization--roblox--com.github.com/v1/game-passes/{gamePassId}/icons/language-codes/{languageCode} — Update a game pass's icon *(legacy page, use `POST https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{gamePassId}/icons/language-codes/{languageCode}`)*
- DELETE gameinternationalization--roblox--com.github.com/v1/game-passes/{gamePassId}/icons/language-codes/{languageCode} — Delete a localized icon from a game pass *(legacy page, use `DELETE https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{gamePassId}/icons/language-codes/{languageCode}`)*
- GET gameinternationalization--roblox--com.github.com/v1/game-passes/{gamePassId}/name-description — Get all names and descriptions of a game pass *(legacy page, use `GET https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{gamePassId}/name-description`)*
- PATCH gameinternationalization--roblox--com.github.com/v1/game-passes/{gamePassId}/name-description/language-codes/{languageCode} — Update localized name and description of a game pass *(legacy page, use `PATCH https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{gamePassId}/name-description/language-codes/{languageCode}`)*
- DELETE gameinternationalization--roblox--com.github.com/v1/game-passes/{gamePassId}/name-description/language-codes/{languageCode} — Delete localized name and description of a game pass *(legacy page, use `DELETE https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{gamePassId}/name-description/language-codes/{languageCode}`)*
- PATCH gameinternationalization--roblox--com.github.com/v1/game-passes/{gamePassId}/name/language-codes/{languageCode} — Update localized name of a game pass *(legacy page, use `PATCH https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{gamePassId}/name/language-codes/{languageCode}`)*

## Endpoints

### POST /game-passes/v1/universes/{universeId}/game-passes

Create game pass

Creates a new game pass with the provided configuration details.

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

**Scopes:** `game-pass:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universeId` | path | `integer` | Yes | The universe ID. |

**Request Body:** `multipart/form-data` — Type: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | The name of the game pass. |
| `description` | `string` | No | The description of the game pass. |
| `imageFile` | `string` | No | The thumbnail image file to be uploaded. Maximum file size is 5 MB. |
| `isForSale` | `boolean` | No | Whether the game pass should be on sale. |
| `price` | `integer` | No | The default price of the game pass. |
| `isManagedPricingEnabled` | `boolean` | No | Whether managed pricing should be enabled for the game pass. |
| `isTrialEnabled` | `boolean` | No | Whether trials should be enabled for the game pass. Note for trials to be available, the game pass must also be on sale. |

Send each property as its own form field, not as a JSON body. A JSON body can fail with 415. Upload `imageFile` as a file. See the curl **Example** below.

**Responses:**

- `200`: OK → `GamePassConfigV2`
- `400`: Bad Request → `GamePasses.ErrorResponse`
- `401`: Unauthorized → `GamePasses.ErrorResponse`
- `403`: Forbidden → `GamePasses.ErrorResponse`
- `404`: Not Found → `GamePasses.ErrorResponse`

**Response fields** (`GamePassConfigV2`)

See [GamePassConfigV2](#gamepassconfigv2) in Models.

**Response example:**
```json
{
  "gamePassId": 0,
  "name": "string",
  "description": "string",
  "isForSale": false,
  "iconAssetId": 0,
  "createdTimestamp": "2024-01-01T00:00:00Z",
  "updatedTimestamp": "2024-01-01T00:00:00Z",
  "priceInformation": {
    "defaultPriceInRobux": 0,
    "enabledFeatures": [
      "..."
    ]
  },
  "isManagedPricingEnabled": false,
  "isTrialEnabled": false
}
```

**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: 5/second, perOauth2Authorization: 5/second

**Example:**
```bash
curl -X POST -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/game-passes/v1/universes/{UNIVERSEID}/game-passes" \
  -F "name=string" \
  -F "description=string" \
  -F "imageFile=@file.bin;type=application/octet-stream" \
  -F "isForSale=false" \
  -F "price=0" \
  -F "isManagedPricingEnabled=false" \
  -F "isTrialEnabled=false"
```

### GET /game-passes/v1/universes/{universeId}/game-passes/creator

List game passes by universe with configuration details

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

**Scopes:** `game-pass:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universeId` | path | `integer` | Yes | The universe ID. |
| `pageSize` | query | `integer` | No | The number of results to return. Defaults to 50 if not provided. |
| `pageToken` | query | `string` | No | The cursor token for pagination. |
| `isForSale` | query | `boolean` | No | Filters results by on-sale status. |

**Responses:**

- `200`: OK → `ListGamePassConfigsByUniverseResponse`
- `400`: Bad Request → `GamePasses.ErrorResponse`
- `401`: Unauthorized → `GamePasses.ErrorResponse`
- `403`: Forbidden → `GamePasses.ErrorResponse`
- `404`: Not Found → `GamePasses.ErrorResponse`

**Response fields** (`ListGamePassConfigsByUniverseResponse`)

See [ListGamePassConfigsByUniverseResponse](#listgamepassconfigsbyuniverseresponse) in Models.

**Response example:**
```json
{
  "gamePasses": [
    {
      "gamePassId": "...",
      "name": "...",
      "description": "...",
      "isForSale": "...",
      "iconAssetId": "...",
      "createdTimestamp": "...",
      "updatedTimestamp": "...",
      "priceInformation": "...",
      "isManagedPricingEnabled": "...",
      "isTrialEnabled": "..."
    }
  ],
  "nextPageToken": "string"
}
```

**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: 10/second, perOauth2Authorization: 10/second

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/game-passes/v1/universes/{UNIVERSEID}/game-passes/creator"
```

### PATCH /game-passes/v1/universes/{universeId}/game-passes/{gamePassId}

Update game pass

Updates a game pass with the provided configuration details.
Note that only fields provided in the request will be updated.

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

**Scopes:** `game-pass:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universeId` | path | `integer` | Yes | The universe ID. |
| `gamePassId` | path | `integer` | Yes | The game pass ID. |

**Request Body:** `multipart/form-data` — Type: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | No | The name of the game pass. |
| `description` | `string` | No | The description of the game pass. |
| `file` | `string` | No | The thumbnail image file to be uploaded. Maximum file size is 5 MB. Alias for imageFile - if both are provided, imageFile will be used. |
| `imageFile` | `string` | No | The thumbnail image file to be uploaded. Maximum file size is 5 MB. |
| `isForSale` | `boolean` | No | Whether the game pass should be on sale. |
| `price` | `integer` | No | The default price of the game pass. |
| `isManagedPricingEnabled` | `boolean` | No | Whether managed pricing should be enabled for the game pass. |
| `isTrialEnabled` | `boolean` | No | Whether trials should be enabled for the game pass. Note for trials to be available, the game pass must also be on sale. |

Send each property as its own form field, not as a JSON body. A JSON body can fail with 415. Upload `file`, `imageFile` as a file. See the curl **Example** below.

**Responses:**

- `204`: No Content
- `400`: Bad Request → `GamePasses.ErrorResponse`
- `401`: Unauthorized → `GamePasses.ErrorResponse`
- `403`: Forbidden → `GamePasses.ErrorResponse`
- `404`: Not Found → `GamePasses.ErrorResponse`
- `409`: Conflict → `GamePasses.ErrorResponse`

**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: 5/second, perOauth2Authorization: 5/second

**Example:**
```bash
curl -X PATCH -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/game-passes/v1/universes/{UNIVERSEID}/game-passes/{GAMEPASSID}" \
  -F "name=string" \
  -F "description=string" \
  -F "file=@file.bin;type=application/octet-stream" \
  -F "imageFile=@file.bin;type=application/octet-stream" \
  -F "isForSale=false" \
  -F "price=0" \
  -F "isManagedPricingEnabled=false" \
  -F "isTrialEnabled=false"
```

### GET /game-passes/v1/universes/{universeId}/game-passes/{gamePassId}/creator

Get game pass with configuration details

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

**Scopes:** `game-pass:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universeId` | path | `integer` | Yes | The universe ID. |
| `gamePassId` | path | `integer` | Yes | The game pass ID. |

**Responses:**

- `200`: OK → `GamePassConfigV2`
- `401`: Unauthorized → `GamePasses.ErrorResponse`
- `403`: Forbidden → `GamePasses.ErrorResponse`
- `404`: Not Found → `GamePasses.ErrorResponse`

**Response fields** (`GamePassConfigV2`)

See [GamePassConfigV2](#gamepassconfigv2) in Models.

**Response example:**
```json
{
  "gamePassId": 0,
  "name": "string",
  "description": "string",
  "isForSale": false,
  "iconAssetId": 0,
  "createdTimestamp": "2024-01-01T00:00:00Z",
  "updatedTimestamp": "2024-01-01T00:00:00Z",
  "priceInformation": {
    "defaultPriceInRobux": 0,
    "enabledFeatures": [
      "..."
    ]
  },
  "isManagedPricingEnabled": false,
  "isTrialEnabled": false
}
```

**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. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 10/second, perOauth2Authorization: 10/second

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/game-passes/v1/universes/{UNIVERSEID}/game-passes/{GAMEPASSID}/creator"
```

### PATCH /legacy-game-internationalization/v1/game-passes/{gamePassId}/description/language-codes/{languageCode}

Update localized description of a game pass

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

**Scopes:** `legacy-game-pass:manage`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `gamePassId` | path | `integer` | Yes | The game pass id |
| `languageCode` | path | `string` | Yes | The language code of description to update |

**Request Body:** `application/json` — Type: `Roblox.GameInternationalization.Api.UpdateGamePassDescriptionRequest`

See [Roblox.GameInternationalization.Api.UpdateGamePassDescriptionRequest](#roblox-gameinternationalization-api-updategamepassdescriptionrequest) in Models.

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

**Responses:**

- `200`: OK → `Roblox.GameInternationalization.Api.UpdateGamePassDescriptionResponse`
- `400`: 13: Request body can't be null 19: New name is null or whitespaces or new name/description is too long 20: New name or description is moderated 22: Invalid language code 26: You can't update translations for source language 53: Language is not supported for the game. 61: Invalid game pass id
- `401`: 0: Authorization has been denied for this request.
- `403`: 0: Token Validation Failed 18: You do not have permission to manage this game
- `503`: 17: Feature is disabled

**Response fields** (`Roblox.GameInternationalization.Api.UpdateGamePassDescriptionResponse`)

See [Roblox.GameInternationalization.Api.UpdateGamePassDescriptionResponse](#roblox-gameinternationalization-api-updategamepassdescriptionresponse) in Models.

**Response example:**
```json
{
  "description": "string"
}
```

**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, perOauth2Authorization: 100/minute

**Example:**
```bash
curl -X PATCH -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{GAMEPASSID}/description/language-codes/{LANGUAGECODE}" \
  -H "Content-Type: application/json" \
  -d '{
  "description": "string"
}'
```

### GET /legacy-game-internationalization/v1/game-passes/{gamePassId}/icons

Get all icons for a game pass

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

**Scopes:** `legacy-game-pass:manage`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `gamePassId` | path | `integer` | Yes | The game pass id |
| `width` | query | `integer` | No | The width of the icon to request |
| `height` | query | `integer` | No | The height of the icon to request |

**Responses:**

- `200`: OK → `Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.GameInternationalization.Api.GetGamePassIconResponse_`
- `400`: 52: Image dimensions are invalid 61: Invalid game pass id
- `401`: 0: Authorization has been denied for this request.
- `500`: 0: An unknown error occurred.
- `503`: 17: Feature is disabled

**Response fields** (`Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.GameInternationalization.Api.GetGamePassIconResponse_`)

See [Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.GameInternationalization.Api.GetGamePassIconResponse_](#roblox-web-webapi-models-apiarrayresponse-roblox-gameinternationalization-api-getgamepassiconresponse-) in Models.

**Response example:**
```json
{
  "data": [
    {
      "imageId": "...",
      "imageUrl": "...",
      "state": "...",
      "languageCode": "..."
    }
  ]
}
```

**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. 

**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-game-internationalization/v1/game-passes/{GAMEPASSID}/icons"
```

### POST /legacy-game-internationalization/v1/game-passes/{gamePassId}/icons/language-codes/{languageCode}

Update a game pass's icon

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

**Scopes:** `legacy-game-pass:manage`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `gamePassId` | path | `integer` | Yes | The game pass id |
| `languageCode` | path | `string` | Yes | The language code of this icon to update |

**Responses:**

- `200`: OK → `Roblox.Web.WebAPI.ApiEmptyResponseModel`
- `400`: 22: Invalid language code 26: You can't update translations for source language 45: File uploaded does not match known image format 46: File not present in request 53: Language is not supported for the game. 61: Invalid game pass id 91: FileTooLarge
- `401`: 0: Authorization has been denied for this request.
- `403`: 0: Token Validation Failed 18: You do not have permission to manage this game
- `429`: 24: Too many attempts.Please try again later.
- `500`: 0: An unknown error occurred.
- `503`: 17: Feature is disabled

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

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

**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. `429`: Retry with exponential backoff (start at 1s). 

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

**Example:**
```bash
curl -X POST -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{GAMEPASSID}/icons/language-codes/{LANGUAGECODE}" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'
```

### DELETE /legacy-game-internationalization/v1/game-passes/{gamePassId}/icons/language-codes/{languageCode}

Delete a localized icon from a game pass

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

**Scopes:** `legacy-game-pass:manage`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `gamePassId` | path | `integer` | Yes | The game pass id |
| `languageCode` | path | `string` | Yes | The language code of the localized icon to delete |

**Responses:**

- `200`: OK → `Roblox.Web.WebAPI.ApiEmptyResponseModel`
- `400`: 22: Invalid language code 23: You can't delete translations for source language 53: Language is not supported for the game. 61: Invalid game pass id
- `401`: 0: Authorization has been denied for this request.
- `403`: 0: Token Validation Failed 18: You do not have permission to manage this game
- `500`: 0: An unknown error occurred.
- `503`: 17: Feature is disabled

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

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

**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, perOauth2Authorization: 100/minute

**Example:**
```bash
curl -X DELETE -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{GAMEPASSID}/icons/language-codes/{LANGUAGECODE}"
```

### GET /legacy-game-internationalization/v1/game-passes/{gamePassId}/name-description

Get all names and descriptions of a game pass

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

**Scopes:** `legacy-game-pass:manage`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `gamePassId` | path | `integer` | Yes | The game pass Id |

**Responses:**

- `200`: OK → `Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.GameInternationalization.Api.NameDescription_`
- `400`: 61: Invalid game pass id
- `401`: 0: Authorization has been denied for this request.
- `503`: 17: Feature is disabled

**Response fields** (`Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.GameInternationalization.Api.NameDescription_`)

See [Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.GameInternationalization.Api.NameDescription_](#roblox-web-webapi-models-apiarrayresponse-roblox-gameinternationalization-api-namedescription-) in Models.

**Response example:**
```json
{
  "data": [
    {
      "name": "...",
      "description": "...",
      "updateType": "...",
      "languageCode": "..."
    }
  ]
}
```

**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. 

**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-game-internationalization/v1/game-passes/{GAMEPASSID}/name-description"
```

### PATCH /legacy-game-internationalization/v1/game-passes/{gamePassId}/name-description/language-codes/{languageCode}

Update localized name and description of a game pass

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

**Scopes:** `legacy-game-pass:manage`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `gamePassId` | path | `integer` | Yes | The game pass id |
| `languageCode` | path | `string` | Yes | The language code of the name/description to update |

**Request Body:** `application/json` — Type: `Roblox.GameInternationalization.Api.UpdateGamePassNameDescriptionRequest`

See [Roblox.GameInternationalization.Api.UpdateGamePassNameDescriptionRequest](#roblox-gameinternationalization-api-updategamepassnamedescriptionrequest) in Models.

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

**Responses:**

- `200`: OK → `Roblox.GameInternationalization.Api.UpdateGamePassNameDescriptionResponse`
- `400`: 13: Request body can't be null 19: New name is null or whitespaces or new name/description is too long 20: New name or description is moderated 22: Invalid language code 26: You can't update translations for source language 53: Language is not supported for the game. 61: Invalid game pass id
- `401`: 0: Authorization has been denied for this request.
- `403`: 0: Token Validation Failed 18: You do not have permission to manage this game
- `503`: 17: Feature is disabled

**Response fields** (`Roblox.GameInternationalization.Api.UpdateGamePassNameDescriptionResponse`)

See [Roblox.GameInternationalization.Api.UpdateGamePassNameDescriptionResponse](#roblox-gameinternationalization-api-updategamepassnamedescriptionresponse) in Models.

**Response example:**
```json
{
  "name": "string",
  "description": "string"
}
```

**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, perOauth2Authorization: 100/minute

**Example:**
```bash
curl -X PATCH -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{GAMEPASSID}/name-description/language-codes/{LANGUAGECODE}" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "description": "string"
}'
```

### DELETE /legacy-game-internationalization/v1/game-passes/{gamePassId}/name-description/language-codes/{languageCode}

Delete localized name and description of a game pass

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

**Scopes:** `legacy-game-pass:manage`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `gamePassId` | path | `integer` | Yes | The game pass id |
| `languageCode` | path | `string` | Yes | The language code of the name and description to delete |

**Responses:**

- `200`: OK → `Roblox.Web.WebAPI.ApiEmptyResponseModel`
- `400`: 22: Invalid language code 23: You can't delete translations for source language 53: Language is not supported for the game. 61: Invalid game pass id
- `401`: 0: Authorization has been denied for this request.
- `403`: 0: Token Validation Failed 18: You do not have permission to manage this game
- `503`: 17: Feature is disabled

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

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

**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, perOauth2Authorization: 100/minute

**Example:**
```bash
curl -X DELETE -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{GAMEPASSID}/name-description/language-codes/{LANGUAGECODE}"
```

### PATCH /legacy-game-internationalization/v1/game-passes/{gamePassId}/name/language-codes/{languageCode}

Update localized name of a game pass

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

**Scopes:** `legacy-game-pass:manage`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `gamePassId` | path | `integer` | Yes | The game pass id |
| `languageCode` | path | `string` | Yes | The language code of the name to update |

**Request Body:** `application/json` — Type: `Roblox.GameInternationalization.Api.UpdateGamePassNameRequest`

See [Roblox.GameInternationalization.Api.UpdateGamePassNameRequest](#roblox-gameinternationalization-api-updategamepassnamerequest) in Models.

**Request example:**
```json
{
  "name": "string"
}
```

**Responses:**

- `200`: OK → `Roblox.GameInternationalization.Api.UpdateGamePassNameResponse`
- `400`: 13: Request body can't be null 19: New name is null or whitespaces or new name/description is too long 20: New name or description is moderated 22: Invalid language code 26: You can't update translations for source language 53: Language is not supported for the game. 61: Invalid game pass id
- `401`: 0: Authorization has been denied for this request.
- `403`: 0: Token Validation Failed 18: You do not have permission to manage this game
- `503`: 17: Feature is disabled

**Response fields** (`Roblox.GameInternationalization.Api.UpdateGamePassNameResponse`)

See [Roblox.GameInternationalization.Api.UpdateGamePassNameResponse](#roblox-gameinternationalization-api-updategamepassnameresponse) in Models.

**Response example:**
```json
{
  "name": "string"
}
```

**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, perOauth2Authorization: 100/minute

**Example:**
```bash
curl -X PATCH -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/legacy-game-internationalization/v1/game-passes/{GAMEPASSID}/name/language-codes/{LANGUAGECODE}" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string"
}'
```

## Models

### GamePassConfigV2

Creator-facing representation of a game pass configuration.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `gamePassId` | `integer` | Yes | The game pass ID. |
| `name` | `string` | Yes | The name of the game pass. |
| `description` | `string` | Yes | The description of the game pass. |
| `isForSale` | `boolean` | Yes | Whether the game pass is currently on sale. |
| `iconAssetId` | `integer` | Yes | The icon image (thumbnail) asset ID of the game pass. |
| `createdTimestamp` | `string` | Yes | The timestamp when the game pass was created. |
| `updatedTimestamp` | `string` | Yes | The timestamp when the game pass was last updated. |
| `priceInformation` | `GamePasses.PriceInformationStruct` | Yes | The pricing configuration associated with the game pass. |
| `isManagedPricingEnabled` | `boolean` | Yes | Whether managed pricing is enabled for the game pass. |
| `isTrialEnabled` | `boolean` | Yes | Whether trials are enabled for the game pass. |

### GamePasses.ErrorResponse

This is the base class for all custom Exceptions that are thrown in this API.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `errorCode` | `GamePasses.ErrorCode` | Yes | The ErrorCode for the exception. |
| `errorMessage` | `string` | Yes | The human readable error message. |
| `field` | `string` | No | The relevant field that caused the error. |
| `hint` | `string` | No | A hint as to what caused the error, if applicable. |

### ListGamePassConfigsByUniverseResponse

Response for listing game pass configuration details by universe

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `gamePasses` | `GamePassConfigV2[]` | Yes | The list of game passes with their corresponding configuration details. |
| `nextPageToken` | `string` | Yes | The next page token. |

### Roblox.GameInternationalization.Api.UpdateGamePassDescriptionRequest

A request model for updating game pass description

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `description` | `string` | No | Game pass description |

### Roblox.GameInternationalization.Api.UpdateGamePassDescriptionResponse

A response model for updating game pass description

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `description` | `string` | No | Game pass description saved |

### Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.GameInternationalization.Api.GetGamePassIconResponse_

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `data` | `Roblox.GameInternationalization.Api.GetGamePassIconResponse[]` | No |  |

### Roblox.Web.WebAPI.Models.ApiArrayResponse_Roblox.GameInternationalization.Api.NameDescription_

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `data` | `Roblox.GameInternationalization.Api.NameDescription[]` | No |  |

### Roblox.GameInternationalization.Api.UpdateGamePassNameDescriptionRequest

A request model for updating game pass name and description

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | No | Game pass name |
| `description` | `string` | No | Game pass description |

### Roblox.GameInternationalization.Api.UpdateGamePassNameDescriptionResponse

A response model for updating game pass name and description

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | No | Game pass name saved |
| `description` | `string` | No | Game pass description saved |

### Roblox.GameInternationalization.Api.UpdateGamePassNameRequest

A request model for updating game pass name

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | No | Game pass name |

### Roblox.GameInternationalization.Api.UpdateGamePassNameResponse

A response model for updating game pass name

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | No | Game pass name saved |

### Roblox.GameInternationalization.Api.NameDescription

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | No |  |
| `description` | `string` | No |  |
| `updateType` | `Invalid \| Name \| Description` | No |  |
| `languageCode` | `string` | No |  |

### Roblox.GameInternationalization.Api.GetGamePassIconResponse

A response model for getting game pass icon

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `imageId` | `string` | No |  |
| `imageUrl` | `string` | No |  |
| `state` | `Approved \| PendingReview \| UnAvailable \| Rejected \| Error` | No | Enum for image status. |
| `languageCode` | `string` | No |  |

### GamePasses.ErrorCode

Code representing various error conditions.

Values: `InternalError`, `BadRequest`, `NotFound`, `UnauthorizedAccess`, `NotAuthenticated`, `PassNotFound`, `TargetUnauthorizedAccess`, `UniverseNotFound`, `MissingArgument`, `AssetCreationFailure`, `PassRevokeFailure`, `PassAlreadyRevoked`, `SalesNotFound`, `CommissionRateNotFound`, `AssetNotFound`, `FileTooLarge`, `ActiveInPO`, `NotForSale`, `NotSameUniverse`, `PricingConfigError`, `InvalidCount`, `Blocked`, `InvalidPageSize`, `InvalidRegionalPricing`, `InvalidManagedPricing`, `UnsupportedGamePassUpdate`

### GamePasses.PriceInformationStruct

The pricing configuration information.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `defaultPriceInRobux` | `integer` | Yes | The configured default price in Robux. |
| `enabledFeatures` | `GamePasses.PricingFeature[]` | Yes | The enabled pricing features for the game pass. |

### GamePasses.PricingFeature

Enum representing enabled features for this particular game pass.

Values: `Invalid`, `PriceOptimization`, `UserFixedPrice`, `RegionalPricing`