New Security Features and Enhanced Webhooks
We're introducing two significant enhancements to the ChatterBox API that strengthen security and expand functionality. These updates focus on improving authentication security and expanding webhook functionality.
Temporary Tokens: Enhanced Security for Client-Side Applications
One of the requested features has been a more secure way to authenticate client-side applications. Today, we're introducing temporary tokens that provide a secure alternative to using permanent API tokens in client-side code.
Key Benefits of Temporary Tokens
- Enhanced Security: Generate short-lived tokens that expire after a specified duration
- Client-Side Safety: Use tokens in frontend applications without exposing your permanent API key
- Flexible Duration: Configure token expiration from 1 minute to 24 hours
- Easy Implementation: Simple API endpoint for token generation
How to Use Temporary Tokens
Generate a temporary token using your permanent API token:
curl -X POST https://bot.chatter-box.io/token \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_permanent_token" \
-d '{"expiresIn": 3600}'
The response will include your temporary token and its expiration time:
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expiresIn": 3600
}
Enhanced Webhooks: Transcript Events
We've expanded our webhook functionality to include transcript events, giving you more flexibility in how you receive and process meeting data.