Stripe (public)

Get Session Status

Called by /thank-you to decide which UI to show:

  • user_exists=True → "Welcome back, sign in"
  • user_exists=False → "Create your account"

Returns email (lowercased) so the sign-up form can pre-fill it.

get/api/billing/website/session-status

Request

  • Base URL
    https://api.premierecopilot.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.premierecopilot.com/api/billing/website/session-status
  • Auth
    none declared

Query parameters

session_idstring required

Response

Successful Response

emailstring nullable required
user_existsboolean required
payment_statusstring nullable required
subscription_typeinteger nullable required

Changes

No recorded changes to this operation across all 11 revisions of this API.