Get current user

Get current user

GET https://api.sponseasy.com/v2/user/me

This endpoint allows you to get the current user.

Query Parameters

Name
Type
Description

token

string

{ 
  status: "success",
  data: {
    user: {
      id: id,
      email: email,
      first_name: first_name,
      last_name: last_name,
      organization: organization,
      premium: premium?,
      plan: subscription&.plan,
      subscription: subscription,
      coupon: coupon,
      credit_card: {
        brand: credit_card&.brand,
        exp_month: credit_card&.exp_month,
        exp_year: credit_card&.exp_year,
        last4: credit_card&.last4
      }
    }
  }
}

Last updated

Was this helpful?