Get the organization's current subscription/plan status mirrored from Paddle
GET
/billing/subscription
const url = 'https://api.invogi.com/v1/billing/subscription';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/subscription \ --header 'Authorization: Bearer <token>'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”Subscription
Media typeapplication/json
object
plan_code
required
Values after ENTERPRISE are returned only for retired or manually provisioned contracts; self-service checkout accepts CONTROL only.
string
status
required
string
billing_interval
required
string
currency_code
string | null
pricing_version
required
string
invoice_allowance
required
Allowance for the full monthly or annual billing period
integer | null
monthly_invoice_limit
integer | null
additional_legal_entities
required
integer
current_period_end
required
string | null format: date-time
Example
{ "plan_code": "CONTROL", "status": "trialing", "billing_interval": "month", "currency_code": "GBP", "pricing_version": "v1-2026-11"}Missing or invalid API key
Media typeapplication/json
Resource not found
Media typeapplication/json