> ## Documentation Index > Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt > Use this file to discover all available pages before exploring further. # ExchangeAuthCodeForAPIKeyRequest ## Fields | Field | Type | Required | Description | Example | | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -------------------------------------------------------------------------- | -------------------------------------------- | | `Code` | `string` | :heavy\_check\_mark: | The authorization code received from the OAuth redirect | auth\_code\_abc123def456 | | `CodeChallengeMethod` | optionalnullable.OptionalNullable\[[operations.ExchangeAuthCodeForAPIKeyCodeChallengeMethod](../../models/operations/exchangeauthcodeforapikeycodechallengemethod.mdx)] | :heavy\_minus\_sign: | The method used to generate the code challenge | S256 | | `CodeVerifier` | `*string` | :heavy\_minus\_sign: | The code verifier if code\_challenge was used in the authorization request | dBjftJeZ4CVP-mB92K27uhbUJU1p1r\_wW1gFWFOEjXk |