POST
/
api
/
voice-analysis
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
  }
}

Authorizations

x-api-key
string
header
required

API key authentication

Body

application/json

Response

200
application/json

Voice deployment analysis results

The response is of type object.