organizations
billing

Get the organization's subscription

In beta: the organization billing API is behind the organization-billing-api feature flag and answers 403 without it, so ask support for access. Its shapes may change while it is in beta.

get/api/organizations/{organization_id}/billing/subscription/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/organizations/{organization_id}/billing/subscription/
  • Auth: HTTP bearer

Path parameters

organization_idstring required

ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.

Response

customer_idstring nullable required
has_active_subscriptionboolean required
subscription_levelstring nullable required
billing_planstring nullable required
deactivatedboolean required
is_annual_plan_customerboolean required
free_trial_untilstring date-time nullable required
discount_percentinteger nullable required
discount_amount_usdstring nullable required
amount_off_expires_atstring date-time nullable required
startup_program_labelstring nullable required
startup_program_label_previousstring nullable required
billing_portal_urlstring uri required
invoices_urlstring uri

Changes

No recorded changes to this operation across all 1 revision of this API.