Fetch the complete documentation index at: https://docs.tcgplayer.com/llms.txt. Use this file to discover all available pages before exploring further.

# Authorize an Application

Create an application key based on an previously generated
authorization code.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v1.39.0",
    "title": "TcgApi"
  },
  "paths": {
    "/app/authorize/{authCode}": {
      "post": {
        "tags": [
          "App"
        ],
        "summary": "Authorize an Application",
        "description": "Create an application key based on an previously generated\r\nauthorization code.",
        "operationId": "App_AuthorizeApplication",
        "parameters": [
          {
            "name": "authCode",
            "in": "path",
            "description": "Authorization code generated from OAuth.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Application authorized; key returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TcgApiModel.Common.ApiResult_TcgApiModel.App.AuthorizedApp_"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TcgApiModel.Common.ApiResult_TcgApiModel.App.AuthorizedApp_"
                }
              }
            }
          },
          "400": {
            "description": "Invalid authorization code submitted."
          },
          "404": {
            "description": "Submitted authorization code not found."
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.tcgplayer.com"
    }
  ],
  "components": {
    "schemas": {
      "TcgApiModel.App.AuthorizedApp": {
        "type": "object",
        "properties": {
          "authorizationKey": {
            "type": "string"
          }
        }
      },
      "TcgApiModel.Common.ApiResult_TcgApiModel.App.AuthorizedApp_": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TcgApiModel.App.AuthorizedApp"
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 94,
      "1": 217,
      "2": 152,
      "3": 86,
      "4": 78,
      "5": 118,
      "6": 200,
      "7": 0,
      "8": 17,
      "9": 105,
      "10": 157,
      "11": 192
    }
  }
}
```