> ## Documentation Index
> Fetch the complete documentation index at: https://opentouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateAuthKeysCodeResponse - TypeScript SDK

> CreateAuthKeysCodeResponse type definition

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

Successfully created authorization code

## Example Usage

```typescript lines theme={null}
import { CreateAuthKeysCodeResponse } from "@openrouter/sdk/models/operations";

let value: CreateAuthKeysCodeResponse = {
  data: {
    appId: 12345,
    createdAt: "2025-08-24T10:30:00Z",
    id: "auth_code_xyz789",
  },
};
```

## Fields

| Field  | Type                                                                                                       | Required             | Description    | Example                                                                           |
| ------ | ---------------------------------------------------------------------------------------------------------- | -------------------- | -------------- | --------------------------------------------------------------------------------- |
| `data` | [operations.CreateAuthKeysCodeData](/agent-sdk/typescript/api-reference/operations/createauthkeyscodedata) | :heavy\_check\_mark: | Auth code data | `{"app_id": 12345,"created_at": "2025-08-24T10:30:00Z","id": "auth_code_xyz789"}` |
