---
title: "OauthV2ExchangeResponse"
summary: "@slack/web-api / OauthV2ExchangeResponse"
url: "https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/type-aliases/OauthV2ExchangeResponse"
type: "guide"
---

Source: https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/type-aliases/OauthV2ExchangeResponse

[@slack/web-api](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api.md) / OauthV2ExchangeResponse

# Type Alias: OauthV2ExchangeResponse

```
type OauthV2ExchangeResponse = WebAPICallResult & object;
```

Defined in: [packages/web-api/src/types/response/OauthV2ExchangeResponse.ts:11](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/types/response/OauthV2ExchangeResponse.ts#L11)

## Type Declaration {#type-declaration}

### access_token? {#access_token}

```
optional access_token?: string;
```

### app_id? {#app_id}

```
optional app_id?: string;
```

### authed_user? {#authed_user}

```
optional authed_user?: AuthedUser;
```

### bot_user_id? {#bot_user_id}

```
optional bot_user_id?: string;
```

### enterprise? {#enterprise}

```
optional enterprise?: Enterprise;
```

### error? {#error}

```
optional error?: string;
```

### expires_in? {#expires_in}

```
optional expires_in?: number;
```

### incoming_webhook? {#incoming_webhook}

```
optional incoming_webhook?: IncomingWebhook;
```

### is_enterprise_install? {#is_enterprise_install}

```
optional is_enterprise_install?: boolean;
```

### needed? {#needed}

```
optional needed?: string;
```

### ok? {#ok}

```
optional ok?: boolean;
```

### provided? {#provided}

```
optional provided?: string;
```

### refresh_token? {#refresh_token}

```
optional refresh_token?: string;
```

### response_metadata? {#response_metadata}

```
optional response_metadata?: ResponseMetadata;
```

### scope? {#scope}

```
optional scope?: string;
```

### team? {#team}

```
optional team?: Enterprise;
```

### token_type? {#token_type}

```
optional token_type?: string;
```

### warning? {#warning}

```
optional warning?: string;
```
