CreateAuthKeysCodeData - TypeScript SDK
CreateAuthKeysCodeData - TypeScript SDK
CreateAuthKeysCodeData type definition
Auth code data
CreateAuthKeysCodeData - TypeScript SDK
Auth code data
1 import { CreateAuthKeysCodeData } from "@openrouter/sdk/models/operations"; 2 3 let value: CreateAuthKeysCodeData = { 4 appId: 12345, 5 createdAt: "2025-08-24T10:30:00Z", 6 id: "auth_code_xyz789", 7 };
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
appId | number | ✔️ | The application ID associated with this auth code | 12345 |
createdAt | string | ✔️ | ISO 8601 timestamp of when the auth code was created | 2025-08-24T10:30:00Z |
id | string | ✔️ | The authorization code ID to use in the exchange request | auth_code_xyz789 |