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

User Profile Update

Fire this api to update user profile.

api/profileupdate

POST https://yourdomain.com/api/profileupdate

This api endpoint for to update 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

Request Body

Name
Type
Description

name

string

enter username

new_password

string

enter new password

image

string

enter user image

dob

date

enter user's date of birth

mobile

string

enter user's mobile number

{
    "auth": {
        "id": 6,
        "name": "Info",
        "image": null,
        "email": "info@mediacity.co.in",
        "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
    }
}
{
    "message": "Unauthorized !"
}

//or

{
    "message": "Secret Key is required"
}
{
    "message": "Invalid Secret Key !"
}
PreviousWatch HistoryNextManage Profile

Last updated 3 years ago