Custom TTS Cost Reporting Integration
# support
k
Subject: How to report custom TTS server costs to Vapi's cost analytics --- I'm using a custom TTS server with Vapi and need to report its costs back to Vapi's built-in cost analytics for complete usage tracking. Questions: - What API endpoint or method should I use to report TTS costs? - What data format and metadata (call ID, session ID, etc.) are required? - Is there documentation for custom provider cost integration? This is needed for accurate cost tracking across all service components.
p
Hey, To report custom TTS server costs to Vapi's cost analytics, you can use the following: 1.API Endpoint: You should use the /report-costs endpoint to report TTS costs. 2.Data Format: The required data format is JSON. You need to include metadata such as call ID, session ID, and the cost amount. 3.Documentation: Yes, there is documentation available for custom provider cost integration. You can find it in the Vapi developer portal under the API documentation section. Let me know if you need any more details!
3 Views