> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vapi.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.vapi.ai/_mcp/server.

# Phone Keypad Input Support, OAuth2 and Analytics Improvements

1. **Keypad Input Support for Phone Calls:** A new [`keypadInputPlan`](https://api.vapi.ai/api#:~:text=KeypadInputPlan) feature has been added to enable handling of DTMF (touch-tone) keypad inputs during phone calls. This allows your voice assistant to collect numeric input from callers, like account numbers, menu selections, or confirmation codes.

Configuration options:

```json
{
  "keypadInputPlan": {
    "enabled": true,               // Default: false
    "delimiters": ["#"],           // Options: ["#"], ["*"], [""]
    "timeoutSeconds": 2            // Range: 0.5-10 seconds, Default: 2
  }
}
```

The feature can be configured in:

* `assistant.keypadInputPlan`
* `call.squad.members.assistant.keypadInputPlan`
* `call.squad.members.assistantOverrides.keypadInputPlan`

2. **OAuth2 Authentication Enhancement:** The [`OAuth2AuthenticationPlan`](https://api.vapi.ai/api#:~:text=OAuth2AuthenticationPlan) now includes a `scope` property to specify access scopes when authenticating. This allows more granular control over permissions when integrating with OAuth2-based services.

```json
{
  "credentials": [
    {
      "authenticationPlan": {
        "type": "oauth2",
        "url": "https://example.com/oauth2/token",
        "clientId": "your-client-id",
        "clientSecret": "your-client-secret",
        "scope": "read:data"  // New property, max length: 1000 characters
      }
    }
  ]
}
```

The scope property can be configured at:

* `assistant.credentials.authenticationPlan`
* `call.squad.members.assistant.credentials.authenticationPlan`

3. **New Analytics Metric: Minutes Used** The [`AnalyticsOperation`](https://api.vapi.ai/api#:~:text=AnalyticsOperation) schema now includes a new column option: `minutesUsed`. This metric allows you to track and analyze the duration of calls in your usage reports and analytics dashboards.

4. **Removed TrieveKnowledgeBaseCreate Schema:** Removed `TrieveKnowledgeBaseCreate` schema from

* `TrieveKnowledgeBase.createPlan`
* `CreateTrieveKnowledgeBaseDTO.createPlan`
* `UpdateTrieveKnowledgeBaseDTO.createPlan`