Get organization trial state
Changed onGet any organization's trial state, as GET /subscriptions/trial-state reports it to the organization itself.
This endpoint is for superusers only. A no-credit-card Professional trial (WBC-763) has no local subscription row -- the trial lives only on the Orb subscription -- so getOrganizationSubscription returns null for it, and this is how the superuser pane tells a trialing org from one that is missing its subscription.
All-null trial fields mean the org's active Orb subscription has no trial window. They do not mean the org never trialed: a lapse downgrade to Community replaces the Orb subscription. Orb never clears a trial end date either, so an org that paid for years after a plan-default trial reads converted.
Unlike the org-scoped route, a failed Orb lookup is a 424 rather than all-null fields: an operator would otherwise read a trialing org as having no trial, with nothing to say the answer is incomplete. The Orb cache is shared with that route, so after repeated failures it may answer 424 for up to TRIAL_SIGNALS_STALE_REFRESH_BACKOFF_SECONDS without asking Orb again.
Request
- Base URLhttps://api.cloud.wherobots.com
- URLhttps://api.cloud.wherobots.com/management/organization/{organization_id}/trial-state
- Auth
- HTTP bearer
- or API key in header X-API-Key
Path parameters
Response
Successful Response
Changes
- info
endpoint added
- info