Oauth
User login with facebook
Body
emailIdstringOptional
oauthDatastringOptional
Responses
200
Success Response
application/json
tokenstringOptional
post/facebook-login
POST /facebook-login HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 37
"emailId='text'&oauthData='text'"200
Success Response
{
"token": "text",
"user": {
"createdBy": 1,
"createdDate": "2026-01-01T00:00:00.000Z",
"modifiedBy": 1,
"modifiedDate": "2026-01-01T00:00:00.000Z",
"id": 1,
"firstName": "text",
"lastName": "text",
"username": "text",
"password": "text",
"email": "text",
"mobileNumber": 1,
"address": "text",
"countryId": 1,
"zoneId": 1,
"city": "text",
"local": "text",
"oauthData": "text",
"avatar": "text",
"newsletter": "text",
"avatarPath": "text",
"customerGroupId": 1,
"lastLogin": "text",
"safe": 1,
"ip": "text",
"mailStatus": 1,
"pincode": "text",
"deleteFlag": 1,
"isActive": 1,
"forgetPasswordKey": "text",
"linkExpires": "text",
"lockedOn": "text"
}
}User login with gmail
Body
emailIdstringOptional
oauthDatastringOptional
Responses
200
Success Response
application/json
tokenstringOptional
post/gmail-login
POST /gmail-login HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 37
"emailId='text'&oauthData='text'"200
Success Response
{
"token": "text",
"user": {
"password": "text",
"email": "text",
"username": "text",
"oauthData": "text",
"isActive": 1,
"ip": "text",
"createdDate": "text",
"id": 1
}
}Last updated

