Skip to main content
GET
/
botMetric
/
agencyMetric
Get agency metric
curl --request GET \
  --url https://api.closebot.com/botMetric/agencyMetric \
  --header 'X-CB-KEY: <api-key>'

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Query Parameters

metric
string

The metric to get. Valid options: responses, bookings, activeSources, contacts, totalStorage, revenue.

start
string<date-time>

The start date.

end
string<date-time>

The end date.

resolution
string

The resolution.

sourceId
string

Optional source ID.

Response

200

Success