Skip to main content
GET
/
v2
/
dashboard_data_v2
cURL
curl --request GET \
  --url https://app.closerx.ai/api/v2/dashboard_data_v2/ \
  --header 'Company-Name: <company-name>' \
  --header 'api_key: <api-key>'
{
  "success": true,
  "message": "<string>",
  "total_cost": 123,
  "total_call_duration": 123,
  "completed_calls_percentage": 123,
  "other_call_percentage": 123,
  "monthly_data": [
    {
      "name": "<string>",
      "data": [
        123
      ]
    }
  ]
}

Authorizations

api_key
string
header
required

Headers

Company-Name
string
required

The name of the schema to be used for the request

Response

Dashboard data response

success
boolean
required

Indicates whether the data fetch was successful

message
string
required

Message describing the result of the request

total_cost
number<float>
required

Total cost of the calls

total_call_duration
integer
required

Total duration of all calls in seconds

completed_calls_percentage
number<float>
required

Percentage of calls that were completed

other_call_percentage
number<float>
required

Percentage of other (non-completed) calls

monthly_data
object[]
required

Array of monthly data metrics