Skip to main content
POST

Authorizations

Authorization
string
header
required

Authentication token required for accessing protected endpoints. The token should be obtained from the main SalesCaptain authentication service.

Body

application/json
company_ids
string
required

Comma-separated list of company UUIDs

Example:

"52cd5521-394d-4676-a5dd-16f1a9d488c1,a1b2c3d4-e5f6-7890-abcd-ef1234567890"

start_time
string<date-time>

Start of the analytics window (must be provided with end_time)

Example:

"2026-02-12T00:00:00.000Z"

end_time
string<date-time>

End of the analytics window (must be provided with start_time)

Example:

"2026-08-12T23:59:59.999Z"

Response

Call analytics fetched successfully

message
string
Example:

"Call analytics fetched successfully!"

analytics
object[]
start_time
string<date-time>
Example:

"2026-02-12T00:00:00.000Z"

end_time
string<date-time>
Example:

"2026-08-12T23:59:59.999Z"