Skip to main content

Overview

The Billing API provides read-only access to your usage statistics. InstaView supports two billing systems and the same endpoint serves both:
  • Minutes (legacy) — companies are billed by interview minutes consumed. Subscription plans include a minutes allowance and an overage rate per minute.
  • Credits (new) — companies are billed in credits, with a per-product price (baseCost plus costPerMinute beyond an includedMinutes window) determined by the agent focus.
Required Scope: read:billing is required to access billing and usage endpoints.

Usage Endpoint

Get Usage Statistics

Query Parameters

  • start (optional): Start date for the usage period (ISO 8601 format)
  • end (optional): End date for the usage period (ISO 8601 format)
  • If not provided, defaults to the last 30 days

Response Structure (Minutes-Based Company)

Response Structure (Credits-Based Company)

Field Descriptions

  • companies: Array of company-level usage (for ATS keys managing multiple companies, this contains all companies)
  • billingSystem (per company): "minutes" or "credits". Determines which usage fields are populated.
  • totalMinutesUsed: Total interview minutes consumed in the period. Present for minutes-based companies (and for ATS keys, aggregated across the managed companies); omitted otherwise.
  • totalCreditsUsed: Total credits consumed in the period. Present for credits-based companies; omitted otherwise.
  • totalInterviews: Total number of interviews conducted.
  • breakdownByCostKey: Usage breakdown by cost category. Each entry exposes costKey, events, and either minutesUsed (minutes-based) or creditsUsed (credits-based). Per-company breakdowns never mix the two units.

Subscription Plans

Subscription plans are defined by:
  • maxInterviewMinutes: Interview minutes included in the plan (minutes-based companies)
  • pricePerMonth: Monthly subscription cost
  • pricePerYear: Annual subscription cost (if applicable)
  • pricePerMinute: Per-minute cost for usage beyond included minutes (minutes-based companies)
  • Feature flags: Various boolean flags for features like custom voices, phone numbers, ATS integrations, etc.
For credits-based companies, per-interview pricing is governed by per-product credit pricing rules (a baseCost, includedMinutes, and costPerMinute per agent focus). Custom overrides may apply per company.
Plan details, credit pricing rules, and any custom overrides are managed through your company dashboard. Contact sales for custom pricing.

Monitoring Usage

Check Period Usage

Usage Alerts

Set up monitoring to track usage patterns:

ATS Integration Keys

For ATS integration keys managing multiple companies, the usage endpoint returns aggregated data across all managed companies:

Usage Reporting

Monthly Usage Report

Date Range Analysis

Cost Breakdown

The breakdownByCostKey field provides granular usage tracking. Each bucket carries minutesUsed for minutes-based companies and creditsUsed for credits-based companies.

Best Practices

Cache usage statistics to reduce API calls:
Monitor usage and set up alerts:
For ATS integrations, monitor usage per company:

Managing Subscriptions

Subscription changes must be made through the dashboard. The API provides read-only access to usage data. Contact your account manager or visit the billing section of your dashboard to modify your subscription plan.
For subscription changes:
  1. Log in to app.instaview.sk
  2. Navigate to SettingsBilling
  3. View available plans and make changes
  4. Or contact sales: sales@instaview.sk

Next Steps

Interview API

Schedule and manage interviews

Best Practices

Optimize your API usage

Error Handling

Handle billing errors gracefully

Scopes & Permissions

Understand API key scopes