Download OpenAPI specification:Download
{context}/user/v1 - Note: These resources can be used in other servicesRetrieve the list of user roles.
/user/v1/userRole/listrequired.| page | integer Please add page number | 
| limit | integer Number of records to limit | 
| search | string Please search for information such as 'title' names | 
| user_type | integer filtering based on the user_type | 
| visibility | string filtering based on the visibility | 
| status | string filtering based on the status | 
| organization_id | integer filtering based on the organization_id | 
| X-auth-token required | string X-auth-token obtained from the login API response. | 
{- "responseCode": "OK",
- "message": "Roles fetched successfully",
- "result": {- "data": [- {- "id": 6,
- "title": "system_manager",
- "user_type": 1,
- "visibility": "PUBLIC",
- "status": "ACTIVE",
- "organization_id": 1
 }
 ],
- "count": 1
 },
- "meta": {- "formsVersion": [ ],
- "correlation": "b36f45cf-039c-466d-9c50-4649fa4e0856"
 }
}Create roles for users.
/user/v1/userRole/Create.required.| X-auth-token required | string Access token of the user | 
| id | string | 
| title | string | 
| label | string | 
| user_type | number | 
| object | |
| status | string | 
| visibility | string | 
| object | 
{- "id": "12",
- "title": "head_master",
- "label": "Head Master",
- "user_type": 1,
- "meta": {- "entityTypes": [- {- "entityTypeId": "5f32d8228e0dc8312404056e",
- "entityType": "state"
 }
 ]
 },
- "status": "ACTIVE",
- "visibility": "PUBLIC",
- "translations": {- "hi": {- "title": "हेड मास्टर"
 },
- "kn": {- "title": "ಹೆಡ್ ಮಾಸ್ಟರ್"
 },
- "te": {- "title": "హెడ్ మాస్టర్"
 },
- "bn": {- "title": "হেড মাস্টার"
 },
- "gu": {- "title": "હેડ માસ્તર"
 },
- "ta": {- "title": "தலைமை ஆசிரியர்"
 },
- "pa": {- "title": "ਹੈੱਡ ਮਾਸਟਰ"
 },
- "ml": {- "title": "ഹെഡ് മാസ്റ്റർ"
 },
- "mr": {- "title": "मुख्याध्यापक"
 },
- "ur": {- "title": "ہیڈ ماسٹر"
 },
- "or": {- "title": "ହେଡ୍ ମାଷ୍ଟର |"
 }
 }
}{- "responseCode": "OK",
- "message": "Roles added successfully",
- "result": {- "title": "head_master",
- "user_type": 1,
- "status": "ACTIVE",
- "visibility": "PUBLIC",
- "organization_id": 1,
- "translations": {- "hi": {- "title": "हेड मास्टर"
 },
- "kn": {- "title": "ಹೆಡ್ ಮಾಸ್ಟರ್"
 },
- "te": {- "title": "హెడ్ మాస్టర్"
 },
- "bn": {- "title": "হেড মাস্টার"
 },
- "gu": {- "title": "હેડ માસ્તર"
 },
- "ta": {- "title": "தலைமை ஆசிரியர்"
 },
- "pa": {- "title": "ਹੈੱਡ ਮਾਸਟਰ"
 },
- "ml": {- "title": "ഹെഡ് മാസ്റ്റർ"
 },
- "mr": {- "title": "मुख्याध्यापक"
 },
- "ur": {- "title": "ہیڈ ماسٹر"
 },
- "or": {- "title": "ହେଡ୍ ମାଷ୍ଟର |"
 }
 }
 },
- "meta": {- "formsVersion": [ ],
- "correlation": "9bf9e3f3-8f97-416a-b9a3-9ae5fe39018a"
 }
}Use this API to update an user Role.
/user/v1/userRole/update/{id}required.| id required | integer  Example:  1 Please append a valid user ID to the request URL. | 
| X-auth-token required | string Access token obtained from the login API response. | 
| title | string | 
| user_type | number | 
| label | string | 
| object | |
| object | |
| status | string | 
| visibility | string | 
{- "title": "headmaster_state",
- "user_type": 1,
- "label": "Head Master",
- "meta": {- "entityTypes": [- {- "entityTypeId": "5f32d8228e0dc83124040567",
- "entityType": "school"
 }
 ]
 },
- "translations": {- "hi": {- "title": "हेड मास्टर"
 },
- "kn": {- "title": "ಹೆಡ್ ಮಾಸ್ಟರ್"
 },
- "te": {- "title": "హెడ్ మాస్టర్"
 },
- "bn": {- "title": "হেড মাস্টার"
 },
- "gu": {- "title": "હેડ માસ્તર"
 },
- "ta": {- "title": "தலைமை ஆசிரியர்"
 },
- "pa": {- "title": "ਹੈੱਡ ਮਾਸਟਰ"
 },
- "ml": {- "title": "ഹെഡ് മാസ്റ്റർ"
 },
- "mr": {- "title": "मुख्याध्यापक"
 },
- "ur": {- "title": "ہیڈ ماسٹر"
 },
- "or": {- "title": "ହେଡ୍ ମାଷ୍ଟର |"
 }
 },
- "status": "ACTIVE",
- "visibility": "PUBLIC"
}{- "responseCode": "OK",
- "message": "Roles updated successfully",
- "result": {- "title": "head_master",
- "user_type": 1,
- "status": "ACTIVE",
- "visibility": "PUBLIC",
- "organization_id": 1,
- "translations": {- "hi": {- "title": "हेड मास्टर"
 },
- "kn": {- "title": "ಹೆಡ್ ಮಾಸ್ಟರ್"
 },
- "te": {- "title": "హెడ్ మాస్టర్"
 },
- "bn": {- "title": "হেড মাস্টার"
 },
- "gu": {- "title": "હેડ માસ્તર"
 },
- "ta": {- "title": "தலைமை ஆசிரியர்"
 },
- "pa": {- "title": "ਹੈੱਡ ਮਾਸਟਰ"
 },
- "ml": {- "title": "ഹെഡ് മാസ്റ്റർ"
 },
- "mr": {- "title": "मुख्याध्यापक"
 },
- "ur": {- "title": "ہیڈ ماسٹر"
 },
- "or": {- "title": "ହେଡ୍ ମାଷ୍ଟର |"
 }
 }
 },
- "meta": {- "formsVersion": [ ],
- "correlation": "219aa424-7df2-43b1-b822-721195a53eec"
 }
}This API is associated with deleting an role.
/user/v1/userRole/delete/{id}.required.| id required | integer  Example:  31 Please append a valid user role ID to the request URL. | 
| X-auth-token required | string To use the API, include X-auth-token. This is available in the login API response. | 
{- "responseCode": "OK",
- "message": "Module deleted successfully",
- "result": { },
- "meta": {- "formsVersion": [ ],
- "correlation": "645c901e-a7db-49a3-8d4c-dfc4f0b6dadb"
 }
}Create modules for users.
/user/v1/modules/update.required.| X-auth-token required | string Access token of the admin. | 
| code required | string | 
{- "code": "allsessionss"
}{- "responseCode": "OK",
- "message": "MODULES_UPDATED_SUCCESSFULLY",
- "result": {- "id": 6,
- "status": "ACTIVE",
- "code": "allsessionss"
 },
- "meta": {- "correlation": "17c9e91d-5b08-4db0-9ed6-627a803c804b",
- "meetingPlatform": "BBB"
 }
}Get a list of modules.
/user/v1/modules/list.required.| page | integer Page number for pagination. | 
| limit | integer Number of items per page. | 
| search | string search on code | 
| X-auth-token required | string Access token of the admin. | 
{- "responseCode": "OK",
- "message": "Module fetched successfully",
- "result": {- "data": [- {- "id": 6,
- "code": "adminsystem",
- "status": "ACTIVE"
 },
- {- "id": 2,
- "code": "manage_session",
- "status": "ACTIVE"
 },
- {- "id": 4,
- "code": "modules",
- "status": "ACTIVE"
 },
- {- "id": 5,
- "code": "system",
- "status": "ACTIVE"
 }
 ],
- "count": 4
 },
- "meta": {- "correlation": "4cbb42f7-ed92-41a1-b93d-d689121cda08",
- "meetingPlatform": "BBB"
 }
}Create rolePermissionMapping for users.
/user/v1/rolePermissionMapping/create.required.| X-auth-token required | string Access token of the admin. | 
| permission_id | number | 
{- "permission_id": 1
}{- "responseCode": "OK",
- "message": "Permission added to the role",
- "result": {- "roleId": 2,
- "permissionId": 1,
- "module": "mentees",
- "request_type": [- "GET"
 ]
 },
- "meta": {- "correlation": "ad793d7f-3bb1-4bbd-9d59-bdf79dff5f86",
- "meetingPlatform": "BBB"
 }
}Create rolePermissionMapping for users.
/user/v1/rolePermissionMapping/delete.required.| X-auth-token required | string Access token of the admin. | 
| permission_id required | number | 
{- "permission_id": 1
}{- "responseCode": "OK",
- "message": "ROLE_PERMISSION_MAPPING_DELETED_SUCCESSFULLY",
- "result": { },
- "meta": {- "correlation": "4373a59a-ca10-4932-b7ce-8675009ef388",
- "meetingPlatform": "BBB"
 }
}This API is used to verify the health status of the user Service and its dependencies.
required{- "id": "service.health.api",
- "ver": "1.0",
- "ts": "2025-07-18T06:26:10.726Z",
- "params": {- "resmsgid": "189bdb70-63a0-11f0-b86a-3b7c197fc982",
- "msgid": "189bdb71-63a0-11f0-b86a-3b7c197fc982",
- "status": "successful",
- "err": null,
- "errMsg": null
 },
- "status": 200,
- "result": {- "name": "UserService",
- "version": "1.0.0",
- "healthy": true,
- "checks": [- {- "name": "Kafka",
- "healthy": true,
- "err": "",
- "errMsg": ""
 },
- {- "name": "redis",
- "healthy": true,
- "err": "",
- "errMsg": ""
 },
- {- "name": "EntityManagementService",
- "healthy": true,
- "err": "",
- "errMsg": ""
 },
- {- "name": "SchedulerService",
- "healthy": true,
- "err": "",
- "errMsg": ""
 }
 ]
 }
}This Api is associated with Create User on mentoring
/user/v1/account/create required Request body consist of metadata and accepts payload as JSON
| name required | string Name of the user | 
| email required | string Email Id of user | 
| password required | string <password>  Password of user | 
| otp | string Email OTP for verification | 
| has_accepted_terms_and_conditions | boolean Flag specifiying if user has accepted the terms & conditions | 
{- "name": "John Deo",
- "email": "example@mail.com",
- "password": "Password",
- "otp": 6845975,
- "has_accepted_terms_and_conditions": true
}{- "responseCode": "OK",
- "message": "Sign-up successful Please wait while logging in.",
- "result": {- "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
- "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
- "user": {- "id": 8,
- "email": "example@mail.com",
- "email_verified": "true",
- "name": "John Deo",
- "status": "ACTIVE",
- "has_accepted_terms_and_conditions": true,
- "preferred_language": "en",
- "organization_id": 1,
- "roles": [- 3
 ],
- "created_at": "2023-09-20T11:59:37.871Z",
- "updated_at": "2023-09-20T11:59:37.871Z",
- "user_roles": [- {- "id": 3,
- "title": "mentee",
- "user_type": 0,
- "status": "ACTIVE"
 }
 ]
 }
 }
}This API is associated with logging in a user.
/user/v1/account/loginrequired.Request body for user login
| email required | string Email address of the user | 
| password required | string User password | 
{- "email": "example@mail.com",
- "password": "Password"
}{- "responseCode": "OK",
- "message": "User logged in successfully.",
- "result": {- "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7ImlkIjo3LCJlbWFpbCI6ImhpbGJlcnQyOUB5YWhvby5jb20iLCJuYW1lIjoiQWRlbGlhIiwicm9sZXMiOlt7ImlkIjoyLCJ0aXRsZSI6Im1lbnRvciIsInVzZXJfdHlwZSI6MCwic3RhdHVzIjoiYWN0aXZlIn1dfSwiaWF0IjoxNjkwMjg2Nzg2LCJleHAiOjE2OTAzNzMxODZ9.0_Yi8yEu_G04VNJvVvafWMvO-Eb9TVsoCnp_pfrFVi8",
- "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7ImlkIjo3LCJlbWFpbCI6ImhpbGJlcnQyOUB5YWhvby5jb20iLCJuYW1lIjoiQWRlbGlhIiwicm9sZXMiOlt7ImlkIjoyLCJ0aXRsZSI6Im1lbnRvciIsInVzZXJfdHlwZSI6MCwic3RhdHVzIjoiYWN0aXZlIn1dfSwiaWF0IjoxNjkwMjg2Nzg2LCJleHAiOjE3MDYwOTc5ODZ9.quHyyjz4DEc7rvKpxwzaiRyRKFkqrbTb8tNB5zX0eF0",
- "user": {- "id": 7,
- "email": "hilbert29@yahoo.com",
- "email_verified": true,
- "name": "Adelia",
- "gender": {- "value": "male",
- "label": "Male"
 },
- "languages": [- {- "value": "en_in",
- "label": "English"
 }
 ],
- "about": null,
- "share_link": null,
- "status": "ACTIVE",
- "last_logged_in_at": "2023-07-25T11:50:35.044Z",
- "has_accepted_terms_and_conditions": true,
- "location": [- {- "value": "ap",
- "label": "Andhra Pradesh"
 }
 ],
- "preferred_language": {- "value": "english",
- "label": "English"
 },
- "organization": {- "id": 2,
- "name": "Tunerlabs",
- "code": "tl"
 },
- "organization_id": 2,
- "roles": [- 2
 ],
- "deleted_at": null,
- "created_at": "2023-07-24T14:37:56.393Z",
- "updated_at": "2023-07-25T11:50:35.044Z",
- "user_roles": [- {- "id": 1,
- "title": "mentee",
- "user_type": 0,
- "status": "ACTIVE"
 }
 ]
 }
 }
}This API is for re-login and generating an access token from a refresh token.
/user/v1/account/generateTokenrequired must have valid values.| X-auth-token required | string To use the API, you require X-auth-token, available in the login API response. | 
| refresh_token required | string Refresh token. | 
{- "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7Il9pZCI6IjYyODMyNTMxYTA1Y2JkNTdiMjczYWViYiIsImVtYWlsIjoiYW5raXQuc0BwYWNld2lzZG9tLmNvbSIsIm5hbWUiOiJBbmtpdCIsImlzQU1lbnRvciI6dHJ1ZX0sImlhdCI6MTY1MzAxMDYxNCwiZXhwIjoxNjY4ODIxODE0fQ.hrIiKz3envHDPauVXSmA_BO_KKzWJAePsP3xD8l851s"
}{- "responseCode": "OK",
- "message": "Access token generated successfully",
- "result": {- "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7Il9pZCI6IjYyODMyNTMxYTA1Y2JkNTdiMjczYWViYiIsImVtYWlsIjoiYW5raXQuc0BwYWNld2lzZG9tLmNvbSIsIm5hbWUiOiJBbmtpdCIsImlzQU1lbnRvciI6dHJ1ZX0sImlhdCI6MTY1MzAxMDk4NCwiZXhwIjoxNjUzMDk3Mzg0fQ.BOZ_d6xNxuAJZ1ubdj94mCeO4jwXsC7t9JT4KXECVN"
 }
}This API is for generating OTP.
/user/v1/account/generateOtprequired must have valid values.| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| email required | string Email address of the user | 
| password required | string User password | 
{- "email": "example@mail.com",
- "password": "Password"
}{- "responseCode": "OK",
- "message": "OTP has been sent to your registered email ID. Please enter the number to update your password.",
- "result": [ ]
}This API is for resetting the user password.
/user/v1/account/resetPasswordrequired must have valid values.| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| email required | string Email address of the user | 
| password required | string New password of the user | 
| otp required | number OTP sent to the user's email | 
{- "email": "example@mail.com",
- "password": "New password",
- "otp": 123456
}{- "responseCode": "OK",
- "message": "Password reset successfully.",
- "result": {- "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7ImlkIjo5LCJlbWFpbCI6ImJyYW5keW4udGVycnlAeWFob28uY29tIiwibmFtZSI6IkFzaGx5Iiwicm9sZXMiOlt7ImlkIjoyLCJ0aXRsZSI6Im1lbnRvciIsInVzZXJfdHlwZSI6MCwic3RhdHVzIjoiYWN0aXZlIn1dfSwiaWF0IjoxNjkwMjg1NzE4LCJleHAiOjE2OTAzNzIxMTh9.WmhUXIocykrBVti7vtznx_BMAaBtuqYUks4sc1J94Do",
- "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7ImlkIjo5LCJlbWFpbCI6ImJyYW5keW4udGVycnlAeWFob28uY29tIiwibmFtZSI6IkFzaGx5Iiwicm9sZXMiOlt7ImlkIjoyLCJ0aXRsZSI6Im1lbnRvciIsInVzZXJfdHlwZSI6MCwic3RhdHVzIjoiYWN0aXZlIn1dfSwiaWF0IjoxNjkwMjg1NzE4LCJleHAiOjE3MDYwOTY5MTh9.eqJ-KD0YA-Cdpz3XHWKgmi66uU6o229K9pyp6BwAAzI",
- "user": {- "id": 9,
- "email": "brandyn.terry@yahoo.com",
- "email_verified": true,
- "name": "Ashly",
- "gender": {- "value": "male",
- "label": "Male"
 },
- "about": null,
- "share_link": null,
- "status": "ACTIVE",
- "image": null,
- "last_logged_in_at": "string",
- "has_accepted_terms_and_conditions": true,
- "languages": [ ],
- "preferred_language": "en",
- "organization_id": 1,
- "roles": [- 2
 ],
- "deleted_at": null,
- "created_at": "2023-07-25T11:48:38.270Z",
- "updated_at": "2023-07-25T11:48:38.270Z",
- "user_roles": [- {- "id": 2,
- "title": "mentor",
- "user_type": 0,
- "status": "ACTIVE"
 }
 ]
 }
 }
}This API is for logging out a user.
/user/v1/account/logoutrequired must have valid values.| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| refresh_token | string Refresh token. | 
{- "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7Il9pZCI6IjYyODMyNTMxYTA1Y2JkNTdiMjczYWViYiIsImVtYWlsIjoiYW5raXQuc0BwYWNld2lzZG9tLmNvbSIsIm5hbWUiOiJBbmtpdCIsImlzQU1lbnRvciI6dHJ1ZX0sImlhdCI6MTY1MzAxMDYxNCwiZXhwIjoxNjY4ODIxODE0fQ.hrIiKz3envHDPauVXSmA_BO_KKzWJAePsP3xD8l851s"
}{- "responseCode": "OK",
- "message": "User logged out successfully.",
- "result": [ ]
}This API is for registration OTP.
/user/v1/account/registrationOtprequired must have valid values.| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| name | string | 
| string | |
| password | string | 
{- "name": "Anu",
- "email": "anu@gmail.com",
- "password": "password"
}{- "responseCode": "OK",
- "message": "OTP has been sent to your registered email ID. Please enter the otp to complete the registration process.",
- "result": [ ]
}This API sets the 'email_verified' field to true using only the X-auth-token.
/user/v1/account/acceptTermsAndCondition| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
{- "responseCode": "OK",
- "message": "User successfully updated.",
- "result": [ ]
}This API lists users based on specified conditions.
/user/v1/account/listrequired must have valid values.| userType required | string  Example:  userType=mentor Type of user | 
| page | number  Example:  page=1 Page number for pagination. | 
| limit | number  Example:  limit=2 Number of records to limit. | 
| search | string  Example:  search=john Search for name or title of user, etc. | 
| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
{- "responseCode": "OK",
- "message": "Mentor list fetched successfully.",
- "result": {- "data": [- {- "key": "A",
- "values": [- {- "_id": 1,
- "name": "jhon",
 }
 ]
 }
 ],
- "count": 1
 }
}This API searches users based on specified conditions.
/user/v1/account/searchrequired must have valid values.| type required | string  Example:  type=mentor Valid user types like mentee, mentor, session_manager, org_admin, reviewer. Use the keyword  | 
| page | number  Example:  page=1 Page number for pagination. | 
| limit | number  Example:  limit=2 Number of records to limit. | 
| search | string  Example:  search=john Search for the name or title of the user, etc. | 
| X-auth-token required | string To use the API, you require an X-auth-token, available in the login API response. | 
| user_ids | Array of strings A list of user IDs to include in the search. | 
| email_ids | Array of strings A list of email IDs to include in the search. | 
| excluded_user_ids | Array of strings A list of user IDs to exclude from the search. | 
This example searches for specific users by their IDs and email IDs, while excluding certain users.
{- "user_ids": [- "user1",
- "user2"
 ],
- "email_ids": [- "user1@example.com",
- "user2@example.com"
 ],
- "excluded_user_ids": [- "user3",
- "user4"
 ]
}{- "responseCode": "OK",
- "message": "Mentor list fetched successfully.",
- "result": {- "data": [- {- "key": "A",
- "values": [- {- "_id": 1,
- "name": "jhon",
 }
 ]
 }
 ],
- "count": 1
 }
}This API retrieves details of a user's profile.
/user/v1/user/read/{userId}required must have valid values.| userId required | integer  Example:  1 Please append a valid User ID to the Request URL. | 
| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
{- "responseCode": "OK",
- "message": "Profile fetched successfully.",
- "result": {- "email": "example@mail.com",
- "role": "mentee",
- "email_verified": true,
- "has_accepted_terms_and_conditions": false,
- "id": 1,
- "name": "Ankit",
- "location": [- {- "value": "kl",
- "label": "Kerala"
 }
 ],
- "languages": [- {- "value": "english",
- "label": "English"
 }
 ],
- "organization_id": 2,
- "preferred_language": {- "value": "english",
- "label": "English"
 },
- "status": "ACTIVE",
- "share_link": null,
- "updated_at": "2022-05-18T05:24:52.431Z",
- "created_at": "2022-05-18T05:24:52.431Z",
- "last_logged_in_at": "2022-05-18T05:24:52.431Z",
- "about": "This is test about of mentee",
- "gender": {- "value": "male",
- "label": "Male"
 },
 }
}This API updates a user's preferred language.
/user/v1/user/setLanguagePreferencerequired must have valid values.| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| name | string The user's name. | 
| location | Array of strings | 
| about | string A brief description about the user. | 
| has_accepted_terms_and_conditions | boolean Indicates whether the user has accepted terms and conditions. | 
| gender | string The user's gender. | 
| image | string URL of the user's profile image. | 
{- "name": "John",
- "location": [- "ap"
 ],
- "about": "Experienced Teacher",
- "has_accepted_terms_and_conditions": true,
- "gender": "male",
}{- "responseCode": "OK",
- "message": "Profile updated successfully.",
- "result": {- "id": 8,
- "email": "example@mail.com",
- "email_verified": "true",
- "name": "John Deo",
- "status": "ACTIVE",
- "has_accepted_terms_and_conditions": true,
- "preferred_language": {- "value": "english",
- "label": "English"
 },
- "organization_id": 1,
- "roles": [- 2
 ],
- "created_at": "2023-09-20T11:59:37.871Z",
- "updated_at": "2023-09-20T11:59:37.871Z",
- "user_roles": [- {- "id": 1,
- "title": "mentee",
- "user_type": 0,
- "status": "ACTIVE"
 }
 ]
 }
}This API updates a user's profile.
/user/v1/user/updaterequired must have valid values.| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| name | string The user's name. | 
| location | Array of strings | 
| about | string A brief description about the user. | 
| has_accepted_terms_and_conditions | boolean Indicates whether the user has accepted terms and conditions. | 
| gender | string The user's gender. | 
| image | string URL of the user's profile image. | 
{- "name": "John",
- "location": [- "ap"
 ],
- "about": "Experienced Teacher",
- "has_accepted_terms_and_conditions": true,
- "gender": "male",
}{- "responseCode": "OK",
- "message": "Profile updated successfully.",
- "result": {- "id": 8,
- "email": "example@mail.com",
- "email_verified": "true",
- "name": "John Deo",
- "status": "ACTIVE",
- "has_accepted_terms_and_conditions": true,
- "preferred_language": {- "value": "english",
- "label": "English"
 },
- "organization_id": 1,
- "roles": [- 2
 ],
- "created_at": "2023-09-20T11:59:37.871Z",
- "updated_at": "2023-09-20T11:59:37.871Z",
- "user_roles": [- {- "id": 1,
- "title": "mentee",
- "user_type": 0,
- "status": "ACTIVE"
 }
 ]
 }
}This API is associated with cloud services for obtaining a signed URL.
/user/v1/cloud-services/file/getSignedUrlrequired must have valid values.| file_name required | string  Example:  image.jpg Please append a valid file name to the URL, indicating the file to be uploaded. | 
| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
{- "responseCode": "OK",
- "message": "Signed Url Generated Successfully.",
- "result": {
- "file_path": "users/62832531a05cbd57b273aebb-1654149589875-laptop1.jpg",
- "dest_file_ath": "users/62832531a05cbd57b273aebb-1654149589875-laptop1.jpg"
 }
}This API is associated with cloud services for obtaining a downloadable URL.
/user/v1/cloud-services/file/getDownloadableUrlrequired must have valid values.| file_path required | string  Example:  users/62832531a05cbd57b273aebb-1654149589875-image.jpg Please append a valid file path to the URL, indicating the file to be downloaded. | 
| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
{- "responseCode": "OK",
- "message": "Download Url Generated Successfully.",
}This API is associated with cloud services for obtaining a sample CSV file for bulk user create.
/user/v1/cloud-services/file/getSampleCSVrequired must have valid values.| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
{- "responseCode": "OK",
- "message": "Download Url Generated Successfully.",
}This API is associated with creating a form.
/user/v1/form/createrequired must have valid values.| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| type required | string The type of the form. | 
| sub_type required | string The sub-type or category of the form. | 
| required | object The main data structure for the form. | 
{- "type": "profile",
- "sub_type": "profileForm",
- "data": {- "template_name": "defaultTemplate",
- "fields": {- "controls": [- {- "name": "name",
- "label": "name",
- "value": "",
- "class": "ion-margin",
- "type": "text",
- "position": "floating",
- "validators": {- "required": true,
- "minLength": 10
 }
 }
 ]
 }
 }
}{- "responseCode": "OK",
- "message": "Form created successfully",
- "result": [ ]
}This API is associated with updating a form.
/user/v1/form/update/{formId}required must have valid values.| formId required | string  Example:  1 Please append a valid form ID to the request URL. | 
| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| type required | string The type of the form. | 
| sub_type required | string The sub-type or category of the form. | 
| required | object The main data structure for the form. | 
{- "type": "profile",
- "sub_type": "profileForm",
- "data": {- "template_name": "defaultTemplate",
- "fields": {- "controls": [- {- "name": "name",
- "label": "name",
- "value": "",
- "class": "ion-margin",
- "type": "text",
- "position": "floating",
- "validators": {- "required": true,
- "minLength": 10
 }
 }
 ]
 }
 }
}{- "responseCode": "OK",
- "message": "Form updated successfully",
- "result": [ ]
}This API is associated with retrieving form details.
/user/v1/form/read/{formId}required.| formId required | integer  Example:  2 Please append a valid form Id to the Request URL. | 
| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| type | string Type of form. | 
| sub_type | string Subtype of the form. | 
{- "type": "profile",
- "sub_type": "profileForm"
}{- "responseCode": "OK",
- "message": "Form fetched successfully",
- "result": {- "type": "profile",
- "sub_type": "profileForm",
- "updated_at": "2022-05-24T23:14:10.080Z",
- "created_at": "2022-05-24T23:14:10.080Z",
- "id": 2,
- "data": {- "templateName": "defaultTemplate",
- "fields": {- "controls": [- {- "name": "name",
- "label": "name",
- "value": "",
- "class": "ion-margin",
- "type": "text",
- "position": "floating",
- "validators": {- "required": true,
- "minLength": 10
 }
 }
 ]
 }
 }
 }
}API associated with creating a new admin user.
/user/v1/admin/createrequired must have valid values.| name required | string Name of the system user. | 
| email required | string Email of the system user. | 
| password required | string <password>  Password for the system user. | 
| secret_code required | string Secret code for system user creation. | 
{- "name": "John Deo",
- "email": "systemuser@mail.com",
- "password": "password",
- "secret_code": "secret_code"
}{- "responseCode": "OK",
- "message": "Sign-up successful, Please wait while logging in.",
- "result": [ ]
}This API is associated with the login of the system user.
/user/v1/admin/loginrequired must have valid values.| email required | string Email of the system user. | 
| password required | string <password>  Password of the system user. | 
{- "email": "systemuser@mail.com",
- "password": "password"
}{- "responseCode": "OK",
- "message": "User logged in successfully.",
- "result": {- "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7Il9pZCI6IjYyOGQ4YjljNGRmOGFkM2ExM2QyODNlNyIsImVtYWlsIjoic3lzdGVtQGFkbWluLmNvbSIsInJvbGUiOiJhZG1pbiJ9LCJpYXQiOjE2NTM0NDQ2MDQsImV4cCI6MTY1MzUzMTAwNH0.l6I0MC16FegRLDym_VwgxFsa97ApUuOKohj2k49cV0I",
- "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7Il9pZCI6IjYyOGQ4YjljNGRmOGFkM2ExM2QyODNlNyIsImVtYWlsIjoic3lzdGVtQGFkbWluLmNvbSIsInJvbGUiOiJhZG1pbiJ9LCJpYXQiOjE2NTM0NDQ2MDQsImV4cCI6MTY2OTI1NTgwNH0.TGDhpCVa0hTAbki8Dp5XGtQyqCMXu4Xu9L_72Yr4G1A",
- "user": {- "id": 7,
- "email": "hilbert29@yahoo.com",
- "email_verified": true,
- "gender": {- "value": "male",
- "label": "Male"
 },
- "location": [ ],
- "about": null,
- "share_link": null,
- "status": "ACTIVE",
- "last_logged_in_at": "2023-07-25T11:50:35.044Z",
- "has_accepted_terms_and_conditions": true,
- "languages": [ ],
- "preferred_language": {- "value": "english",
- "label": "English"
 },
- "organization_id": 1,
- "roles": [- 4
 ],
- "deleted_at": null,
- "created_at": "2023-07-24T14:37:56.393Z",
- "updated_at": "2023-07-25T11:50:35.044Z",
- "user_roles": [- {- "id": 4,
- "title": "admin",
- "user_type": 0,
- "status": "ACTIVE"
 }
 ]
 }
 }
}Delete a user.
/user/v1/admin/deleteUserrequired must have valid values.| id required | string  Example:  1 User ID to be deleted. Please append a valid user ID to the request URL. | 
| X-auth-token required | string X-auth-token required for API access. Available in login API Response. | 
{- "responseCode": "OK",
- "message": "User deleted successfully",
- "result": [- {- "user_id": 1
 }
 ]
}Assigns a user as the Org-Admin.
/user/v1/admin/addOrgAdminrequired must have valid values.| X-auth-token required | string X-auth-token required for API access. Available in login API Response. | 
| user_id | integer The ID of the user to be assigned as Org-Admin. | 
| organization_id | integer The ID of the organization to which the user will be assigned as Org-Admin. | 
{- "user_id": 12,
- "organization_id": 55
}{- "responseCode": "OK",
- "message": "User Assigned As The Org-Admin Successfully",
- "result": {- "user_id": 12,
- "org_id": 55,
- "user_roles": [- [- {- "id": 2,
- "title": "mentor",
- "user_type": 0,
- "status": "ACTIVE"
 },
- {- "id": 3,
- "title": "org_admin",
- "user_type": 0,
- "status": "ACTIVE"
 }
 ]
 ]
 }
}Deactivates an organization.
/user/v1/admin/deactivateOrgrequired must have valid values.| id required | string  Example:  1 Please append a valid organization ID to the request URL. | 
| X-auth-token required | string X-auth-token required for API access. Available in login API Response. | 
{- "responseCode": "OK",
- "message": "Organization deactivated Successfully.",
- "result": [- {- "deactivated_users": 100
 }
 ]
}Deactivates one or more users.
/user/v1/admin/deactivateUserrequired must have valid values.| X-auth-token required | string X-auth-token required for API access. Available in login API Response. | 
| id | Array of integers | 
{- "id": [- 1,
- 3
 ]
}{- "responseCode": "OK",
- "message": "User deactivated Successfully.",
- "result": [ ]
}Creates a new organization.
/user/v1/organization/createrequired must have valid values.| X-auth-token required | string X-auth-token required for API access. Available in the login API Response. | 
| name required | string The name of the organization. | 
| code required | string A unique code representing the organization. | 
| description required | string A brief description of the organization. | 
{- "name": "MentorEd",
- "code": "mentor112",
- "description": "testing"
}{- "responseCode": "OK",
- "message": "Organization created successfully",
- "result": [ ]
}This API is associated with updating an organization.
/user/v1/organization/updaterequired.| id required | integer  Example:  1 Please append a valid organization ID to the request URL. | 
| X-auth-token required | string To make use of the API, you require X-auth-token. This is available in the login API response. | 
| name required | string The name of the organization. | 
| code required | string A unique code representing the organization. | 
| description required | string A brief description of the organization. | 
{- "name": "MentorEd",
- "code": "mentor112",
- "description": "testing"
}{- "responseCode": "OK",
- "message": "Organization updated successfully",
- "result": [ ]
}This API is associated with listing organizations based on specified conditions.
/user/v1/organization/listrequired must have valid values.| page | number  Example:  page=1 Please specify the page number. | 
| limit | number  Example:  limit=2 Specify the number of records to limit. | 
| search | string  Example:  search=john Search for organizations based on name or title. | 
| X-auth-token required | string To make use of the API, you require X-auth-token. This is available in the login API response. | 
{- "responseCode": "OK",
- "message": "Organization fetched successfully.",
- "result": {- "data": [- {- "id": 1,
- "name": "Shikshalokam",
- "code": "sl",
- "description": "Founded in 2017 ShikshaLokam is an Education Leadership Catalyst under the aegis of Advaith Foundation."
 }
 ],
- "count": 1
 }
}This API is associated with requesting a specific role within an organization.
/user/v1/organization/requestOrgRolerequired must have valid values.| X-auth-token required | string User's access token, which already recognizes the user as the organization's mentee. | 
Request body containing role information.
| role | integer The specific role being requested. | 
| object Additional data related to the organization-specific fields. | 
{- "role": 2,
- "form_data": {- "org_specific_fields": "answer"
 }
}{- "responseCode": "OK",
- "message": "Mentor role requested successfully",
- "result": {- "request_id": 12,
- "org_id": 10,
- "status": "REQUESTED",
- "meta": { }
 }
}Use this API to create a user entity.
/mentoring/v1/entity-type/createrequired.| X-auth-token required | string Access token of the user who is already a mentee of the organization. | 
| value | string Unique identifier for the entity type. | 
| label | string Descriptive label for the entity type. | 
| type | string Type of the entity (e.g., SYSTEM, USER). | 
| allow_filtering | boolean Indicates whether filtering is allowed for this entity type. | 
| data_type | string Data type of the entity. | 
| has_entities | boolean Indicates whether the entity type has associated entities. | 
{- "value": "ln",
- "label": "Languages",
- "type": "SYSTEM",
- "allow_filtering": true,
- "data_type": "string",
- "has_entities": "STRING"
}{- "responseCode": "OK",
- "message": "Entity type created successfully.",
- "result": {- "status": "ACTIVE",
- "id": 5,
- "value": "location",
- "label": "Location",
- "data_type": "string",
- "created_by": 15,
- "updated_by": 15,
- "updated_at": "2023-08-09T17:02:12.842Z",
- "created_at": "2023-08-09T17:02:12.842Z",
- "allow_filtering": "string",
- "deleted_at": null
 }
}Use this API to retrieve a list of entity types.
/user/v1/entity-type/readrequired.| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| value | Array of strings | 
| read_user_entity | boolean | 
{- "value": [- "ln"
 ],
- "read_user_entity": false
}{- "responseCode": "OK",
- "message": "Entity type fetched successfully",
- "result": [- {- "id": 4,
- "value": "ln",
- "label": "Languages",
- "status": "ACTIVE",
- "created_by": 0,
- "updated_by": 0,
- "allow_filtering": true,
- "data_type": "STRING",
- "created_at": "2023-09-21T10:16:19.270Z",
- "updated_at": "2023-09-21T10:16:19.270Z",
- "has_entities": true,
- "entities": [- {- "id": 13,
- "entity_type_id": 4,
- "value": "ml",
- "label": "Malayalam",
- "status": "ACTIVE",
- "type": "SYSTEM",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2023-09-21T10:16:33.583Z",
- "updated_at": "2023-09-21T10:16:33.583Z"
 }
 ]
 }
 ],
- "meta": {- "correlation": "64cd08ba-cc87-4172-9633-2146dabe0b78",
- "meeting_platform": "BBB"
 }
}This API is associated with deleting an entity type.  - Endpoint for deleting a user entity: /user/v1/entity-type/delete - It is mandatory to provide values for parameters marked with required. - Mandatory parameters cannot be empty or null.
| id required | integer  Example:  31 Please append a valid user entity ID to the request URL. | 
| X-auth-token required | string To use the API, include X-auth-token. This is available in the login API response. | 
{- "responseCode": "OK",
- "message": "Entity deleted successfully",
- "result": [ ]
}Use this API to update an entity type.
/user/v1/entity-type/update/{id}required.| id required | integer  Example:  1 Please append a valid user ID to the request URL. | 
| X-auth-token required | string Access token obtained from the login API response. | 
| value | string Unique identifier for the entity type. | 
| label | string Descriptive label for the entity type. | 
| type | string Type of the entity (e.g., SYSTEM, USER). | 
| allow_filtering | boolean Indicates whether filtering is allowed for this entity type. | 
| data_type | string Data type of the entity. | 
| has_entities | boolean Indicates whether the entity type has associated entities. | 
{- "value": "ln",
- "label": "Languages",
- "type": "SYSTEM",
- "allow_filtering": true,
- "data_type": "string",
- "has_entities": "STRING"
}{- "responseCode": "string",
- "message": "string",
- "result": {- "id": 1,
- "value": "roles",
- "label": "Roles",
- "status": "ACTIVE",
- "created_by": "2023-09-06T12:01:09.025Z",
- "updated_by": "2023-09-22T12:47:42.510Z",
- "allow_filtering": true,
- "data_type": "string",
- "org_id": 1,
- "has_entities": true
 },
- "meta": {- "correlation": "5f384234-cd5a-467e-a5ac-b43365d2a7a3",
- "meeting_platform": "BBB"
 }
}This API is associated with deleting an entity.
/user/v1/entity/delete.required.| id required | integer  Example:  31 Please append a valid user entity ID to the request URL. | 
| X-auth-token required | string To use the API, include X-auth-token. This is available in the login API response. | 
{- "responseCode": "OK",
- "message": "Entity deleted successfully",
- "result": [ ]
}Create multiple users in bulk using a CSV file.
/user/v1/org-admin/bulkUserCreate.required.| X-auth-token required | string Access token of the org admin. | 
| file_path | string The path to the uploaded CSV file containing user data. | 
{- "file_path": "path/to/uploaded-csv-file"
}{- "responseCode": "OK",
- "message": "Bulk User Invites CSV Uploaded Successfully",
- "result": {- "id": 20,
- "input_path": "<file_path>",
- "status": "UPLOADED",
- "created_by": 22,
- "type": "text/csv",
- "updated_at": "2023-09-20T12:00:46.533Z",
- "created_at": "2023-09-20T12:00:46.533Z"
 }
}Get a list of uploaded bulk invite CSV files.
/user/v1/org-admin/getBulkInvitesFilesList.required.| page required | integer Page number for pagination. | 
| limit required | integer Number of items per page. | 
| status required | string  Enum: "uploaded" "processed" "failed"   Example:  status=uploaded Status of the bulk invite files (uploaded/processed/failed). | 
| X-auth-token required | string Access token of the org admin. | 
{- "responseCode": "OK",
- "message": "Bulk Invites CSV List Fetched Successfully",
- "result": {- "data": [- {- "id": 12,
- "name": "filename.csv",
- "input_path": "<path/to/uploaded-csv>",
- "status": "UPLOADED",
- "created_by": 4,
- "type": "text/csv",
- "output_path": "<path/to/output-csv>"
 },
- {- "id": 13,
- "name": "filename2.csv",
- "input_path": "<path/to/uploaded-csv>",
- "status": "UPLOADED",
- "created_by": 4,
- "type": "text/csv",
- "output_path": "<path/to/output-csv>"
 }
 ],
- "count": 2
 }
}Create permissions for users.
/user/v1/permissions/create.required.| X-auth-token required | string Access token of the admin. | 
| code required | string unique permission name | 
| module required | string module name | 
| request_type required | Array of strings request types of the api | 
| api_path required | string permission api path | 
| status | string status of the permission | 
{- "code": "ssss",
- "module": "ssss",
- "request_type": [- "POST"
 ],
- "api_path": "/mentoring/v1/sessions/sections/",
- "status": "ACTIVE"
}{- "responseCode": "OK",
- "message": "PERMISSION_CREATED_SUCCESSFULLY",
- "result": {- "Id": 40,
- "status": "ACTIVE",
- "module": "ssss",
- "request_type": [- "POST"
 ]
 },
- "meta": {- "correlation": "7961f058-f152-4dc2-8a3d-081183f06242",
- "meetingPlatform": "BBB"
 }
}Create permissions for users.
/user/v1/permissions/update.required.| X-auth-token required | string Access token of the admin. | 
| code required | string unique permission name | 
| module required | string module name | 
| request_type required | Array of strings request types of the api | 
| api_path required | string permission api path | 
| status | string status of the permission | 
{- "code": "ssss",
- "module": "ssss",
- "request_type": [- "POST"
 ],
- "api_path": "/mentoring/v1/sessions/sections/",
- "status": "ACTIVE"
}{- "responseCode": "OK",
- "message": "PERMISSION_UPDATED_SUCCESSFULLY",
- "result": {- "Id": 40,
- "status": "ACTIVE",
- "module": "ssss",
- "request_type": [- "POST"
 ]
 },
- "meta": {- "correlation": "7c47fa4b-605c-49d6-9cb4-baf496de91ac",
- "meetingPlatform": "BBB"
 }
}Get a list of permissions.
/user/v1/permissions/list.required.| page | integer Page number for pagination. | 
| limit | integer Number of items per page. | 
| search | string search on code | 
| X-auth-token required | string Access token of the admin. | 
{- "responseCode": "OK",
- "message": "Permissions fetched successfully",
- "result": {- "results": {- "data": [- {- "id": 3,
- "code": "read_modules_list",
- "module": "modules",
- "request_type": [- "GET"
 ],
- "api_path": "/mentoring/v1/modules/list",
- "status": "ACTIVE"
 }
 ],
- "count": 1
 }
 },
- "meta": {- "correlation": "0e36b1d1-adcf-4c5e-812a-1ad1d00a9163",
- "meetingPlatform": "BBB"
 }
}Create permissions for users.
/user/v1/permissions/delete.required.| X-auth-token required | string Access token of the admin. | 
{- "responseCode": "OK",
- "message": "Permission deleted successfully",
- "result": { },
- "meta": {- "correlation": "a3f7cde4-83f2-4143-a5c4-7e3291085cb4",
- "meetingPlatform": "BBB"
 }
}Create modules for users.
/user/v1/modules/create.required.| X-auth-token required | string Access token of the admin. | 
| code required | string | 
{- "code": "systemadmin"
}{- "responseCode": "OK",
- "message": "MODULES_CREATED_SUCCESSFULLY",
- "result": {- "Id": 6,
- "code": "systemadmin",
- "status": "ACTIVE"
 },
- "meta": {- "correlation": "39c77b7e-5fd8-4806-8602-20604fdb7f42",
- "meetingPlatform": "BBB"
 }
}Create modules for users.
/user/v1/modules/delete.required.| X-auth-token required | string Access token of the admin. | 
{- "responseCode": "OK",
- "message": "Module deleted successfully",
- "result": { },
- "meta": {- "correlation": "471d834a-4954-4564-ae91-6a1f24bec1e5",
- "meetingPlatform": "BBB"
 }
}This API is associated with entity creation.
/user/v1/entity/create.required.| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| value required | string | 
| label required | string | 
| type required | string | 
| entity_type_id required | integer | 
{- "value": "AP",
- "label": "Andhra Pradesh",
- "type": "string",
- "entity_type_id": 4
}{- "responseCode": "OK",
- "message": "Entity created successfully",
- "result": {- "id": 1,
- "value": "en",
- "label": "English",
- "status": "ACTIVE",
- "type": "string",
- "entity_type_id": 1,
- "created_by": 0,
- "updated_by": 0,
- "updated_at": "2023-07-21T21:46:41.392Z",
- "created_at": "2023-07-21T21:46:41.392Z",
- "deleted_at": null
 },
- "meta": {- "formsVersion": [ ],
- "correlation": "6191e4d4-438b-4609-8de6-da3694b506b1",
- "meeting_platform": "BBB"
 }
}This API is associated with updating an entity.
/user/v1/entity/update.required.| id required | integer  Example:  2 Please append a valid user entity ID to the request URL. | 
| X-auth-token required | string To make use of the API, you require X-auth-token. This is Available in login API Response. | 
| value | string The value of the entity. | 
| label | string The label of the entity. | 
| status | string The status of the entity. | 
| entity_type_id | number The ID of the entity type. | 
{- "value": "en",
- "label": "English",
- "status": "ACTIVE",
- "entity_type_id": 1
}{- "responseCode": "OK",
- "message": "Entity updated successfully",
- "result": {- "responseCode": "OK",
- "message": "Entity created successfully",
- "result": {- "id": 1,
- "value": "en",
- "label": "English",
- "status": "ACTIVE",
- "type": "string",
- "entity_type_id": 1,
- "created_by": 0,
- "updated_by": 0,
- "updated_at": "2023-07-21T21:46:41.392Z",
- "created_at": "2023-07-21T21:46:41.392Z",
- "deleted_at": null
 },
- "meta": {- "formsVersion": [ ],
- "correlation": "6191e4d4-438b-4609-8de6-da3694b506b1",
- "meeting_platform": "BBB"
 }
 },
- "meta": {- "formsVersion": [ ],
- "correlation": "4b69c161-1d19-4d4c-963c-057feaa2e82e",
- "meeting_platform": "BBB"
 }
}This API is associated with retrieving a user entity based on ID or value.
/user/v1/entity/read.required.| id required | integer  Example:  id=1 Please append a valid ID. | 
| X-auth-token required | string To use the API, include X-auth-token. This is available in the login API response. | 
{- "responseCode": "OK",
- "message": "Entity fetched successfully",
- "result": [- {- "id": 1,
- "entity_type_id": 1,
- "value": "AP",
- "label": "Andhra Pradesh",
- "status": "ACTIVE",
- "type": "system",
- "created_by": null,
- "updated_by": null,
- "created_at": "2023-08-07T11:27:23.573Z",
- "updated_at": "2023-08-07T11:27:23.573Z",
- "deleted_at": null
 }
 ]
}Use this API to get the list of a user entities.
/user/v1/entity/list required | page | number  Example:  1 Please add page number | 
| limit | number  Example:  10 Number of records to limit | 
| search | string  Example:  teacher search text | 
| entity_type_id required | number  Example:  teacher entity_type_id | 
| X-auth-token required | string To use this API, you require an X-auth-token, which is available in the login API Response. | 
{- "responseCode": "OK",
- "message": "Entity fetched successfully",
- "result": {- "data": [- {- "id": 1,
- "entity_type_id": 1,
- "value": "english",
- "label": "English",
- "status": "ACTIVE",
- "type": "SYSTEM",
- "created_by": 0,
- "created_at": "2023-07-21T21:46:41.392Z"
 }
 ],
- "count": 1
 },
- "meta": {- "formsVersion": [ ],
- "correlation": "0d392602-cb68-4690-8f38-3d3de9f94198",
- "meeting_platform": "BBB"
 },
- "parameters": [ ]
}Get a list of organization requests based on specified filters
/user/v1/org-admin/getRequests.required.| page required | integer Page number for pagination. | 
| limit required | integer Number of items per page. | 
| X-auth-token required | string Access token of the org admin. | 
Request body for filtering organization requests.
role: An array of role IDs.status: An array of request statuses.handled_by: An array of user IDs who handled the requests.| object | 
{- "filters": {- "role": [- 2
 ],
- "status": [- "APPROVED"
 ],
- "handled_by": [- 2
 ]
 }
}{- "responseCode": "OK",
- "message": "Organization requests fetched successfully",
- "result": {- "data": [- {- "id": 12,
- "requester_id": 23,
- "role": 2,
- "status": "APPROVED",
- "org_id": 43,
- "handled_by": 22,
- "requester": {- "id": 23,
- "name": "Jake",
- "email": "jake@gmail.com"
 }
 },
- {- "id": 13,
- "requester_id": 22,
- "role": 2,
- "status": "APPROVED",
- "org_id": 43,
- "handled_by": 22,
- "requester": {- "id": 23,
- "name": "Jake",
- "email": "jake@gmail.com"
 }
 }
 ],
- "count": 12
 }
}Update the status of an organization request.
/user/v1/org-admin/updateRequestStatus.required.| X-auth-token required | string Access token of the org admin. | 
| request_id | integer The ID of the organization request to be updated. | 
| comments | Array of strings Comments related to the request status update. | 
| status | string  Enum: "APPROVED" "REJECTED" "UNDER_REVIEW"  The new status for the organization request. | 
{- "request_id": 12,
- "comments": [- "All uploaded documents verified"
 ],
- "status": "APPROVED"
}{- "responseCode": "OK",
- "message": "Successfully updated organization request status",
- "result": {- "id": 12,
- "requester_id": 23,
- "status": "approved",
- "org_id": 43,
- "handled_by": 22,
- "requester": {- "id": 23,
- "name": "Jake"
 }
 }
}Get details of a specific organization request.
/user/v1/org-admin/getRequestDetails.required.| request_id required | integer  Example:  request_id=12 ID of the request to get details for. | 
| X-auth-token required | string Access token of the org admin. | 
{- "responseCode": "OK",
- "message": "Organisation request details fetched successfully",
- "result": {- "id": 12,
- "requester_id": 23,
- "role": "mentor",
- "status": "approved",
- "org_id": 43,
- "handled_by": 22,
- "requester": {- "id": 23,
- "name": "Jake"
 },
- "handler": {- "id": 24,
- "name": "org_admin name"
 },
- "comments": [- "Temp 1",
- "Temp 2"
 ],
- "meta": { }
 }
}Deactivate a user
/user/v1/org-admin/deactivateUser.required.| id required | integer  Example:  12 ID of the user. | 
| X-auth-token required | string Access token of the org admin. | 
{- "responseCode": "OK",
- "message": "User deactivated Successfully.",
- "result": [ ]
}Inherit entity type.
/user/v1/org-admin/inheritEntityType.required.| X-auth-token required | string Access token of the org admin. | 
| entity_type_value | string | 
| target_entity_type_label | string | 
{- "entity_type_value": "categories",
- "target_entity_type_label": "training"
}{- "responseCode": "OK",
- "message": "Entity type created successfully",
- "result": {- "id": 6,
- "value": "medium",
- "label": "Hindi",
- "status": "ACTIVE",
- "created_by": 9,
- "updated_by": 9,
- "allow_filtering": true,
- "data_type": "ARRAY[STRING]",
- "organization_id": 2,
- "parent_id": 1,
- "allow_custom_entities": true,
- "has_entities": true,
- "model_names": [- "session"
 ],
- "created_at": "2023-11-29T10:16:56.236Z",
- "updated_at": "2023-12-05T09:04:02.566Z",
- "deleted_at": null
 }
}This API is associated with notification create or update.
/user/v1/notification/template.required.| X-auth-token required | string Access token required to use the API. Available in the login API response. | 
| type | string Type of email | 
| code | string Unique code for the email configuration | 
| subject | string Subject of the email | 
| body | string Body of the email | 
| email_header | string Email header content | 
| email_footer | string Email footer content | 
{- "type": "email",
- "code": "tl-email-invite",
- "subject": "Hi Welcome Back",
- "body": "<p>Dear User,</p> Welcome back to mentorEd",
- "email_header": "email_header",
- "email_footer": "email_footer"
}{- "responseCode": "OK",
- "message": "Notification template created successfully",
- "result": {- "status": "ACTIVE",
- "id": 13,
- "type": "email",
- "code": "tl-email-invite",
- "subject": "Hi Welcome Backk",
- "body": "<p>Dear User</p> Welcome back to mentorEd",
- "email_header": "email_header",
- "email_footer": "email_footer",
- "organization_id": 2,
- "created_by": 9,
- "updated_at": "2023-12-05T06:55:42.178Z",
- "created_at": "2023-12-05T06:55:42.178Z",
- "updated_by": 9,
- "deleted_at": null
 }
}