subscriptions

Get My Subscription

Get the current user's subscription details.

Creates an essai subscription if the user doesn't have one.

get/api/v1/subscriptions/me

Request

  • Base URL: https://api.alert.camp (the document declares no server; this is the origin it was published from)
  • URL: https://api.alert.camp/api/v1/subscriptions/me
  • Auth: none declared

Headers

authorizationstring nullable
x-dev-user-idstring nullable
x-app-versionstring nullable

Response

Successful Response

idstring required
user_idstring required
status'trial' | 'active' | 'past_due' | 'canceled' | 'expired' required

Subscription status states.

plan'monthly' required

Available subscription plans.

tier'essai' | 'regular' | 'pro'

Subscription tier levels.

pending_tier'essai' | 'regular' | 'pro'

Subscription tier levels.

trial_startstring date nullable required
trial_endstring date nullable required
current_period_startstring date nullable required
current_period_endstring date nullable required
canceled_atstring date-time nullable required
cancel_at_period_endboolean required
created_atstring date-time required
updated_atstring date-time required
is_activeboolean required
is_trialboolean required
trial_days_remaininginteger required
days_until_renewalinteger nullable required

Changes

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