Account related apis
All account related apis.
Sign Up
POST
https://api.mycontract.co:3001/v1/admin/signup
This endpoint allows you to signup for admin.
Request Body
string
User email
password
string
User password
firstName
string
First name of user
lastName
string
Last name of user
Login
POST
https://api.mycontract.co:3001/v1/admin/login
This endpoint allows you to login as admin.
Query Parameters
string
User email.
password
string
Password for respective email address.
Profile details
GET
https://api.mycontract.co:3001/v1/admin/details
This endpoint is used to get admin profile details
Headers
Authorization
string
JWT token
upload KYC data
POST
https://api.mycontract.co:3001/v1/admin/uploadKYC
This endpoint is used to upload KYC data.
Path Parameters
Authorization
string
JWT token
Request Body
companyName
string
Company name
companyLogo
string
Compnay logo in .png format
fullName
string
User's full name
ISDCode
string
User's ISD code
contactNumber
number
User's phone number
kycDocName1
string
Document name
kycDoc1
object
Document photo in .jpeg format
kycDocName2
string
Document name
kycDoc2
string
Document photo in .jpeg format
kycDocName3
string
Document name
kycDoc3
string
Document photo in .jpeg format
Client list
GET
https://api.mycontract.co:3001/v1/admin/client/list
This endpoint is used to retrieve client list.
Headers
Authorization
string
JWT token
Individual client detail
GET
https://api.mycontract.co:3001/v1/admin/client/:clientId
Headers
Authorization
string
JWT token
Update client KYC status
POST
https://api.mycontract.co:3001/v1/admin/client/updateKYC/:clientId
This endpoint is used to update KYC status.
Headers
Authorization
string
JWT token
Request Body
kycStatus
string
KYC status parameters ('notInitiated','active', 'pending', 'rejected')
accountStatus
boolean
client account status in terms of true and false.
Logout
GET
https://api.mycontract.co:3001/v1/admin/logout
This endpoint is used to end user session.
Path Parameters
Authorization
string
JWT token
Last updated