> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateAuthKeysCodeData - Python SDK

> CreateAuthKeysCodeData method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

Auth code data

## Fields

| Field        | Type  | Required             | Description                                              | Example              |
| ------------ | ----- | -------------------- | -------------------------------------------------------- | -------------------- |
| `app_id`     | *int* | :heavy\_check\_mark: | The application ID associated with this auth code        | 12345                |
| `created_at` | *str* | :heavy\_check\_mark: | ISO 8601 timestamp of when the auth code was created     | 2025-08-24T10:30:00Z |
| `id`         | *str* | :heavy\_check\_mark: | The authorization code ID to use in the exchange request | auth\_code\_xyz789   |
