Get the free monitoring trial's availability or progress
GET
/billing/monitoring-trial
const url = 'https://api.invogi.com/v1/billing/monitoring-trial';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.invogi.com/v1/billing/monitoring-trial \ --header 'Authorization: Bearer <token>'Whether a free workspace can start its 14-day monitoring trial (and from which ERP scan), or how the trial it had went. Any member. The trial is not a subscription: entitlement and usage never read it.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Responses
Section titled “Responses”Trial state
Media typeapplication/json
object
available
required
boolean
unavailable_reason
required
string | null
scan_id
required
The scan the trial would start from
string | null format: uuid
provider
required
string | null
trial
required
object
id
required
string format: uuid
status
required
string
provider
required
string | null
scan_id
required
string | null format: uuid
started_at
required
string format: date-time
ends_at
required
string format: date-time
ended_at
required
string | null format: date-time
end_reason
required
string | null
invoice_limit
required
integer
invoices_analyzed
required
integer
invoices_flagged
required
Bills the trial analyzed that raised at least one finding
integer
findings
required
integer
high_severity_findings
required
integer
Examples
Exampleactive
{ "available": false, "unavailable_reason": "TRIAL_USED", "scan_id": null, "provider": "XERO", "trial": { "id": "9b0e4d52-1f7a-4f35-8a8e-0d6a0b1f2c3d", "status": "ACTIVE", "provider": "XERO", "scan_id": "4f1c2a9e-6f4b-4b8e-9a51-2f1d3c7b8e10", "started_at": "2026-10-20T09:12:00Z", "ends_at": "2026-11-03T09:12:00Z", "ended_at": null, "end_reason": null, "invoice_limit": 300, "invoices_analyzed": 41, "invoices_flagged": 3, "findings": 4, "high_severity_findings": 1 }}Missing or invalid API key
Media typeapplication/json