> ## 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.

# TokenExchangeResponse

RFC 8693 token exchange response.

## Example Usage

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

let value: TokenExchangeResponse = {
  accessToken: "<short-lived openrouter access token jwt>",
  expiresIn: 900,
  issuedTokenType: "urn:ietf:params:oauth:token-type:access_token",
  scope: "inference",
  tokenType: "Bearer",
};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `accessToken` | *string* | :heavy\_check\_mark: | A short-lived JWT to send as `Authorization: Bearer` to the inference API. | \<short-lived openrouter access token jwt> |
| `expiresIn` | *number* | :heavy\_check\_mark: | Seconds until the access token expires: at most 15 minutes, and never later than the subject token expires. | 900 |
| `issuedTokenType` | [models.IssuedTokenType](../models/issuedtokentype.mdx) | :heavy\_check\_mark: | N/A | urn:ietf:params:oauth:token-type:access\_token |
| `scope` | *string* | :heavy\_check\_mark: | N/A | inference |
| `tokenType` | [models.TokenType](../models/tokentype.mdx) | :heavy\_check\_mark: | N/A | Bearer |
