{"info":{"_postman_id":"7887a8e6-af77-468a-b51e-db70ef273f86","name":"FSD  Password Reset Flow","description":"<html><head></head><body><p>This is an API Documentation which consists the API Calls for Password Reset Flow - BackEnd App.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"38692959","collectionId":"7887a8e6-af77-468a-b51e-db70ef273f86","publishedId":"2sAYBXDC7E","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-29T19:21:33.000Z"},"item":[{"name":"Register","id":"12149637-d116-4a4d-986d-a453b7e19213","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Testing Name\",\r\n    \"email\":\"abc@gmail.com\",\r\n    \"password\":\"TestPWD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseuri}}/api/v1/register","description":"<p>This api used to create an user in the databases. We have to use the Name, Email and the password for the user. Afte the successful registration, it generates an email containing the Login Information of the user.</p>\n","urlObject":{"path":["api","v1","register"],"host":["{{baseuri}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"12149637-d116-4a4d-986d-a453b7e19213"},{"name":"Login","id":"05a97633-b0ae-46c7-b24f-5eaed3ae1c8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"abc@gmail.com\",\r\n    \"password\":\"TestPWD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseuri}}/api/v1/login","description":"<h3 id=\"login-api\">Login API</h3>\n<p>This API endpoint is used to authenticate and login a user.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>email (string, required): The email address of the user.</p>\n</li>\n<li><p>password (string, required): The password for the user account.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response of this request is a JSON schema, which will include the structure and data types of the response fields.</p>\n","urlObject":{"path":["api","v1","login"],"host":["{{baseuri}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"05a97633-b0ae-46c7-b24f-5eaed3ae1c8a"},{"name":"UserInfo","event":[{"listen":"test","script":{"id":"91d3a0b5-e2da-4868-b0ba-42d2807e597f","exec":["\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"d148f549-0dba-4100-af88-25c92fc47b60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseuri}}/api/v1/userInfo","description":"<p>This endpoint makes an HTTP GET request to retrieve user information from the API. The response of this request can be documented as a JSON schema to provide a structured description of the data format and types returned by the API.</p>\n","urlObject":{"path":["api","v1","userInfo"],"host":["{{baseuri}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d148f549-0dba-4100-af88-25c92fc47b60"},{"name":"Password Reset","id":"3ed2559b-0e22-4cce-8c2f-4244915eb781","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n     \"email\":\"abc@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseuri}}/api/v1/resetPassword","description":"<h3 id=\"reset-password\">Reset Password</h3>\n<p>This endpoint is used to initiate the process of resetting a user's password. It is accessed via an HTTP POST request to <code>{{baseuri}}/api/v1/resetPassword</code>. Using this api, we generate a token and email it to the user for resetting their password.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>email</code> (string, required): The email address of the user for whom the password reset is requested.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will include the status of the password reset request.</p>\n","urlObject":{"path":["api","v1","resetPassword"],"host":["{{baseuri}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ed2559b-0e22-4cce-8c2f-4244915eb781"},{"name":"Signout","id":"70c49bcb-0843-4672-a3cc-753300424535","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseuri}}/api/v1/signout","description":"<p>This endpoint is used to sign out the user from the application. Upon successful execution of the request, the response will be a JSON schema representing the data returned by the sign out process.</p>\n","urlObject":{"path":["api","v1","signout"],"host":["{{baseuri}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"70c49bcb-0843-4672-a3cc-753300424535"},{"name":"Set New Password","id":"e34cc366-5cdd-4470-bc58-01451bba25a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\":\"fskvvll\",\r\n    \"newPassword\":\"abcd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseuri}}/api/v1/setNewPassword","description":"<p>This endpoint is used to set a new password by sending an HTTP GET request to the specified URI. The request should include a token and the new password in the payload.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><p>token (string): The token for verification. It is valid for 3 Hours from its generation</p>\n</li>\n<li><p>newPassword (string): The new password to be set.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is represented as a JSON schema. The specific structure of the response will depend on the API implementation and may include various properties and data types.</p>\n","urlObject":{"path":["api","v1","setNewPassword"],"host":["{{baseuri}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e34cc366-5cdd-4470-bc58-01451bba25a9"}]}