Skip to main content
GET
Returns the conversations and unique sessions of each subcompany over a range that ends at request time.

Parameters

Subcompany fields

Each subcompany queries the metrics service, so a full page can take a few seconds. Use companyId to refresh a single company, and retry later the ones that come with partial: true.

Authorizations

x-api-key
string
header
required

Organization API key with the partners:read scope.

Query Parameters

range
enum<string>
required

Time range.

Available options:
last_24h,
last_7d,
last_30d,
last_90d
companyId
integer

Restrict the result to one subcompany. Responds 404 when it is not a subscriber of the partner.

Required range: x >= 1
page
integer
default:1

Page number.

Required range: x >= 1
limit
integer
default:25

Subcompanies per page.

Required range: 1 <= x <= 25

Response

A page of subcompanies.

success
any
required
statusCode
any
required
result
object
required