Skip to navigation

Change Plan

Switch the app’s subscription to a different plan (with proration) and re-sync the local record.

Authentication: Required — Bearer token.

Request body:

  • plan_key (required) — One of onboard, educate, engage
  • interval (optional) — Billing interval; defaults to the current subscription interval (normalized to month/year)

Response:

  • data.plan — The updated current plan
  • data.plans — The plan catalog with current flags updated

Side effects: Updates the Stripe subscription in place; may reactivate a canceled subscription or create a new one.

Errors:

  • 401 — Subscription not available / invalid plan or interval / non-switchable status

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
plan_keystringOptional
intervalstringOptional

Response

OK