Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions fern/changelog/2025-02-27.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# 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: "#", "*", or "" (empty string)
"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`
Loading