Fetch Authentication Token
POST Fetch Authentication Token
This is the API to fetch authentication token using API secret and API key from the LMS Admin Portal.
URL: https://api-preprod.synofin.tech/oauth/authorization
Request:
Request Type: POST
Authorization: Basic Auth
Header: client_name
Follow the below steps to generate API Credentials to use in this API:
- Go to Admin Portal -> Auth & Login -> API Credentials
- Click on Create New, and provide API Description and select the User to map with this API.
Please note, that all the actions performed using the token generated from API Credentials will be shown against this user in LMS Audit.
Response: Success 200 OK
{
"response": true,
"data": {
"response": true,
"user_data": {
"id": 2,
"description": "sindhuja-mfi | Client Integrations",
"createdDate": "2024-08-29T14:12:52.950+00:00",
"apiKey": "7c42f003672245bf901b490e15d636b2",
"apiSecret": "c0917a8b-8a92-44ff-99b6-e30a3a9d54f2",
"active": true,
"userId": {
"id": 10,
"createdDate": null,
"modifiedDate": null,
"createdBy": null,
"modifiedBy": null,
"deleted": false,
"name": "losAPIuser",
"lastName": "",
"employeeCode": null,
"phoneNumber": null,
"mobileNumber": null,
"username": "losAPIuser",
"password": null,
"isWaiverUser": null,
"emailId": null,
"twoFactorEnabled": false,
"authKey": null,
"active": false,
"lastLogin": null,
"lastLogout": null,
"designation": null,
"department": null,
"passwordResetDate": null,
"deactivationTime": null,
"expirationTime": null,
"insightsPlusKey": null,
"synodocsKey": null,
"synoprojectsKey": null,
"reportingBranch": null,
"reportingManager": null
}
},
"auth_data": {
"access_token": "4367161e-cdd2-4625-aecf-e0d82678df9f",
"service_token": "4367161e-cdd2-4625-aecf-e0d82678df9f",
"expires_in": 3600
},
"error_message": null
},
"error": null
}


No Comments