Next Hour App
  • Introduction
    • Introduction
    • Key Features
    • Flutter
  • Installation
    • Flutter Installation
    • App Secret Key
  • project setup
    • App Deployment
      • Firebase
    • iOS Setup Instructions
    • Google Drive Key
    • OneSignal
    • Images
    • Reskinning
  • Publish your app
    • Requirements to Publish App
  • FAQ
    • Installation FAQ's
    • Access Denied
    • General Setting
    • Disclaimer
    • Regular & Extended Licenses
    • Privacy Policy
  • Troubleshoot
    • Troubleshoot
    • Changelogs
  • Source & credit
    • Source & Credit
  • Support
    • Support
  • conclution
    • Conclusion
  • our products
    • Next Hour Addons
    • Our Products
  • Api Document
    • Getting Started
  • Get secret key
  • Auth Api
    • Login
  • Home Page Api
  • Actor detail page
  • Payment Api
    • Payment Method List
    • Manual payment list
    • Subscribed with manual payment
    • Subscribed with free subscription
    • Subscription Stop and Resume
    • Invoice
  • Player Setting Api
    • Player Setting
    • Advertise
  • User Api
    • View User profile
    • Wishlist
    • Watch History
    • User Profile Update
    • Manage Profile
    • Notification
  • Coupon Api
  • Other Api
    • List of Contents
    • Menu
    • Slider
    • Package
    • List of all movies
    • List of all tvseries
    • List of all movies, tveries and top movie and tvseries
    • Recent Movies and Tvseries
    • List of menu by movies and tvseries
    • Language by movies and tvseries
Powered by GitBook
On this page
  1. User Api

View User profile

Fire this api to view user profile.

api/userProfile

GET https://yourdomain.com/api/userProfile

To get user profile information

Query Parameters

Name
Type
Description

secret

string

Client secret key will goes here which you get from admin panel.

Headers

Name
Type
Description

Authorization*

string

Bearer { bearer_token without bracket }

Accept*

string

application/json

{
    "code": "7efe7e04f154c1b59fc872b0b50b98eb8e230da27d250f5704346c53511926d7e2a7c74c5011c6f2",
    "user": {
        "id": 6,
        "name": "Test",
        "image": null,
        "email": "test@info.com",
        "verifyToken": null,
        "status": 1,
        "google_id": null,
        "facebook_id": null,
        "gitlab_id": null,
        "dob": "2021-08-02",
        "age": 0,
        "mobile": null,
        "braintree_id": null,
        "code": null,
        "is_admin": 0,
        "is_assistant": 0,
        "is_blocked": 0,
        "amazon_id": null,
        "created_at": "2021-08-03T14:16:37.000000Z",
        "updated_at": "2021-08-03T14:16:37.000000Z",
        "stripe_id": null,
        "card_brand": null,
        "card_last_four": null,
        "trial_ends_at": null,
        "google2fa_secret": null,
        "google2fa_enable": 0,
        "refer_code": null,
        "refered_from": null
    },
    "paypal": [
        {
            "id": 1,
            "user_id": 6,
            "payment_id": "flw_1637658788619cb0a4b4093",
            "user_name": "test",
            "package_id": 2,
            "price": 120,
            "status": 1,
            "method": "flutterwave",
            "subscription_from": "2021-11-23 14:45:22",
            "subscription_to": "2021-12-23 14:45:22",
            "created_at": "2021-11-23T13:45:22.000000Z",
            "updated_at": "2021-11-23T13:45:22.000000Z",
            "plan": {
                "id": 2,
                "plan_id": "standard01",
                "name": "Standard",
                "currency": "USD",
                "currency_symbol": "fa fa-dollar",
                "amount": "120.00",
                "interval": "month",
                "interval_count": 1,
                "trial_period_days": null,
                "status": "active",
                "screens": 2,
                "download": 0,
                "downloadlimit": null,
                "delete_status": 1,
                "created_at": "2021-08-03T14:45:30.000000Z",
                "updated_at": "2021-08-23T13:10:48.000000Z",
                "free": 0,
                "feature": [
                    "1"
                ],
                "ads_in_web": 0,
                "ads_in_app": 0
            }
        },
        
    ],
    "current_date": "2021-12-21",
    "payment": "flutterwave", //payment method
    "id": 10,
    "current_subscription": "Standard", //package name
    "payid": "flw_1637658788619cb0a4b4093", // txn id
    "start": "2021-11-23 14:45:22",
    "end": "2021-12-23 14:45:22",
    "active": "1",
    "screen": 1,
    "limit": null,
    "remove_ads": 0
}
{
    "message": "Unauthorized !"
}

//or

{
    "message": "Secret Key is required"
}
{
   "message": "Invalid Secret Key !"
}
PreviousUser ApiNextWishlist

Last updated 3 years ago