Section Q - Send password API

Q1 - General Information

GET Method:

/api/v1/send_password/< user_id>/< method>/< template>

Input:

Argument Mandatory Value
userId yes Numeric < Id of the user >
method No Text {sms} < default value is 'sms'>
template No Text {otp, user_receipt} < default value is 'otp'>

Q2 - Sample Output

{ 
 "status":"success",
 "errorCode" = 200,
 "message":"Password is sent"
}

Q3 - Update SMS status

POST Method :

/api/v1/update_sms_status

Input :

Argument Value
smsId Numeric < SMS Id of the sms>
statusCode Numeric < status code of the sms>
message String < Message of the sms>
operator String < Name of the operator>

Sample Output :

"success"