# ApiKey


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_key_id** | **string** | Unique identifier for the API key | [default to undefined]
**name** | **string** | User-provided name for the API key | [default to undefined]
**key_type** | [**ApiKeyType**](ApiKeyType.md) | Signing algorithm of this key, derived from its stored public key. Present for RSA and Ed25519 keys, including existing keys. Omitted when the algorithm is unknown. | [optional] [default to undefined]
**scopes** | [**Array&lt;ApiKeyScope&gt;**](ApiKeyScope.md) | List of scopes granted to this API key. | [default to undefined]
**subaccount** | **number** | If set, the API key is restricted to this single sub-account and may only read and trade on it. Absent/null means the key is unrestricted. | [optional] [default to undefined]
**fcm_subtrader_id** | **string** | If set, the API key is bound to this single FCM subtrader ({fcm_user_id}_{suffix}) and is usable only as that institution\&#39;s trading credential - FIX sessions and subtrader-scoped margin WebSocket sessions; every REST endpoint is denied. Absent/null means the key carries no subtrader binding. | [optional] [default to undefined]

## Example

```typescript
import { ApiKey } from 'kalshi-typescript';

const instance: ApiKey = {
    api_key_id,
    name,
    key_type,
    scopes,
    subaccount,
    fcm_subtrader_id,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
