curl --request POST \
--url https://brainbase-monorepo-api.onrender.com/api/voice-analysis \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"granularity": "monthly",
"deploymentIds": [
"<string>"
],
"workerId": "<string>",
"includeTransfers": true,
"includeCallDetails": false,
"timezone": "UTC"
}'
{
"summary": {
"totalCalls": 123,
"totalMinutes": 123,
"totalTransfers": 123,
"totalTransferMinutes": 123,
"averageCallDuration": 123
}
}
curl --request POST \
--url https://brainbase-monorepo-api.onrender.com/api/voice-analysis \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"granularity": "monthly",
"deploymentIds": [
"<string>"
],
"workerId": "<string>",
"includeTransfers": true,
"includeCallDetails": false,
"timezone": "UTC"
}'
{
"summary": {
"totalCalls": 123,
"totalMinutes": 123,
"totalTransfers": 123,
"totalTransferMinutes": 123,
"averageCallDuration": 123
}
}
API key authentication
Voice deployment analysis results
The response is of type object
.