Skip to content

Commit 7162076

Browse files
committed
feat: replace fake docs with live vapi documentation api
1 parent eccc5a1 commit 7162076

File tree

16 files changed

+1108
-854
lines changed

16 files changed

+1108
-854
lines changed

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The official command-line interface for [Vapi](https://vapi.ai) - Voice AI for d
44

55
## Features
66

7-
- 🔐 **Browser-based Authentication** - Secure OAuth-style login flow
7+
- 🔐 **Authentication Management** - Secure OAuth login, logout, and account switching
88
- 🤖 **Assistant Management** - List, create, update, and delete voice assistants
99
- 💬 **Chat Management** - Text-based conversations and chat history
1010
- 📞 **Enhanced Call Management** - Full call lifecycle control and monitoring
@@ -118,6 +118,40 @@ vapi login
118118

119119
This will open your browser for secure authentication. Your API key will be saved locally.
120120

121+
#### Managing Authentication
122+
123+
For users who work with multiple organizations or need to switch accounts:
124+
125+
```bash
126+
# Check current authentication status and list all accounts
127+
vapi auth status
128+
129+
# Switch between multiple authenticated accounts
130+
vapi auth switch [account-name]
131+
132+
# View current API key and source
133+
vapi auth token
134+
135+
# View current user and organization info
136+
vapi auth whoami
137+
138+
# Add another account (keeping existing ones)
139+
vapi auth login
140+
141+
# Logout from current account
142+
vapi auth logout
143+
144+
# Logout from all accounts
145+
vapi auth logout --all
146+
```
147+
148+
The CLI supports **multiple accounts** simultaneously, similar to GitHub CLI. This is perfect for:
149+
150+
- Working with multiple Vapi organizations
151+
- Switching between production and staging environments
152+
- Managing different client accounts
153+
- Team collaboration with role-specific access
154+
121155
### Assistant Management
122156

123157
```bash

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.1
1+
0.1.2

0 commit comments

Comments
 (0)