Login

This API is used when user initiates Login process.

Resource URL

POST - /sms/2.0/user/login/{device_type}/{username}

Header Paramater

Authorization
required
Bearer Access Token

NOTE: Access Token here refers to the access authorization token.

URL Parameter

device_type
required
Web, ROKU, iPhone, iPad, Android-Phone, Android-Tab etc are the clients by which an user can get registered.
username
required
Email ID is taken as the User name for an individual user.

Form Parameter

password
required
Password is the unique key of the user to login.
device_num
required
Device Unique number.
device_name
optional
Name of the Device.
idfa
optional
Identifier for Advertisers (IFA or IDFA) is a temporary device identifier used by the Apple/Android/Roku etc of handheld devices. It provides device identification while giving end users the ability to limit the device/consumer information accessed by advertisers or apps. A successor of Unique Device Identifier (UDID),

Example Request URL

POST - http://_JTV_HOST_/sms/2.0/user/login/{device_type}/{username}

Example Request

PHP Code

Example Return

Success
NOTE : "user" object and device_num (For e.g 587645d9efb0ae4232e) should be kept in device local storage for future device authentication."
Failure