{"info":{"_postman_id":"691e4c37-6113-4998-b4a1-6b5e096f031b","name":"career connect","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"20010455","collectionId":"691e4c37-6113-4998-b4a1-6b5e096f031b","publishedId":"2sAYBSjtQr","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-21T15:00:10.000Z"},"item":[{"name":"User Management","item":[{"name":"Authentication","item":[{"name":"Register","event":[{"listen":"test","script":{"id":"d5b5c68d-f4e5-4af5-96d4-e294de925805","exec":["// Stores the userId in an environment or global variable\r","var responseBody = pm.response.json();\r","var userId = responseBody.userId;\r","pm.globals.set(\"userId\", userId);\r","// Alternatively, you can use pm.environment.set(\"userId\", userId) if it was stored on an environment"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"b891538d-97ba-48b2-a1df-9c635f35aecb","exec":[""],"type":"text/javascript","packages":{}}}],"id":"34ea2848-b36e-4467-9d22-3e3d46de3f17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"_id\": \"{{_id}}\",\r\n  \"firstName\": \"{{firstName}}\",\r\n  \"lastName\": \"{{lastName}}\",\r\n  \"email\": \"{{email}}\",\r\n  \"password\": \"{{password}}\",\r\n  \"location\": {\r\n    \"country\": \"{{location.country}}\",\r\n    \"city\": \"{{location.city}}\"\r\n  },\r\n  \"accessStatus\": {{accessStatus}},\r\n  \"twoStepAuthentication\": {{twoStepAuthentication}},\r\n  \"phoneNumber\": \"{{phoneNumber}}\",\r\n  \"isEmailVerified\": {{isEmailVerified}},\r\n  \"role\": \"{{role}}\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/auth/register","description":"<p>This endpoints allows you to register a a new user.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<ul>\n<li><p><code>firstName</code> (string, required): The name of the user.</p>\n</li>\n<li><p><code>email</code> (string, required): The email address of the user.</p>\n</li>\n<li><p><code>password</code> (string, required): The password for the user. It must be at least 8 characters long.</p>\n</li>\n<li><p><code>location</code> (string, required): The location of the user.</p>\n</li>\n<li><p><code>lastName</code> (string, required): The last name of the user.</p>\n</li>\n<li><p><code>avatar</code> (file, optional): An optional avatar for the user.</p>\n</li>\n</ul>\n<h4 id=\"success-response-201-created\">Success Response (201 Created)</h4>\n<p><strong>Reponse Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>statuscode</td>\n<td>number</td>\n<td>http status code</td>\n</tr>\n<tr>\n<td>data</td>\n<td>object</td>\n<td>user data</td>\n</tr>\n<tr>\n<td>message</td>\n<td>string</td>\n<td>api response message</td>\n</tr>\n<tr>\n<td>success</td>\n<td>boolean</td>\n<td>It represents response is successfull or failure</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","auth","register"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9afb741b-634b-4bec-8378-cc3e8c8474f2","name":"Successful Register","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"firstName","value":"Than Win","description":"(required) user's first name","type":"text"},{"key":"email","value":"{{my_email}}","description":"(required) User's email","type":"text"},{"key":"password","value":"12345678","description":"(required) Password must be at least 8 characters long","type":"text"},{"key":"location","value":"Dhaka, Bangladesh","description":"(required) User's current location","type":"text"},{"key":"lastName","value":"Hline","description":"(required) User's last name","type":"text"},{"key":"avatar","description":"(optional) User's image file","type":"file","src":"/D:/photos/low/pexels-marta-branco-1173576.jpg"}]},"url":"{{base_url}}/api/v1/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"84"},{"key":"ETag","value":"W/\"54-nq+Gr4ymKGO5KM/weckiEBXPaq0\""},{"key":"Date","value":"Mon, 02 Dec 2024 19:53:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 201,\n    \"data\": {},\n    \"message\": \"User is created successfully\",\n    \"success\": true\n}"}],"_postman_id":"34ea2848-b36e-4467-9d22-3e3d46de3f17"},{"name":"login","id":"89af940d-daf2-4fcb-a900-c33e05414478","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user_one@gmail.com\",\r\n  \"password\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/auth/login","description":"<p>This endpoint allows users to log in and obtain access to the application.</p>\n<h3 id=\"request-parameters\"><strong>Request Parameters</strong></h3>\n<ul>\n<li><p><strong>email (string, required):</strong> The email address of the user.</p>\n</li>\n<li><p><strong>password (string, required):</strong> The password for the user's account. It must be at least 8 characters long.</p>\n</li>\n</ul>\n<h3 id=\"response\"><strong>Response</strong></h3>\n<p>Upon a successful request, the server responds with:</p>\n<ul>\n<li><p><strong>Status Code:</strong> 200 OK</p>\n</li>\n<li><p><strong>Response Body:</strong> A JSON object with the following fields:</p>\n</li>\n</ul>\n<h4 id=\"response-fields\"><strong>Response Fields</strong></h4>\n<ol>\n<li><p><strong>msg (string)</strong></p>\n<ul>\n<li>A message from the server, indicating the status of the request (e.g., \"Login successful\")</li>\n</ul>\n</li>\n<li><p><strong>data (object):</strong> Contains user-related information.</p>\n<ul>\n<li><p><strong>_id (string):</strong> The unique identifier for the user.</p>\n</li>\n<li><p><strong>name (string):</strong> The full name of the user.</p>\n</li>\n<li><p><strong>email (string):</strong> The user's email address.</p>\n</li>\n<li><p><strong>lastName (string):</strong> The user's last name.</p>\n</li>\n<li><p><strong>location (string):</strong> The user's current location.</p>\n</li>\n<li><p><strong>role (string):</strong> The user's role (e.g., \"admin\", \"user\", \"recruiter\").</p>\n</li>\n<li><p><strong>avatar (array):</strong> An array of URLs for the user's profile picture.</p>\n</li>\n<li><p><strong>accessStatus (boolean):</strong> Indicates whether the user has access (e.g., true for active, false for suspended).</p>\n</li>\n<li><p><strong>twoStepAuthentication (boolean):</strong> Whether two-factor authentication is enabled.</p>\n</li>\n<li><p><strong>educationRecords (array):</strong> An array of education records related to the user.</p>\n</li>\n<li><p><strong>createdAt (string):</strong> The timestamp when the user was created.</p>\n</li>\n<li><p><strong>updatedAt (string):</strong> The timestamp when the user was last updated.</p>\n</li>\n<li><p><strong>userType (string):</strong> The type of user (e.g., \"user\", \"recruiter\").</p>\n</li>\n<li><p><strong>coverPhoto (array):</strong> An array of URLs for the user's cover photo.</p>\n</li>\n<li><p><strong>phoneNumber (string):</strong> The user's phone number.</p>\n</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"path":["api","v1","auth","login"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"84e05e39-14fb-4083-9d0e-c77e54973457","name":"login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"{{my_email}}\",\r\n  \"password\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NzRlMTA1MzgxZDYyNTQ4NWU5YThiM2YiLCJyb2xlIjoiYWRtaW4iLCJpYXQiOjE3MzMxNzA0MjQsImV4cCI6MTczMzI1NjgyNH0.fRQYqZQZjFONnEKmQvDJhOeOtoeZ5b7Z5dqQ0hmKMK8; Path=/; Expires=Tue, 03 Dec 2024 20:13:44 GMT; HttpOnly; SameSite=Lax"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"542"},{"key":"ETag","value":"W/\"21e-fHAnP19PYELh3rWUT/TqHe6JSbM\""},{"key":"Date","value":"Mon, 02 Dec 2024 20:13:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {\n        \"avatar\": {\n            \"url\": \"http://res.cloudinary.com/dlxptkhle/image/upload/v1733169238/hblmxv0qzswkry1fsxfe.jpg\",\n            \"publicId\": \"hblmxv0qzswkry1fsxfe\"\n        },\n        \"_id\": \"674e105381d625485e9a8b3f\",\n        \"firstName\": \"Than Win\",\n        \"email\": \"thanwinhline84@gmail.com\",\n        \"password\": \"\",\n        \"lastName\": \"Hline\",\n        \"location\": \"Dhaka, Bangladesh\",\n        \"role\": \"admin\",\n        \"accessStatus\": true,\n        \"twoStepAuthentication\": false,\n        \"educationRecords\": [],\n        \"createdAt\": \"2024-12-02T19:53:55.934Z\",\n        \"updatedAt\": \"2024-12-02T19:53:55.934Z\",\n        \"__v\": 0\n    },\n    \"message\": \"login is successfull\",\n    \"success\": true\n}"}],"_postman_id":"89af940d-daf2-4fcb-a900-c33e05414478"},{"name":"logout","id":"b9545785-5888-433c-9788-921b625d885f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/auth/logout","description":"<p>This endpoint triggers the logout process for the authenticated user.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This endpoint does not require a request body.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request will be in JSON format with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"msg\": \"user is logged out successfully\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","auth","logout"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"371e3d89-ac0b-4552-8a87-485c2dcd86b4","name":"logout","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/auth/logout"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"token=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT; HttpOnly; SameSite=Lax"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"77"},{"key":"ETag","value":"W/\"4d-ixTQ/8iTqe20LeXWuwLKdAPqeMk\""},{"key":"Date","value":"Mon, 02 Dec 2024 20:15:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {},\n    \"message\": \"logout is successfull\",\n    \"success\": true\n}"}],"_postman_id":"b9545785-5888-433c-9788-921b625d885f"},{"name":"Check if email is already registered","id":"99721325-9dd7-496a-82e1-b02b66c568a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"win@mail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/auth/check-email","urlObject":{"path":["api","v1","auth","check-email"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"99721325-9dd7-496a-82e1-b02b66c568a0"}],"id":"33d4ba6a-565c-41b4-b6a6-2a54dd991ad0","description":"<p>This collection contains requests related to user authentication.</p>\n","_postman_id":"33d4ba6a-565c-41b4-b6a6-2a54dd991ad0"},{"name":"account setting","item":[{"name":"Change password","id":"a4f3b103-3c15-4b0d-9bb4-95eff02fefb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\": \"12345678\",\r\n    \"newPassword\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/account-setting/change-password","description":"<p>This end point is used to change password</p>\n<h3 id=\"request-parameters\"><strong>Request Parameters</strong></h3>\n<p>This is protected route. user must be logged in to change password.</p>\n<ul>\n<li><p><strong>email (string, required):</strong> The email address of the user.</p>\n</li>\n<li><p><strong>password (string, required):</strong> The password for the user's account. It must be at least 8 characters long.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Success Response</p>\n<p>status code: 200 OK</p>\n<p>Body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Your password has been changed successfully\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","account-setting","change-password"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"522fddee-586e-4937-8c77-f16233e23a54","name":"Change password","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\": \"12345678\",\r\n    \"newPassword\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/account-setting/change-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-yVgUZaJN13c70PnjdVE1usVMKbI\""},{"key":"Date","value":"Fri, 22 Nov 2024 12:17:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Your password has been changed successfully\"\n}"}],"_postman_id":"a4f3b103-3c15-4b0d-9bb4-95eff02fefb0"},{"name":"re-enter password","id":"3742ee8e-c921-46d6-b7e4-36bf3b91cdf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/account-setting/re-enter-password","description":"<p>This end point is used to check if user has entered correct password or not</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p><code>password</code>(string, required): password must be at least 8 characters long</p>\n<h3 id=\"response\">Response</h3>\n<p><strong>Success Response</strong></p>\n<p>status: 200 OK</p>\n<p><strong>body</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"your password is correct\"\n}\n\n</code></pre>\n<p><strong>Failure response</strong></p>\n<p><strong>status</strong>: 401 Unauthorized</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": false,\n    \"message\": \"invalid credentials\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","account-setting","re-enter-password"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"00d1eb8a-8b03-49bc-b6be-84e32198d931","name":"re-enter password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/account-setting/re-enter-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"38"},{"key":"ETag","value":"W/\"26-MAW7QaqVbZcW871BdAkc1pKK5OI\""},{"key":"Date","value":"Fri, 22 Nov 2024 12:18:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"your password is correct\"\n}"}],"_postman_id":"3742ee8e-c921-46d6-b7e4-36bf3b91cdf1"},{"name":"toggle two step authentication","id":"486e0fcf-ec71-4090-8101-174c8f76a953","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{base_url}}/api/v1/account-setting/toggle-two-step-authentication","description":"<p>This endpoint allows user to toggle the two-step authentication status for the user.User must have phone number to toggle this settting.</p>\n<p><strong>Request Body</strong></p>\n<p>Not required</p>\n<p><strong>Response</strong></p>\n<ul>\n<li><p>status: 200 OK</p>\n</li>\n<li><p>body</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"two step authentican is updated.\"\n}\n\n</code></pre>\n<h3 id=\"error-response\">Error Response</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status code</th>\n<th>type</th>\n<th><strong>example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td>Bad request</td>\n<td>{  <br />\"success\": false,  <br />\"message\": \"Please provide your phone number to enable this\"  <br />}</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","account-setting","toggle-two-step-authentication"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"486e0fcf-ec71-4090-8101-174c8f76a953"},{"name":"delete account","id":"bd8ee225-e550-4b10-91b1-e4552b33fa5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/api/v1/account-setting/delete-account","description":"<p>This endpoint allows user to delete account. Deleting account will delete all job postings and job applications.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li>No request body is required for this DELETE request.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>Success Response:</p>\n<ul>\n<li><p>status code: 200</p>\n</li>\n<li><p>Body:</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Your account has been deleted\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","account-setting","delete-account"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd8ee225-e550-4b10-91b1-e4552b33fa5e"}],"id":"fab8c94b-6705-4705-800b-531043af0827","description":"<p>This collection contains request related to user account setting.</p>\n","_postman_id":"fab8c94b-6705-4705-800b-531043af0827"},{"name":"Verification","item":[{"name":"send verification code","id":"98168db9-40f6-40f8-81f1-be2e3bf902e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"{{user_phone_number}}\",\r\n  \"channel\": \"sms\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/verification/send-verification-code","description":"<p>This endpoint is used to send a verification code to the provided phone number for authentication.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>phoneNumber</code> (string, required): The phone number to which the verification code will be sent.</p>\n</li>\n<li><p><code>channel</code> (string, required): The channel through which the verification code will be sent (e.g. SMS).</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","verification","send-verification-code"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"98168db9-40f6-40f8-81f1-be2e3bf902e8"},{"name":"verify verification code","id":"3233b657-a50c-4d19-8633-fc64568d1a1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"{{user_phone_number}}\",\r\n  \"code\": \"700382\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/verification/verify-code","description":"<p>This endpoint is used to verify the authentication code sent to the user's phone number.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>phoneNumber (string, required): The phone number for which the code is being verified.</p>\n</li>\n<li><p>code (string, required): The verification code received by the user.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","verification","verify-code"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3233b657-a50c-4d19-8633-fc64568d1a1d"}],"id":"717deeb7-be71-4c66-b976-654195886f17","_postman_id":"717deeb7-be71-4c66-b976-654195886f17","description":""}],"id":"d7913b32-a3b0-492b-acac-c9a0d5456207","_postman_id":"d7913b32-a3b0-492b-acac-c9a0d5456207","description":""},{"name":"jobs","item":[{"name":"create Job","id":"81721dd4-3d51-4d3e-85fd-472c4bc385f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"_id\": \"{{_id}}\",\r\n  \"position\": \"{{position}}\",\r\n  \"jobType\": \"{{jobType}}\",\r\n  \"jobLocation\": {\r\n    \"city\": \"{{city}}\",\r\n    \"country\": \"{{country}}\"\r\n  },\r\n  \"salary\": {\r\n    \"min\": {{salaryMin}},\r\n    \"max\": {{salaryMax}}\r\n  },\r\n  \"experianceLevel\": \"{{experianceLevel}}\",\r\n  \"openRoles\": {{openRoles}},\r\n  \"numberOfApplicants\": {{numberOfApplicants}},\r\n  \"applicationDeadline\": \"{{applicationDeadline}}\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/jobs","description":"<h3 id=\"create-a-new-job-listing\">Create a New Job Listing</h3>\n<p>This endpoint allows you to create a new job listing.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>companyId</code></td>\n<td>String</td>\n<td>The ID of the company.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>position</code></td>\n<td>String</td>\n<td>The position/title of the job.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>jobType</code></td>\n<td>String</td>\n<td>The type of job (e.g., full-time, part-time, internship).</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>jobLocation</code></td>\n<td>Object</td>\n<td>The location of the job, containing <code>city</code> and <code>country</code>.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>jobLocation.city</code></td>\n<td>String</td>\n<td>The city where the job is located.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>jobLocation.country</code></td>\n<td>String</td>\n<td>The country where the job is located.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>salary</code></td>\n<td>Object</td>\n<td>The salary range for the job.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>salary.min</code></td>\n<td>Number</td>\n<td>The minimum salary for the position.</td>\n<td>No</td>\n</tr>\n<tr>\n<td><code>salary.max</code></td>\n<td>Number</td>\n<td>The maximum salary for the position.</td>\n<td>No</td>\n</tr>\n<tr>\n<td><code>experianceLevel</code></td>\n<td>String</td>\n<td>The experience level required for the job.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>openRoles</code></td>\n<td>Number</td>\n<td>The number of open roles for the job.</td>\n<td>No</td>\n</tr>\n<tr>\n<td><code>numberOfApplicants</code></td>\n<td>Number</td>\n<td>The number of applicants for the job.</td>\n<td>❌ No</td>\n</tr>\n<tr>\n<td><code>applicationDeadline</code></td>\n<td>String</td>\n<td>The deadline for job applications (ISO 8601 format recommended).</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-201---created\">Response (201 - Created)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"job\": {\n        \"companyId\": \"\",\n        \"position\": \"\",\n        \"jobType\": \"\",\n        \"jobLocation\": {\n            \"city\": \"\",\n            \"country\": \"\",\n            \"_id\": \"\"\n        },\n        \"salary\": {\n            \"min\": 0,\n            \"max\": 0,\n            \"_id\": \"\"\n        },\n        \"experianceLevel\": \"\",\n        \"openRoles\": 0,\n        \"createdBy\": \"\",\n        \"numberOfApplicants\": 0,\n        \"applicationDeadline\": \"\",\n        \"_id\": \"\",\n        \"createdAt\": \"\",\n        \"updatedAt\": \"\",\n        \"__v\": 0\n    }\n}\n\n</code></pre>\n<h4 id=\"json-schema-for-response\">JSON Schema for Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"type\": \"object\",\n    \"properties\": {\n        \"job\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"companyId\": {\"type\": \"string\"},\n                \"position\": {\"type\": \"string\"},\n                \"jobType\": {\"type\": \"string\"},\n                \"jobLocation\": {\n                    \"type\": \"object\",\n                    \"properties\": {\n                        \"city\": {\"type\": \"string\"},\n                        \"country\": {\"type\": \"string\"},\n                        \"_id\": {\"type\": \"string\"}\n                    }\n                },\n                \"salary\": {\n                    \"type\": \"object\",\n                    \"properties\": {\n                        \"min\": {\"type\": \"number\"},\n                        \"max\": {\"type\": \"number\"},\n                        \"_id\": {\"type\": \"string\"}\n                    }\n                },\n                \"experianceLevel\": {\"type\": \"string\"},\n                \"openRoles\": {\"type\": \"number\"},\n                \"createdBy\": {\"type\": \"string\"},\n                \"numberOfApplicants\": {\"type\": \"number\"},\n                \"applicationDeadline\": {\"type\": \"string\"},\n                \"_id\": {\"type\": \"string\"},\n                \"createdAt\": {\"type\": \"string\"},\n                \"updatedAt\": {\"type\": \"string\"},\n                \"__v\": {\"type\": \"number\"}\n            }\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"note\">Note</h4>\n<ul>\n<li>Ensure that the request includes the appropriate headers and parameters required for authentication and authorization.</li>\n</ul>\n","urlObject":{"path":["api","v1","jobs"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e37f41e1-3580-4a54-8bb4-bd590ea706c7","name":"create Job","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"companyId\": \"67e87694b3424acf88b26339\",\r\n  \"position\": \"Software Engineer\",\r\n  \"jobType\": \"internship\",\r\n  \"jobLocation\": {\r\n    \"city\": \"New York\",\r\n    \"country\": \"USA\"\r\n  },\r\n  \"salary\": {\r\n    \"min\": 70000,\r\n    \"max\": 120000\r\n  },\r\n  \"experianceLevel\": \"mid\",\r\n  \"openRoles\": 2,\r\n  \"numberOfApplicants\": 5,\r\n  \"applicationDeadline\": \"2025-06-30T00:00:00.000Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"522"},{"key":"ETag","value":"W/\"20a-smH0V6UZzwtXLFN6/gNOrO0cSVY\""},{"key":"Date","value":"Mon, 31 Mar 2025 13:15:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"job\": {\n        \"companyId\": \"67e87694b3424acf88b26339\",\n        \"position\": \"Software Engineer\",\n        \"jobType\": \"internship\",\n        \"jobLocation\": {\n            \"city\": \"New York\",\n            \"country\": \"USA\",\n            \"_id\": \"67ea957add4176fc8866bad2\"\n        },\n        \"salary\": {\n            \"min\": 70000,\n            \"max\": 120000,\n            \"_id\": \"67ea957add4176fc8866bad3\"\n        },\n        \"experianceLevel\": \"mid\",\n        \"openRoles\": 2,\n        \"createdBy\": \"67e97a8c5ae253a36dae6b2c\",\n        \"numberOfApplicants\": 5,\n        \"applicationDeadline\": \"2025-06-30T00:00:00.000Z\",\n        \"_id\": \"67ea957add4176fc8866bad1\",\n        \"createdAt\": \"2025-03-31T13:15:38.440Z\",\n        \"updatedAt\": \"2025-03-31T13:15:38.440Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"81721dd4-3d51-4d3e-85fd-472c4bc385f7"},{"name":"update job","id":"3bd8760d-cbca-412a-a39f-a4d38afe7aa7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyId\": \"67e87694b3424acf88b26339\",\r\n            \"position\": \"Software Engineer\",\r\n            \"jobType\": \"internship\",\r\n            \"jobLocation\":{\r\n                \"city\": \"Dhaka\",\r\n                \"country\": \"Bangladesh\"\r\n            },\r\n            \"salary\": {\r\n                \"min\": 50000,\r\n                \"max\": 80000\r\n            },\r\n            \"experianceLevel\": \"junior\",\r\n            \"jobStatus\": \"applied\",\r\n            \"openRoles\": 5,\r\n            \"numberOfApplicants\": 0,\r\n            \"applicationDeadline\": \"2024-12-31T23:59:59.000Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/jobs/67ea957add4176fc8866bad1","description":"<p>This end point is used to update a specif job by job id.This route is protected.</p>\n<h3 id=\"path-parameters\"><strong>Path Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The unique identifier of the job to update.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body\">Request Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>companyId</code></td>\n<td>String</td>\n<td>The ID of the company.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>position</code></td>\n<td>String</td>\n<td>The position/title of the job.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>jobType</code></td>\n<td>String</td>\n<td>The type of job (e.g., full-time, part-time, internship).</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>jobLocation</code></td>\n<td>Object</td>\n<td>The location of the job, containing <code>city</code> and <code>country</code>.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>jobLocation.city</code></td>\n<td>String</td>\n<td>The city where the job is located.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>jobLocation.country</code></td>\n<td>String</td>\n<td>The country where the job is located.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>salary</code></td>\n<td>Object</td>\n<td>The salary range for the job.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>salary.min</code></td>\n<td>Number</td>\n<td>The minimum salary for the position.</td>\n<td>No</td>\n</tr>\n<tr>\n<td><code>salary.max</code></td>\n<td>Number</td>\n<td>The maximum salary for the position.</td>\n<td>No</td>\n</tr>\n<tr>\n<td><code>experianceLevel</code></td>\n<td>String</td>\n<td>The experience level required for the job.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><code>openRoles</code></td>\n<td>Number</td>\n<td>The number of open roles for the job.</td>\n<td>No</td>\n</tr>\n<tr>\n<td><code>numberOfApplicants</code></td>\n<td>Number</td>\n<td>The number of applicants for the job.</td>\n<td>❌ No</td>\n</tr>\n<tr>\n<td><code>applicationDeadline</code></td>\n<td>String</td>\n<td>The deadline for job applications (ISO 8601 format recommended).</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","jobs","67ea957add4176fc8866bad1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"d208d753-fa44-4980-96cd-5bf8bcfc6728","name":"update job","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company\": \"Astha It\",\r\n    \"position\": \"Senior Software Engineer\",\r\n    \"jobStatus\": \"pending\",\r\n    \"jobType\": \"full-time\",\r\n    \"jobLocation\": \"San Francisco, CA\",\r\n    \"country\": \"USA\",\r\n    \"salary\": {\"min\": \"100\", \"max\": \"2000\"},\r\n    \"experianceLevel\": \"senior\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/jobs/{{job_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"434"},{"key":"ETag","value":"W/\"1b2-VB8ti39fy3wj3TeoFenFZfYdHj4\""},{"key":"Date","value":"Fri, 22 Nov 2024 12:48:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"mgs\": \"Job modified:\",\n    \"job\": {\n        \"_id\": \"66ca15bf08db134c4331513b\",\n        \"company\": \"Astha It\",\n        \"position\": \"Senior Software Engineer\",\n        \"jobStatus\": \"pending\",\n        \"jobType\": \"full-time\",\n        \"jobLocation\": \"San Francisco, CA\",\n        \"country\": \"USA\",\n        \"salary\": {\n            \"min\": 100,\n            \"max\": 2000,\n            \"_id\": \"67407da1e172442a704d3ab7\"\n        },\n        \"experianceLevel\": \"senior\",\n        \"createdBy\": \"6695625c46a49bf11c233fd5\",\n        \"createdAt\": \"2024-08-24T17:17:51.840Z\",\n        \"updatedAt\": \"2024-11-22T12:48:33.907Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"3bd8760d-cbca-412a-a39f-a4d38afe7aa7"},{"name":"Get Single job","id":"69a4ae5a-45cd-4a58-b0e4-ce63ddef4b67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/jobs/{{job_id}}","description":"<p>This endpoint allows user to retrive a single job by job id.This is public route.</p>\n<h4 id=\"path-parameters\"><strong>Path Parameters:</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The unique identifier of the job.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body\"><strong>Request Body</strong></h3>\n<p>Not required</p>\n<h3 id=\"success-response-200-ok\">Success Response (200 OK)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>job</code></td>\n<td><code>object</code></td>\n<td>The job object containing detailed information about the job.</td>\n</tr>\n<tr>\n<td><code>job._id</code></td>\n<td><code>string</code></td>\n<td>Unique identifier of the job.</td>\n</tr>\n<tr>\n<td><code>job.company</code></td>\n<td><code>string</code></td>\n<td>Name of the company offering the job.</td>\n</tr>\n<tr>\n<td><code>job.position</code></td>\n<td><code>string</code></td>\n<td>The position or title of the job.</td>\n</tr>\n<tr>\n<td><code>job.jobStatus</code></td>\n<td><code>string</code></td>\n<td>Current status of the job (e.g., pending, active, closed).</td>\n</tr>\n<tr>\n<td><code>job.jobType</code></td>\n<td><code>string</code></td>\n<td>Type of job (e.g., full-time, part-time, contract).</td>\n</tr>\n<tr>\n<td><code>job.jobLocation</code></td>\n<td><code>string</code></td>\n<td>Location of the job.</td>\n</tr>\n<tr>\n<td><code>job.country</code></td>\n<td><code>string</code></td>\n<td>The country where the job is located.</td>\n</tr>\n<tr>\n<td><code>job.salary</code></td>\n<td><code>object</code></td>\n<td>The salary range offered for the job.</td>\n</tr>\n<tr>\n<td><code>job.salary.min</code></td>\n<td><code>number</code></td>\n<td>Minimum salary offered for the job.</td>\n</tr>\n<tr>\n<td><code>job.salary.max</code></td>\n<td><code>number</code></td>\n<td>Maximum salary offered for the job.</td>\n</tr>\n<tr>\n<td><code>job.salary._id</code></td>\n<td><code>string</code></td>\n<td>Unique identifier for the salary details.</td>\n</tr>\n<tr>\n<td><code>job.experianceLevel</code></td>\n<td><code>string</code></td>\n<td>Required experience level for the job (e.g., junior, mid-level, senior).</td>\n</tr>\n<tr>\n<td><code>job.createdBy</code></td>\n<td><code>string</code></td>\n<td>User ID of the recruiter or admin who created the job.</td>\n</tr>\n<tr>\n<td><code>job.createdAt</code></td>\n<td><code>string</code> (ISO 8601)</td>\n<td>Date and time when the job was created.</td>\n</tr>\n<tr>\n<td><code>job.updatedAt</code></td>\n<td><code>string</code> (ISO 8601)</td>\n<td>Date and time when the job was last updated.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","urlObject":{"path":["api","v1","jobs","{{job_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"895aca81-a660-49b4-afd0-4cdb47949e9c","name":"Get Single job","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/jobs/67e97f3b70836485a0923208"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"963"},{"key":"ETag","value":"W/\"3c3-DlK1NfPX3Ou6L0zdGmiXharwvSE\""},{"key":"Date","value":"Mon, 31 Mar 2025 17:18:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {\n        \"job\": {\n            \"_id\": \"67e97f3b70836485a0923208\",\n            \"position\": \"Front-end Engineer\",\n            \"jobType\": \"full-time\",\n            \"jobLocation\": {\n                \"city\": \"New York\",\n                \"country\": \"USA\",\n                \"_id\": \"67e984ed21a95e3773bf6a87\"\n            },\n            \"salary\": {\n                \"min\": 80000,\n                \"max\": 120000,\n                \"_id\": \"67e984ed21a95e3773bf6a86\"\n            },\n            \"experianceLevel\": \"mid\",\n            \"openRoles\": 3,\n            \"createdBy\": {\n                \"_id\": \"67e97a8c5ae253a36dae6b2c\",\n                \"firstName\": \"Than Win\",\n                \"email\": \"win@mail.com\",\n                \"lastName\": \"Hline\"\n            },\n            \"numberOfApplicants\": 11,\n            \"applicationDeadline\": \"2025-04-30T23:59:59.999Z\",\n            \"createdAt\": \"2025-03-30T17:28:27.712Z\",\n            \"updatedAt\": \"2025-03-30T20:36:45.061Z\",\n            \"__v\": 0,\n            \"company\": {\n                \"_id\": \"67e87694b3424acf88b26339\",\n                \"name\": \"Meta\",\n                \"description\": \"A leading software development company specializing in AI and cloud computing.\",\n                \"location\": {\n                    \"city\": \"San Francisco\",\n                    \"country\": \"USA\",\n                    \"_id\": \"67e87694b3424acf88b2633a\"\n                },\n                \"createdAt\": \"2025-03-29T22:39:16.114Z\",\n                \"updatedAt\": \"2025-03-29T22:39:16.114Z\",\n                \"__v\": 0\n            }\n        }\n    },\n    \"message\": \"Job is fetched successfully\",\n    \"success\": true\n}"}],"_postman_id":"69a4ae5a-45cd-4a58-b0e4-ce63ddef4b67"},{"name":"get all  jobs","event":[{"listen":"test","script":{"id":"23c836e2-006d-42c0-86f5-137c293fa2f0","exec":["var template = `\r","<style type=\"text/css\">\r","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}\r","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}\r","    .tftable tr {background-color:#ffffff;}\r","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}\r","    .tftable tr:hover {background-color:#e0ffff;}\r","</style>\r","\r","<table class=\"tftable\" border=\"1\">\r","    <tr>\r","        <th>ID</th>\r","        <th>Company</th>\r","        <th>Position</th>\r","        <th>Job Status</th>\r","    </tr>\r","    \r","    {{#each response.jobs}}\r","        <tr>\r","            <td>{{_id}}</td>\r","            <td>{{company}}</td>\r","            <td>{{position}}</td>\r","            <td>{{jobStatus}}</td>\r","        </tr>\r","    {{/each}}\r","</table>\r","`;\r","\r","function constructVisualizerPayload() {\r","    return { response: pm.response.json() }\r","}\r","\r","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"83d3c487-fa58-4366-b8fd-ac5c7f766a7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{base_url}}/api/v1/jobs/all-jobs","description":"<p>This endpoint retrieves a list of jobs based on the specified filters, sorting preferences, and pagination options.This is public route.This route is public and does not require authentication</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td><code>number</code></td>\n<td>No</td>\n<td>The page number for pagination (default: 1).</td>\n</tr>\n<tr>\n<td><code>limit</code></td>\n<td><code>number</code></td>\n<td>No</td>\n<td>The number of jobs per page (default: 10).</td>\n</tr>\n<tr>\n<td><code>jobType</code></td>\n<td><code>array</code></td>\n<td>No</td>\n<td>Array of job types to filter. The options are: full-time, part-time, internship, remote, hybrid</td>\n</tr>\n<tr>\n<td><code>sort</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>Sort order (<code>newest</code>, <code>oldest</code>, <code>a-z</code>, <code>z-a</code>). Default: <code>newest</code>.</td>\n</tr>\n<tr>\n<td><code>location</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>Search jobs by location (matches <code>jobLocation</code> or <code>country</code>).</td>\n</tr>\n<tr>\n<td><code>search</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>Keyword to search by position or company name.</td>\n</tr>\n<tr>\n<td><code>minSalary</code></td>\n<td><code>number</code></td>\n<td>No</td>\n<td>Minimum salary to filter jobs (<code>salary.min</code> &gt;= <code>minSalary</code>).</td>\n</tr>\n<tr>\n<td><code>maxSalary</code></td>\n<td><code>number</code></td>\n<td>No</td>\n<td>Maximum salary to filter jobs (<code>salary.max</code> &lt;= <code>maxSalary</code>).</td>\n</tr>\n<tr>\n<td><code>experianceLevel</code></td>\n<td><code>array</code></td>\n<td>No</td>\n<td>Array of experience levels to filter . The options are<code>\"entry\", \"mid\", \"senior\", \"expert]</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"success-response200-ok\">Success Response(200 OK)</h3>\n<p><strong>Response Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>jobs</code></td>\n<td><code>array</code></td>\n<td>List of jobs matching the specified filters and pagination.</td>\n</tr>\n<tr>\n<td><code>jobsCount</code></td>\n<td><code>number</code></td>\n<td>Total number of jobs matching the filters.</td>\n</tr>\n<tr>\n<td><code>totalPages</code></td>\n<td><code>number</code></td>\n<td>Total number of pages available based on the <code>limit</code> parameter.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td><code>number</code></td>\n<td>Current page number.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","jobs","all-jobs"],"host":["{{base_url}}"],"query":[{"disabled":true,"description":{"content":"<p>country or jobLocation name</p>\n","type":"text/plain"},"key":"location","value":"usa"},{"disabled":true,"description":{"content":"<p>company or position name</p>\n","type":"text/plain"},"key":"search","value":"astha it"},{"disabled":true,"description":{"content":"<p>Sort by newest, oldest, or by position in ascending or descending order</p>\n","type":"text/plain"},"key":"sort","value":"a-z"},{"disabled":true,"key":"minSalary","value":"5000"},{"disabled":true,"key":"maxSalary","value":"60000000"},{"disabled":true,"key":"jobType[]","value":"part-time"},{"disabled":true,"key":"jobType[]","value":"full-time"},{"disabled":true,"key":"experianceLevel[]","value":"mid"},{"disabled":true,"key":"limit","value":"2"},{"disabled":true,"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"4ca72903-b6f5-40c9-8ffa-8c6a556dcd9b","name":"get all  jobs","originalRequest":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":{"raw":"{{base_url}}/api/v1/jobs/all-jobs","host":["{{base_url}}"],"path":["api","v1","jobs","all-jobs"],"query":[{"key":"location","value":"usa","description":"country or jobLocation name","disabled":true},{"key":"search","value":"astha it","description":"company or position name","disabled":true},{"key":"sort","value":"a-z","description":"Sort by newest, oldest, or by position in ascending or descending order","disabled":true},{"key":"minSalary","value":"5000","disabled":true},{"key":"maxSalary","value":"60000000","disabled":true},{"key":"jobType[]","value":"part-time","disabled":true},{"key":"jobType[]","value":"full-time","disabled":true},{"key":"experianceLevel[]","value":"mid","disabled":true},{"key":"limit","value":"2","disabled":true},{"key":"page","value":"1","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1909"},{"key":"ETag","value":"W/\"775-FpFLlO1Aw4u97dBqzb/kOaMm/ZA\""},{"key":"Date","value":"Mon, 31 Mar 2025 17:19:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {\n        \"jobs\": [\n            {\n                \"_id\": \"67ea954fdd4176fc8866bac5\",\n                \"position\": \"Software Engineer\",\n                \"jobType\": \"internship\",\n                \"jobLocation\": {\n                    \"city\": \"New York\",\n                    \"country\": \"USA\",\n                    \"_id\": \"67ea954fdd4176fc8866bac6\"\n                },\n                \"salary\": {\n                    \"min\": 70000,\n                    \"max\": 120000,\n                    \"_id\": \"67ea954fdd4176fc8866bac7\"\n                },\n                \"experianceLevel\": \"mid\",\n                \"openRoles\": 2,\n                \"createdBy\": {\n                    \"_id\": \"67e97a8c5ae253a36dae6b2c\",\n                    \"firstName\": \"Than Win\",\n                    \"email\": \"win@mail.com\",\n                    \"lastName\": \"Hline\"\n                },\n                \"numberOfApplicants\": 5,\n                \"applicationDeadline\": \"2025-06-30T00:00:00.000Z\",\n                \"createdAt\": \"2025-03-31T13:14:55.061Z\",\n                \"updatedAt\": \"2025-03-31T13:14:55.061Z\",\n                \"__v\": 0,\n                \"company\": {\n                    \"_id\": \"67e87694b3424acf88b26339\",\n                    \"name\": \"Meta\",\n                    \"description\": \"A leading software development company specializing in AI and cloud computing.\",\n                    \"location\": {\n                        \"city\": \"San Francisco\",\n                        \"country\": \"USA\",\n                        \"_id\": \"67e87694b3424acf88b2633a\"\n                    },\n                    \"createdAt\": \"2025-03-29T22:39:16.114Z\",\n                    \"updatedAt\": \"2025-03-29T22:39:16.114Z\",\n                    \"__v\": 0\n                }\n            },\n            {\n                \"_id\": \"67e97f3b70836485a0923208\",\n                \"position\": \"Front-end Engineer\",\n                \"jobType\": \"full-time\",\n                \"jobLocation\": {\n                    \"city\": \"New York\",\n                    \"country\": \"USA\",\n                    \"_id\": \"67e984ed21a95e3773bf6a87\"\n                },\n                \"salary\": {\n                    \"min\": 80000,\n                    \"max\": 120000,\n                    \"_id\": \"67e984ed21a95e3773bf6a86\"\n                },\n                \"experianceLevel\": \"mid\",\n                \"openRoles\": 3,\n                \"createdBy\": {\n                    \"_id\": \"67e97a8c5ae253a36dae6b2c\",\n                    \"firstName\": \"Than Win\",\n                    \"email\": \"win@mail.com\",\n                    \"lastName\": \"Hline\"\n                },\n                \"numberOfApplicants\": 11,\n                \"applicationDeadline\": \"2025-04-30T23:59:59.999Z\",\n                \"createdAt\": \"2025-03-30T17:28:27.712Z\",\n                \"updatedAt\": \"2025-03-30T20:36:45.061Z\",\n                \"__v\": 0,\n                \"company\": {\n                    \"_id\": \"67e87694b3424acf88b26339\",\n                    \"name\": \"Meta\",\n                    \"description\": \"A leading software development company specializing in AI and cloud computing.\",\n                    \"location\": {\n                        \"city\": \"San Francisco\",\n                        \"country\": \"USA\",\n                        \"_id\": \"67e87694b3424acf88b2633a\"\n                    },\n                    \"createdAt\": \"2025-03-29T22:39:16.114Z\",\n                    \"updatedAt\": \"2025-03-29T22:39:16.114Z\",\n                    \"__v\": 0\n                }\n            }\n        ],\n        \"pagination\": {\n            \"totalPages\": 1,\n            \"currentPage\": 1,\n            \"totalItems\": 2\n        }\n    },\n    \"message\": \"Jobs have been fetched successfully\",\n    \"success\": true\n}"}],"_postman_id":"83d3c487-fa58-4366-b8fd-ac5c7f766a7a"},{"name":"get current user's created jobs","id":"7b449ac8-3511-4795-a95e-921fde642f77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/jobs","description":"<h2 id=\"list-all-jobs-created-by-you\">List All Jobs created by you</h2>\n<p>This end point is used to retrieve jobs created by you. This is a protected route.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td><code>number</code></td>\n<td>No</td>\n<td>The page number for pagination (default: 1).</td>\n</tr>\n<tr>\n<td><code>limit</code></td>\n<td><code>number</code></td>\n<td>No</td>\n<td>The number of jobs per page (default: 10).</td>\n</tr>\n<tr>\n<td><code>jobType</code></td>\n<td><code>array</code></td>\n<td>No</td>\n<td>Array of job types to filter. The options are: full-time, part-time, internship, remote, hybrid</td>\n</tr>\n<tr>\n<td><code>sort</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>Sort order (<code>newest</code>, <code>oldest</code>, <code>a-z</code>, <code>z-a</code>). Default: <code>newest</code>.</td>\n</tr>\n<tr>\n<td><code>location</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>Search jobs by location (matches <code>jobLocation</code> or <code>country</code>).</td>\n</tr>\n<tr>\n<td><code>search</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>Keyword to search by position or company name.</td>\n</tr>\n<tr>\n<td><code>jobStatus</code></td>\n<td><code>array</code></td>\n<td>No</td>\n<td>Array of job status to filter. The options are: <code>pending</code>, <code>interview</code>, <code>declined</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"success-response200-ok\">Success Response(200 OK)</h3>\n<p><strong>Response Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>jobs</code></td>\n<td><code>array</code></td>\n<td>List of jobs matching the specified filters and pagination.</td>\n</tr>\n<tr>\n<td><code>jobsCount</code></td>\n<td><code>number</code></td>\n<td>Total number of jobs matching the filters.</td>\n</tr>\n<tr>\n<td><code>totalPages</code></td>\n<td><code>number</code></td>\n<td>Total number of pages available based on the <code>limit</code> parameter.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td><code>number</code></td>\n<td>Current page number.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","jobs"],"host":["{{base_url}}"],"query":[{"disabled":true,"key":"jobType","value":"full-time"},{"disabled":true,"key":"jobStatus","value":"pending"},{"disabled":true,"key":"sort","value":"z-a"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"2"}],"variable":[]}},"response":[{"id":"d89d0b97-4f68-4b4c-b85a-b617d8dfceb9","name":"get current user's created jobs","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/api/v1/jobs","host":["{{base_url}}"],"path":["api","v1","jobs"],"query":[{"key":"jobType","value":"full-time","disabled":true},{"key":"jobStatus","value":"pending","disabled":true},{"key":"sort","value":"z-a","disabled":true},{"key":"limit","value":"1","disabled":true},{"key":"page","value":"2","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1894"},{"key":"ETag","value":"W/\"766-CoA68Z599dFBOaDrAfk5pohDs8Q\""},{"key":"Date","value":"Mon, 31 Mar 2025 17:25:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {\n        \"jobs\": [\n            {\n                \"_id\": \"67ea954fdd4176fc8866bac5\",\n                \"position\": \"Software Engineer\",\n                \"jobType\": \"internship\",\n                \"jobLocation\": {\n                    \"city\": \"New York\",\n                    \"country\": \"USA\",\n                    \"_id\": \"67ea954fdd4176fc8866bac6\"\n                },\n                \"salary\": {\n                    \"min\": 70000,\n                    \"max\": 120000,\n                    \"_id\": \"67ea954fdd4176fc8866bac7\"\n                },\n                \"experianceLevel\": \"mid\",\n                \"openRoles\": 2,\n                \"createdBy\": {\n                    \"_id\": \"67e97a8c5ae253a36dae6b2c\",\n                    \"firstName\": \"Than Win\",\n                    \"email\": \"win@mail.com\",\n                    \"lastName\": \"Hline\"\n                },\n                \"numberOfApplicants\": 5,\n                \"applicationDeadline\": \"2025-06-30T00:00:00.000Z\",\n                \"createdAt\": \"2025-03-31T13:14:55.061Z\",\n                \"updatedAt\": \"2025-03-31T13:14:55.061Z\",\n                \"__v\": 0,\n                \"company\": {\n                    \"_id\": \"67e87694b3424acf88b26339\",\n                    \"name\": \"Meta\",\n                    \"description\": \"A leading software development company specializing in AI and cloud computing.\",\n                    \"location\": {\n                        \"city\": \"San Francisco\",\n                        \"country\": \"USA\",\n                        \"_id\": \"67e87694b3424acf88b2633a\"\n                    },\n                    \"createdAt\": \"2025-03-29T22:39:16.114Z\",\n                    \"updatedAt\": \"2025-03-29T22:39:16.114Z\",\n                    \"__v\": 0\n                }\n            },\n            {\n                \"_id\": \"67e97f3b70836485a0923208\",\n                \"position\": \"Front-end Engineer\",\n                \"jobType\": \"full-time\",\n                \"jobLocation\": {\n                    \"city\": \"New York\",\n                    \"country\": \"USA\",\n                    \"_id\": \"67e984ed21a95e3773bf6a87\"\n                },\n                \"salary\": {\n                    \"min\": 80000,\n                    \"max\": 120000,\n                    \"_id\": \"67e984ed21a95e3773bf6a86\"\n                },\n                \"experianceLevel\": \"mid\",\n                \"openRoles\": 3,\n                \"createdBy\": {\n                    \"_id\": \"67e97a8c5ae253a36dae6b2c\",\n                    \"firstName\": \"Than Win\",\n                    \"email\": \"win@mail.com\",\n                    \"lastName\": \"Hline\"\n                },\n                \"numberOfApplicants\": 11,\n                \"applicationDeadline\": \"2025-04-30T23:59:59.999Z\",\n                \"createdAt\": \"2025-03-30T17:28:27.712Z\",\n                \"updatedAt\": \"2025-03-30T20:36:45.061Z\",\n                \"__v\": 0,\n                \"company\": {\n                    \"_id\": \"67e87694b3424acf88b26339\",\n                    \"name\": \"Meta\",\n                    \"description\": \"A leading software development company specializing in AI and cloud computing.\",\n                    \"location\": {\n                        \"city\": \"San Francisco\",\n                        \"country\": \"USA\",\n                        \"_id\": \"67e87694b3424acf88b2633a\"\n                    },\n                    \"createdAt\": \"2025-03-29T22:39:16.114Z\",\n                    \"updatedAt\": \"2025-03-29T22:39:16.114Z\",\n                    \"__v\": 0\n                }\n            }\n        ],\n        \"pagination\": {\n            \"totalPages\": 1,\n            \"currentPage\": 1,\n            \"totalItems\": 2\n        }\n    },\n    \"message\": \"successfully fetched\",\n    \"success\": true\n}"}],"_postman_id":"7b449ac8-3511-4795-a95e-921fde642f77"},{"name":"Delete a job","id":"f3228654-45ab-4b18-a68f-bb65712be653","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/jobs/{{job_id}}","description":"<p>This endpoint is used to delete a specific job with the given ID.</p>\n<h4 id=\"path-parameters\"><strong>Path Parameters:</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The unique identifier of the job.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"success-response\">Success Response</h3>\n<p>status: 200 OK</p>\n<p>body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"msg\": \"job deleted\"\n}\n\n</code></pre>\n<p>StartFragment</p>\n<h4 id=\"error-responses\"><strong>Error Responses</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Description</th>\n<th>Example Body</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>401</code></td>\n<td>Unauthorized access.</td>\n<td><code>{ \"error\": \"Authentication required\" }</code></td>\n</tr>\n<tr>\n<td><code>500</code></td>\n<td>Internal server error.</td>\n<td><code>{ \"error\": \"An unexpected error occurred\" }</code></td>\n</tr>\n<tr>\n<td><code>404</code></td>\n<td>Not Found</td>\n<td><code>{ \"success\": false, \"message\": \"No job with id 66b739dfe15d4af8e93c5e3b\" }</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","jobs","{{job_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3228654-45ab-4b18-a68f-bb65712be653"}],"id":"e3d6daa7-73bb-45da-83ee-aed7447d9d6d","_postman_id":"e3d6daa7-73bb-45da-83ee-aed7447d9d6d","description":""},{"name":"user","item":[{"name":"get current user","id":"259016ff-e14d-4681-8b98-1388c72b48e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/users/current-user","description":"<p>This endpoint is used to retrieve the details of the current user.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>This request does not require a request body.</p>\n<h3 id=\"response\">Response</h3>\n<p>It will give User object.</p>\n","urlObject":{"path":["api","v1","users","current-user"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"0bb1dcc5-a990-4dfc-af76-2d357d3ddf74","name":"get current user","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/users/current-user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"787"},{"key":"ETag","value":"W/\"313-v6Q9bzeL2xnSAL2UyzAmrnrOuM4\""},{"key":"Date","value":"Mon, 31 Mar 2025 18:20:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {\n        \"_id\": \"67ead21b825cc08f7e704280\",\n        \"firstName\": \"Than Win\",\n        \"email\": \"win@mail.com\",\n        \"lastName\": \"Hline\",\n        \"location\": {\n            \"city\": \"Dhaka\",\n            \"country\": \"Bangladesh\",\n            \"_id\": \"67ead21b825cc08f7e704281\"\n        },\n        \"accessStatus\": true,\n        \"twoStepAuthentication\": false,\n        \"isDeleted\": null,\n        \"isEmailVerified\": false,\n        \"emailVerifyTokenExpiry\": null,\n        \"forgotPasswordTokenExpiry\": null,\n        \"role\": [\n            \"67e82bb5790c51c2b7cd2cf5\"\n        ],\n        \"worksAt\": \"67e87694b3424acf88b26339\",\n        \"educationRecords\": [],\n        \"createdAt\": \"2025-03-31T17:34:19.927Z\",\n        \"updatedAt\": \"2025-03-31T18:20:09.176Z\",\n        \"__v\": 0,\n        \"avatar\": {\n            \"url\": \"http://res.cloudinary.com/dlxptkhle/image/upload/v1743445208/acd4ftp3xwloiji5c33b.jpg\",\n            \"publicId\": \"acd4ftp3xwloiji5c33b\",\n            \"_id\": \"67eadcd96672737fb2dfdd49\"\n        }\n    },\n    \"message\": \"user is information is fetched successfully\",\n    \"success\": true\n}"}],"_postman_id":"259016ff-e14d-4681-8b98-1388c72b48e2"},{"name":"List all users","id":"c6e97f53-0856-4856-9ccd-ce77d32143d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/users/get-users-list?limit=2","description":"<p>This endpoint retrieves a paginated list of users, sorted alphabetically by name. This is for admin route</p>\n<h4 id=\"query-parameters\"><strong>Query Parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td><code>number</code></td>\n<td>No</td>\n<td><code>1</code></td>\n<td>The current page number for pagination.</td>\n</tr>\n<tr>\n<td><code>limit</code></td>\n<td><code>number</code></td>\n<td>No</td>\n<td><code>10</code></td>\n<td>The maximum number of users to display per page.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"success-response-200-ok\"><strong>Success Response (200 OK)</strong></h4>\n<p><strong>Reponse body</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>users</code></td>\n<td><code>Array</code></td>\n<td>List of user objects. Each item represents a user in the current page of results.</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td><code>Object</code></td>\n<td>Metadata related to the pagination of the results.</td>\n</tr>\n<tr>\n<td><code>pagination.totalPages</code></td>\n<td><code>Number</code></td>\n<td>Total number of pages available based on the total items and page size.</td>\n</tr>\n<tr>\n<td><code>pagination.currentPage</code></td>\n<td><code>Number</code></td>\n<td>The current page number being fetched.</td>\n</tr>\n<tr>\n<td><code>pagination.totalItems</code></td>\n<td><code>Number</code></td>\n<td>Total number of items available in the entire dataset.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","users","get-users-list"],"host":["{{base_url}}"],"query":[{"key":"limit","value":"2"}],"variable":[]}},"response":[{"id":"ee611e46-363f-461e-903f-49b705dac903","name":"List all users","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/api/v1/users/get-users-list","host":["{{base_url}}"],"path":["api","v1","users","get-users-list"],"query":[{"key":"limit","value":"2","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1813"},{"key":"ETag","value":"W/\"715-BY/Vuu5/BW4mikRMmW7Ua3j3ezY\""},{"key":"Date","value":"Mon, 31 Mar 2025 18:04:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {\n        \"users\": [\n            {\n                \"_id\": \"67e9a7834bf1744679a2d238\",\n                \"firstName\": \"John Doe\",\n                \"email\": \"john@mail.com\",\n                \"lastName\": \"Dis\",\n                \"location\": {\n                    \"city\": \"Dhaka\",\n                    \"country\": \"Bangladesh\",\n                    \"_id\": \"67e9a7834bf1744679a2d239\"\n                },\n                \"accessStatus\": true,\n                \"twoStepAuthentication\": false,\n                \"isDeleted\": null,\n                \"isEmailVerified\": false,\n                \"emailVerifyTokenExpiry\": null,\n                \"forgotPasswordTokenExpiry\": null,\n                \"role\": [\n                    {\n                        \"_id\": \"67e82bb5790c51c2b7cd2cf6\",\n                        \"role\": \"user\",\n                        \"permissions\": [\n                            \"application:create\",\n                            \"profile:view\"\n                        ],\n                        \"__v\": 0\n                    }\n                ],\n                \"educationRecords\": [],\n                \"createdAt\": \"2025-03-30T20:20:19.538Z\",\n                \"updatedAt\": \"2025-03-30T20:20:19.538Z\",\n                \"__v\": 0\n            },\n            {\n                \"_id\": \"67ead21b825cc08f7e704280\",\n                \"firstName\": \"Than Win\",\n                \"email\": \"win@mail.com\",\n                \"lastName\": \"Hline\",\n                \"location\": {\n                    \"city\": \"Dhaka\",\n                    \"country\": \"Bangladesh\",\n                    \"_id\": \"67ead21b825cc08f7e704281\"\n                },\n                \"accessStatus\": true,\n                \"twoStepAuthentication\": false,\n                \"isDeleted\": null,\n                \"isEmailVerified\": false,\n                \"emailVerifyTokenExpiry\": null,\n                \"forgotPasswordTokenExpiry\": null,\n                \"role\": [\n                    {\n                        \"_id\": \"67e82bb5790c51c2b7cd2cf5\",\n                        \"role\": \"admin\",\n                        \"permissions\": [\n                            \"user:delete\",\n                            \"profile:view\",\n                            \"job:delete\",\n                            \"job:create\",\n                            \"view:dashboard\",\n                            \"role:create\"\n                        ],\n                        \"__v\": 0\n                    }\n                ],\n                \"worksAt\": \"67e87694b3424acf88b26339\",\n                \"educationRecords\": [],\n                \"createdAt\": \"2025-03-31T17:34:19.927Z\",\n                \"updatedAt\": \"2025-03-31T17:34:19.927Z\",\n                \"__v\": 0,\n                \"company\": {\n                    \"_id\": \"67e87694b3424acf88b26339\",\n                    \"name\": \"Meta\",\n                    \"description\": \"A leading software development company specializing in AI and cloud computing.\",\n                    \"location\": {\n                        \"city\": \"San Francisco\",\n                        \"country\": \"USA\",\n                        \"_id\": \"67e87694b3424acf88b2633a\"\n                    },\n                    \"role\": [\n                        \"660e4e9b3f8a2b001ccf9a1d\"\n                    ],\n                    \"employees\": [\n                        \"660e4ea23f8a2b001ccf9a1f\"\n                    ],\n                    \"adminID\": \"660e4ea23f8a2b001ccf9a22\",\n                    \"createdAt\": \"2025-03-29T22:39:16.114Z\",\n                    \"updatedAt\": \"2025-03-29T22:39:16.114Z\",\n                    \"__v\": 0\n                }\n            }\n        ],\n        \"pagination\": {\n            \"totalPages\": 1,\n            \"currentPage\": 1,\n            \"totalItems\": 2\n        }\n    },\n    \"message\": \"user list is fetched successfully\",\n    \"success\": true\n}"}],"_postman_id":"c6e97f53-0856-4856-9ccd-ce77d32143d6"},{"name":"Add education entry by user Id","id":"dad6144c-7631-48bb-8bb5-ebf522af5c1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"school\": \"Ningbo University of Technology\",\r\n    \"department\": \"Computer Science\",\r\n    \"degree\": \"B.Sc\",\r\n    \"startMonth\":  \"June\",\r\n    \"startYear\": \"2020\",\r\n    \"currentlyStudying\": false,\r\n    \"endMonth\": \"June\",\r\n    \"endYear\": \"2024\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/users/67f35fe3a6243a202a30d87f/add-education","description":"<p>This endpoint allows the user to add education details for their profile.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>school</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>Name of the institute</td>\n</tr>\n<tr>\n<td><code>department</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The department or field of study</td>\n</tr>\n<tr>\n<td><code>degree</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The degree earned or being pursued (e.g., \"B.Sc\").</td>\n</tr>\n<tr>\n<td><code>startMonth</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The month studies began (e.g., \"June\")io</td>\n</tr>\n<tr>\n<td><code>startYear</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The year studies began (e.g., \"2020\").</td>\n</tr>\n<tr>\n<td><code>currentlyStudying</code></td>\n<td><code>boolean</code></td>\n<td>Yes</td>\n<td>Indicates if the user is currently studying (true/false).</td>\n</tr>\n<tr>\n<td><code>endMonth</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>The month studies ended or are expected to end.</td>\n</tr>\n<tr>\n<td><code>endYear</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>The year studies ended or are expected to end.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"success-response-200-ok\">Success Response (200 OK)</h3>\n<p><code>data</code>(object) : user object</p>\n","urlObject":{"path":["api","v1","users","67f35fe3a6243a202a30d87f","add-education"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5828fa34-1939-4fe9-84ba-88cb686530ac","name":"Add education entry","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"school\": \"Ningbo University of Technology\",\r\n    \"department\": \"Computer Science\",\r\n    \"degree\": \"B.Sc\",\r\n    \"startMonth\":  \"June\",\r\n    \"startYear\": \"2020\",\r\n    \"currentlyStudying\": \"false\",\r\n    \"endMonth\": \"June\",\r\n    \"endYear\": \"2024\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/users/add-education"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"93"},{"key":"ETag","value":"W/\"5d-UMZLHvmwnLQ/ml+Zuyk2IDSC2qQ\""},{"key":"Date","value":"Mon, 02 Dec 2024 21:13:17 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {},\n    \"message\": \"education entry is added successfully\",\n    \"success\": true\n}"}],"_postman_id":"dad6144c-7631-48bb-8bb5-ebf522af5c1d"},{"name":"Update educatin entry","id":"380c115d-1332-4e7a-a227-062809b607c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n   \"degree\": \"MSC\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/users/education/{{education_entry_id}}/update-record","description":"<p>This endpoint is used to update education record. This is protected route.</p>\n<h3 id=\"path-parameters\"><strong>Path Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>recordId</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The unique ID of the education record to update.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body\">Request Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>school</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>Name of the institute</td>\n</tr>\n<tr>\n<td><code>department</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The department or field of study</td>\n</tr>\n<tr>\n<td><code>degree</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The degree earned or being pursued (e.g., \"B.Sc\").</td>\n</tr>\n<tr>\n<td><code>startMonth</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The month studies began (e.g., \"June\")io</td>\n</tr>\n<tr>\n<td><code>startYear</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The year studies began (e.g., \"2020\").</td>\n</tr>\n<tr>\n<td><code>currentlyStudying</code></td>\n<td><code>boolean</code></td>\n<td>Yes</td>\n<td>Indicates if the user is currently studying (true/false).</td>\n</tr>\n<tr>\n<td><code>endMonth</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>The month studies ended or are expected to end.</td>\n</tr>\n<tr>\n<td><code>endYear</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>The year studies ended or are expected to end.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"success-response200-ok\">Success Response(200 OK)</h3>\n<p>body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Education record has been updated successfully\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","users","education","{{education_entry_id}}","update-record"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"62533fb2-6278-4039-a681-408b38005179","name":"update education record","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"school\": \"Ningbo University of Technology\",\r\n    \"department\": \"Computer Science\",\r\n    \"degree\": \"B.Sc\",\r\n    \"startMonth\":  \"June\",\r\n    \"startYear\": \"2020\",\r\n    \"currentlyStudying\": \"true\",\r\n    \"endMonth\": \"June\",\r\n    \"endYear\": \"2024\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/users/education/{{record_id}}/update-record"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"60"},{"key":"ETag","value":"W/\"3c-NCsmF4oPJXPff9548fpiyPKF3QU\""},{"key":"Date","value":"Fri, 22 Nov 2024 13:15:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Education record has been updated successfully\"\n}"}],"_postman_id":"380c115d-1332-4e7a-a227-062809b607c9"},{"name":"Delete education entry","id":"029dc569-ed98-4963-9eb5-9f60fb5776a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{base_url}}/api/v1/users/education/674e305172ba5b9d065d592b","description":"<p>This endpoint allows user to delete education entry. This route is protected.</p>\n<h3 id=\"path-parameters\"><strong>Path Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>recordId</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The unique ID of the education record to delete.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"success-response\">Success Response</h3>\n<p>status: 200 OK</p>\n<p>body</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"education record has been deleted successfully\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","users","education","674e305172ba5b9d065d592b"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"029dc569-ed98-4963-9eb5-9f60fb5776a9"},{"name":"Toggle user access status","id":"8d4a1c28-17ec-480d-8a0b-5688394a8175","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"school\": \"Ningbo University of Technology\",\r\n    \"department\": \"Computer Science\",\r\n    \"degree\": \"B.Sc\",\r\n    \"startMonth\":  \"June\",\r\n    \"startYear\": \"2020\",\r\n    \"currentlyStudying\": \"true\",\r\n    \"endMonth\": \"June\",\r\n    \"endYear\": \"2024\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/users/toggle-access-status/{{userId}}","description":"<p>This endpoint allows an admin to toggle the access status (enable/disable) of a specific user.</p>\n<h3 id=\"path-parameters\"><strong>Path Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>userId</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The unique ID of the user whose access status needs to be updated.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body\"><strong>Request Body</strong></h3>\n<p>This endpoint does not require a request body.</p>\n<h3 id=\"success-response\">Success Response</h3>\n<p>status: 200 OK</p>\n<p>body</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"User access status has been updated.\"\n}\n\n</code></pre>\n<h4 id=\"error-responses\"><strong>Error Responses</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Description</th>\n<th>Example Body</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>400</code></td>\n<td>Bad request due to missing <code>userId</code>.</td>\n<td>{  <br />\"success\": false,  <br />\"message\": \"user id is missing\"  <br />}</td>\n</tr>\n<tr>\n<td><code>404</code></td>\n<td>User not found by the provided <code>userId</code>.</td>\n<td>{  <br />\"success\": false,  <br />\"message\": \"User with id 6795625c46a49bf11c233fd5 is not found\"  <br />}</td>\n</tr>\n<tr>\n<td><code>500</code></td>\n<td>Internal server error.</td>\n<td>{  <br />\"success\": false,  <br />\"message\": \"Internal server Error\"  <br />}</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","users","toggle-access-status","{{userId}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d4a1c28-17ec-480d-8a0b-5688394a8175"},{"name":"Get application statistics","id":"d3cd0fe7-51e0-4736-b5d3-5154a5ffd03b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/users/admin/app-stats","description":"<p>This endpoint allows an admin to retrieve the statistics for the total number of users and jobs in the system.This is protected route.</p>\n<h3 id=\"success-response\">Success Response</h3>\n<p><strong>status</strong>: 200 OK</p>\n<p><strong>body</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"users\": 10,\n    \"jobs\": 35\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","users","admin","app-stats"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"19b18b1c-6b8b-4f4b-a19e-5130f118dd64","name":"get application stats","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/users/admin/app-stats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"ETag","value":"W/\"16-5P8xxqnBHhJ952PLVRBmXbfXzfA\""},{"key":"Date","value":"Fri, 22 Nov 2024 13:31:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"users\": 12,\n    \"jobs\": 36\n}"}],"_postman_id":"d3cd0fe7-51e0-4736-b5d3-5154a5ffd03b"},{"name":"add phone number","id":"6c00c39f-78d1-4c48-9dee-48c3b5c1eb45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"{{user_phone_number}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/users/add-phone-number","description":"<h3 id=\"add-phone-number\">Add Phone number</h3>\n<p>This endpoint allows a user to add phone number. This is protected.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>type</th>\n<th>required</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>phoneNumber</code></td>\n<td><code>string</code></td>\n<td>yes</td>\n<td>user's phone number along with country code</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","users","add-phone-number"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"78669359-9679-442b-92e0-e9e1fad9ffc5","name":"add phone number","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"{{user_phone_number}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/users/add-phone-number"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-PLsfotGsJoHLCrfQWhmCQGrhOJI\""},{"key":"Date","value":"Fri, 22 Nov 2024 13:32:31 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Phone Number has been added\"\n}"}],"_postman_id":"6c00c39f-78d1-4c48-9dee-48c3b5c1eb45"},{"name":"Update profile Photo","id":"3d2ed757-de7a-45a4-b107-bd976069f5a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"avatar","type":"file","src":"/D:/photos/low/images.jpeg"}]},"url":"{{base_url}}/api/v1/users/upload-profile-photo","description":"<p>This endpoint allows user to update profile photo.This protected route.</p>\n<h3 id=\"request-body\"><strong>Request Body</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>type</th>\n<th>required</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>avatar</code></td>\n<td><code>file</code></td>\n<td>yes</td>\n<td>user's profile photo</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"success-response200-ok\">Success Response(200 OK</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>message</td>\n<td>string</td>\n<td>Message of successfull response</td>\n</tr>\n<tr>\n<td>user</td>\n<td>object</td>\n<td>user object</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","users","upload-profile-photo"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"fcc8ebef-e0e8-4d89-80ba-203c9ad6ece5","name":"Update profile Photo","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"avatar","type":"file","src":"/D:/photos/low/images.jpeg"}]},"url":"{{base_url}}/api/v1/users/upload-profile-photo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"85"},{"key":"ETag","value":"W/\"55-nwiHLaUOTD0zKpSBnF1wZ+LZ5wY\""},{"key":"Date","value":"Mon, 02 Dec 2024 21:05:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {},\n    \"message\": \"photo is updated successfully\",\n    \"success\": true\n}"}],"_postman_id":"3d2ed757-de7a-45a4-b107-bd976069f5a2"},{"name":"update user infomarion by id","event":[{"listen":"test","script":{"id":"f48621d5-396b-4347-abe4-5161837b083e","exec":["pm.test(\"Response status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","var template = `\r","<style type=\"text/css\">\r","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}\r","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}\r","    .tftable tr {background-color:#ffffff;}\r","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}\r","    .tftable tr:hover {background-color:#e0ffff;}\r","</style>\r","\r","<table class=\"tftable\" border=\"1\">\r","    <tr>\r","        <th>Field</th>\r","        <th>Type</th>\r","    </tr>\r","    <tr>\r","        <td>msg</td>\r","        <td>string</td>\r","    </tr>\r","</table>\r","`;\r","\r","function constructVisualizerPayload() {\r","    return {response: pm.response.json()}\r","}\r","\r","pm.visualizer.set(template, constructVisualizerPayload());\r",""],"type":"text/javascript","packages":{}}}],"id":"e9f7de0c-a714-4d3e-96be-9bce9b1220b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"firstName","value":"Janes","description":"<p>required</p>\n","type":"text"},{"key":"location[city]","value":"new yoirk","description":"<p>required</p>\n","type":"text"},{"key":"lastName","value":"Alex","description":"<p>required</p>\n","type":"text"},{"key":"phoneNumber","value":"{{user_phone_number}}","description":"<p>optional</p>\n","type":"text"},{"key":"avatar","description":"<p>optional</p>\n","type":"file","src":"/D:/photos/low/pexels-asad-photo-maldives-1024960.jpg","disabled":true},{"key":"email","value":"ane.smith1@example.com","type":"text"},{"key":"location[country]","value":"usa","type":"text","uuid":"63e864ac-5d15-4392-8c2f-3d9459ff714a"}]},"url":"{{base_url}}/api/v1/users/{{user_id}}/update-basic-information","description":"<h3 id=\"update-user-details\">Update User Details</h3>\n<p>This API endpoint is used to update user details using the HTTP PATCH method.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>firstName</code></td>\n<td>Text</td>\n<td>Yes</td>\n<td>The first name of the user.</td>\n</tr>\n<tr>\n<td><code>location</code></td>\n<td>Text</td>\n<td>Yes</td>\n<td>The location of the user.</td>\n</tr>\n<tr>\n<td><code>lastName</code></td>\n<td>Text</td>\n<td>Yes</td>\n<td>The last name of the user.</td>\n</tr>\n<tr>\n<td><code>phoneNumber</code></td>\n<td>Text</td>\n<td>No</td>\n<td>The phone number of the user.</td>\n</tr>\n<tr>\n<td><code>avatar</code></td>\n<td>File</td>\n<td>No</td>\n<td>User's profile image file</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"success-response-response\">Success Response Response</h4>\n<p><strong>status</strong>: 200 OK</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"msg\": \"updated User\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","users","{{user_id}}","update-basic-information"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e9f7de0c-a714-4d3e-96be-9bce9b1220b6"},{"name":"New Request","id":"45435e30-bd9c-4a0a-8833-39a13b6188ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"45435e30-bd9c-4a0a-8833-39a13b6188ff"},{"name":"Get user by id","id":"c17aaab6-349c-40b4-a117-ef39b518a548","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"get-apiv1usersuserid\">GET /api/v1/users/{{userId}}</h3>\n<p>This endpoint retrieves the details of a specific user.</p>\n<h4 id=\"request\">Request</h4>\n<p>No request body parameters are required for this request.</p>\n<ul>\n<li><p>Path Parameters</p>\n<ul>\n<li><code>userId</code> (string, required): The unique identifier of the user.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"statusCode\": 0,\n  \"data\": {\n    \"_id\": \"\",\n    \"firstName\": \"\",\n    \"email\": \"\",\n    \"lastName\": \"\",\n    \"location\": {\n      \"city\": \"\",\n      \"country\": \"\",\n      \"_id\": \"\"\n    },\n    \"accessStatus\": true,\n    \"twoStepAuthentication\": true,\n    \"phoneNumber\": \"\",\n    \"isDeleted\": null,\n    \"isEmailVerified\": true,\n    \"emailVerifyTokenExpiry\": \"\",\n    \"forgotPasswordTokenExpiry\": null,\n    \"role\": [\n      {\n        \"_id\": \"\",\n        \"role\": \"\",\n        \"permissions\": [\"\"],\n        \"__v\": 0\n      }\n    ],\n    \"educationRecords\": [],\n    \"createdAt\": \"\",\n    \"updatedAt\": \"\",\n    \"__v\": 0,\n    \"emailVerifyToken\": \"\"\n  },\n  \"message\": \"\",\n  \"success\": true\n}\n\n</code></pre>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"b0a85e45-7926-4f74-b76d-0709e5fb8b04","name":"New Request","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/users/{{userId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"936"},{"key":"ETag","value":"W/\"3a8-l8uzpUUGBKZ0Pu9Z42t0THX7Buc\""},{"key":"Date","value":"Wed, 09 Apr 2025 12:36:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {\n        \"_id\": \"63f988b8f1a2bc0012345671\",\n        \"firstName\": \"John\",\n        \"email\": \"john@example.com\",\n        \"lastName\": \"Doe\",\n        \"location\": {\n            \"city\": \"New York\",\n            \"country\": \"USA\",\n            \"_id\": \"67f65729c3273793e131bbd8\"\n        },\n        \"accessStatus\": true,\n        \"twoStepAuthentication\": false,\n        \"phoneNumber\": \"0012123456789\",\n        \"isDeleted\": null,\n        \"isEmailVerified\": true,\n        \"emailVerifyTokenExpiry\": \"2025-04-09T11:21:57.507Z\",\n        \"forgotPasswordTokenExpiry\": null,\n        \"role\": [\n            {\n                \"_id\": \"67f56aada9cb75454c523a87\",\n                \"role\": \"user\",\n                \"permissions\": [\n                    \"application:create\",\n                    \"profile:view\",\n                    \"profile:write\"\n                ],\n                \"__v\": 0\n            },\n            {\n                \"_id\": \"67f56aada9cb75454c523a8a\",\n                \"role\": \"recruiter\",\n                \"permissions\": [\n                    \"job:create\",\n                    \"application:update\",\n                    \"application:delete\",\n                    \"profile:view\"\n                ],\n                \"__v\": 0\n            }\n        ],\n        \"educationRecords\": [],\n        \"createdAt\": \"2025-04-09T11:16:57.146Z\",\n        \"updatedAt\": \"2025-04-09T11:16:57.507Z\",\n        \"__v\": 0,\n        \"emailVerifyToken\": \"$2b$10$LFKo3Ol4qB3cvRMp1Kq4J..D1hNOP/gIgaTJOg1FB5sM.J7BA7MIC\"\n    },\n    \"message\": \"User is fetched successfully\",\n    \"success\": true\n}"}],"_postman_id":"c17aaab6-349c-40b4-a117-ef39b518a548"}],"id":"9ea91c78-cd84-4317-87af-15c04b99570d","_postman_id":"9ea91c78-cd84-4317-87af-15c04b99570d","description":""},{"name":"records","item":[{"name":"Get Country list","id":"69d9072f-4109-48d7-a8d4-42f80a4336ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/records/countries","urlObject":{"path":["api","v1","records","countries"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"69d9072f-4109-48d7-a8d4-42f80a4336ac"},{"name":"Get list of cities of a country","id":"8a3425aa-1240-49f5-80c6-83d24ed08326","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/records/countries/66c9d1d592ab811a6e5bc6eb/cities","urlObject":{"path":["api","v1","records","countries","66c9d1d592ab811a6e5bc6eb","cities"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a3425aa-1240-49f5-80c6-83d24ed08326"}],"id":"7d78116a-792d-4afb-8d35-d722c4e1c23e","_postman_id":"7d78116a-792d-4afb-8d35-d722c4e1c23e","description":""},{"name":"job applications","item":[{"name":"Create a job application","id":"3f66f75f-e6b1-4a58-afc1-f0fd49e86b2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"jobId\": \"67e97f3b70836485a0923208\",\r\n    \"id\": \"67e9a7834bf1744679a2d238\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/job-applications","description":"<p>This endpoint allows a user to apply for a job. This is protected route, meaning user must be logged in to access this route.</p>\n<p><strong>Request Body</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>Unique identifier for the application. Usually auto-generated.</td>\n</tr>\n<tr>\n<td><code>jobId</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The unique identifier of the job for which the candidate is applying.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"success-response\">Success Response</h3>\n<p><strong>status</strong>: 200 OK</p>\n<p>body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 201,\n    \"data\": {\n        \"jobApplication\": {\n            \"candidateId\": \"{{candiateId}}\",\n            \"recruiterId\": \"{{recruiterId}}\",\n            \"jobId\": \"{{jobID}}\",\n            \"status\": \"pending\",\n            \"interviewDate\": \"2024-12-10T14:00:00.000Z\",\n            \"notes\": \"Candidate shows promising skills; recommend for interview stage.\",\n            \"_id\": \"64f57fa8a1b82d431e1ef103\",\n            \"createdAt\": \"2024-11-21T21:24:33.075Z\",\n            \"updatedAt\": \"2024-11-21T21:24:33.075Z\",\n            \"__v\": 0\n        }\n    },\n    \"message\": \"Success\",\n    \"success\": true\n}\n\n</code></pre>\n<h4 id=\"error-responses\"><strong>Error Responses</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Description</th>\n<th>Example Body</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>400</code></td>\n<td>Bad Request</td>\n<td>{  <br />\"success\": false,  <br />\"message\": \"Application with id 64f57fa8a1b82d431e1ef103 already exists\"  <br />}</td>\n</tr>\n<tr>\n<td><code>401</code></td>\n<td>Unauthorized access.</td>\n<td><code>{ \"error\": \"Authentication required\" }</code></td>\n</tr>\n<tr>\n<td><code>500</code></td>\n<td>Internal server error.</td>\n<td><code>{ \"error\": \"An unexpected error occurred\" }</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","job-applications"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ddcedf1f-3058-4ef1-b3f5-046af502d3fd","name":"Create a job application","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"recruiterId\": \"67e97a8c5ae253a36dae6b2c\",\r\n    \"jobId\": \"67e97f3b70836485a0923208\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/job-applications"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"559"},{"key":"ETag","value":"W/\"22f-wEKg0p3IZ48dhtAKTp3wtTU0UHo\""},{"key":"Date","value":"Sun, 30 Mar 2025 20:36:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 201,\n    \"data\": {\n        \"jobApplication\": [\n            {\n                \"candidateId\": \"67e9a7834bf1744679a2d238\",\n                \"recruiterId\": \"67e97a8c5ae253a36dae6b2c\",\n                \"jobId\": \"67e97f3b70836485a0923208\",\n                \"status\": \"applied\",\n                \"statusHistory\": [\n                    {\n                        \"status\": \"applied\",\n                        \"updatedBy\": \"67e9a7834bf1744679a2d238\",\n                        \"_id\": \"67e9ab5c738f1e8f3aec7576\",\n                        \"createdAt\": \"2025-03-30T20:36:44.906Z\",\n                        \"updatedAt\": \"2025-03-30T20:36:44.906Z\"\n                    }\n                ],\n                \"_id\": \"67e9ab5c738f1e8f3aec7575\",\n                \"createdAt\": \"2025-03-30T20:36:44.910Z\",\n                \"updatedAt\": \"2025-03-30T20:36:44.910Z\",\n                \"__v\": 0\n            }\n        ]\n    },\n    \"message\": \"Job application is created successfully\",\n    \"success\": true\n}"}],"_postman_id":"3f66f75f-e6b1-4a58-afc1-f0fd49e86b2b"},{"name":"Update application status","id":"46badf72-690c-4bfd-b47b-99299591e449","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\": \"shortListed\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/job-applications/{{job_application_id}}","description":"<p>This endpoint allows recruiter to update user's application status. This route is protected.</p>\n<p>Query Params</p>\n<p>applicationId: string</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p><code>status</code> (string, required). Accepted options for status are: pending, interview, declined</p>\n<h3 id=\"success-response\">Success Response</h3>\n<p><strong>status code</strong>: 200 OK</p>\n<p><strong>body</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"data\": {},\n    \"message\": \"Application status is updated successfully\",\n    \"success\": true\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Description</th>\n<th>Example Body</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>400</code></td>\n<td>Bad Request</td>\n<td>{  <br />\"success\": false,  <br />\"message\": \"Application with id 64f57fa8a1b82d431e1ef103 already exists\"  <br />}</td>\n</tr>\n<tr>\n<td><code>403</code></td>\n<td>forbidded</td>\n<td>{  <br />\"success\": false,  <br />\"message\": \"You are not allowed to modify\"  <br />}</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","job-applications","{{job_application_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c3b0d708-960c-472e-aa02-2919c55210d8","name":"update application status-for admin","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\": \"declined\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/job-applications/64f57fa8a1b82d431e1ef103"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"98"},{"key":"ETag","value":"W/\"62-gTVcnfrdyMkHWtsGw0mcx4gLekc\""},{"key":"Date","value":"Thu, 21 Nov 2024 22:25:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {},\n    \"message\": \"Application status is updated successfully\",\n    \"success\": true\n}"}],"_postman_id":"46badf72-690c-4bfd-b47b-99299591e449"},{"name":"Get my Job Applications","id":"cc0cceee-f1c2-4234-84db-2d91e65d51b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/job-applications/my-applications","description":"<p>This endpoint retrieves a paginated list of job applications apply by the user. It supports filtering by <code>status</code>, <code>candidateId</code>, or <code>recruiterId</code> and allows sorting by the latest or oldest entries.</p>\n<h4 id=\"query-parameters\"><strong>Query Parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>limit</code></td>\n<td>Number</td>\n<td>No</td>\n<td>Maximum number of job applications to return. Defaults to <code>10</code>.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Number</td>\n<td>No</td>\n<td>Page number to retrieve. Defaults to <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>String</td>\n<td>No</td>\n<td>Filter job applications by their status (e.g., <code>pending</code>, <code>accepted</code>, <code>declined</code>).</td>\n</tr>\n<tr>\n<td><code>candidateId</code></td>\n<td>String</td>\n<td>No</td>\n<td>Filter job applications by the candidate's ID.</td>\n</tr>\n<tr>\n<td><code>recruiterId</code></td>\n<td>String</td>\n<td>No</td>\n<td>Filter job applications by the recruiter's ID.</td>\n</tr>\n<tr>\n<td><code>sort</code></td>\n<td>String</td>\n<td>No</td>\n<td>Sort job applications by either <code>latest</code> (default) or <code>old</code> (for ascending order).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"sucess-response200-ok\">sucess Response(200 OK)</h3>\n<h3 id=\"field-descriptions\"><strong>Field Descriptions</strong></h3>\n<h4 id=\"root-fields\"><strong>Root Fields</strong></h4>\n<ul>\n<li><p><code>statusCode</code> <em>(integer)</em>: HTTP status code of the response.</p>\n</li>\n<li><p><code>data</code> <em>(object)</em>: Contains the job applications and pagination information.</p>\n</li>\n<li><p><code>message</code> <em>(string)</em>: Success message.</p>\n</li>\n<li><p><code>success</code> <em>(boolean)</em>: Indicates whether the operation was successful.</p>\n</li>\n</ul>\n<h4 id=\"datajobapplications\"><strong>data.jobApplications[]</strong></h4>\n<ul>\n<li><p><code>_id</code> <em>(string)</em>: ID of the job application.</p>\n</li>\n<li><p><code>status</code> <em>(string)</em>: Current status of the job application.</p>\n</li>\n<li><p><code>statusHistory[]</code> <em>(array)</em>: List of historical status changes.</p>\n<ul>\n<li><p><code>status</code> <em>(string)</em>: Status at a particular time.</p>\n</li>\n<li><p><code>updatedBy</code> <em>(string)</em>: ID of the user who updated the status.</p>\n</li>\n<li><p><code>updatedAt</code> <em>(ISODate)</em>: Timestamp of the status update.</p>\n</li>\n<li><p><code>_id</code> <em>(string)</em>: ID of the status history record.</p>\n</li>\n</ul>\n</li>\n<li><p><code>createdAt</code> <em>(ISODate)</em>: When the application was created.</p>\n</li>\n<li><p><code>updatedAt</code> <em>(ISODate)</em>: When the application was last updated.</p>\n</li>\n<li><p><code>job</code> <em>(object)</em>: Detailed information about the job.</p>\n</li>\n<li><p><code>recruiter</code> <em>(object)</em>: User Object</p>\n</li>\n</ul>\n<h4 id=\"datapagination\"><strong>data.pagination</strong></h4>\n<ul>\n<li><p><code>totalPages</code> <em>(integer)</em>: Total number of pages available.</p>\n</li>\n<li><p><code>totalItems</code> <em>(integer)</em>: Total number of items across all pages.</p>\n</li>\n<li><p><code>currentPage</code> <em>(integer)</em>: Current page number.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","job-applications","my-applications"],"host":["{{base_url}}"],"query":[{"disabled":true,"key":"status","value":"all"},{"disabled":true,"key":"limit","value":"1"}],"variable":[]}},"response":[{"id":"a2584986-28b6-4b35-9834-9558faa4b9ce","name":"Get my Job Applications","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/api/v1/job-applications/my-applications","host":["{{base_url}}"],"path":["api","v1","job-applications","my-applications"],"query":[{"key":"status","value":"all","disabled":true},{"key":"limit","value":"1","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1468"},{"key":"ETag","value":"W/\"5bc-HyuR0FHtJFYQpyp6OIYMT1TWNbU\""},{"key":"Date","value":"Mon, 31 Mar 2025 11:38:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {\n        \"jobApplications\": [\n            {\n                \"_id\": \"67e9ab5c738f1e8f3aec7575\",\n                \"status\": \"hired\",\n                \"statusHistory\": [\n                    {\n                        \"status\": \"applied\",\n                        \"updatedBy\": {\n                            \"_id\": \"67e9a7834bf1744679a2d238\",\n                            \"firstName\": \"John Doe\",\n                            \"email\": \"john@mail.com\",\n                            \"lastName\": \"Dis\",\n                            \"__v\": 0\n                        },\n                        \"_id\": \"67e9ab5c738f1e8f3aec7576\",\n                        \"createdAt\": \"2025-03-30T20:36:44.906Z\",\n                        \"updatedAt\": \"2025-03-30T20:36:44.906Z\"\n                    },\n                    {\n                        \"status\": \"hired\",\n                        \"updatedBy\": {\n                            \"_id\": \"67e97a8c5ae253a36dae6b2c\",\n                            \"firstName\": \"Than Win\",\n                            \"email\": \"win@mail.com\",\n                            \"lastName\": \"Hline\",\n                            \"__v\": 0\n                        },\n                        \"_id\": \"67e9b039738f1e8f3aec7580\",\n                        \"updatedAt\": \"2025-03-30T20:57:29.053Z\",\n                        \"createdAt\": \"2025-03-30T20:57:29.053Z\"\n                    }\n                ],\n                \"recruiter\": {\n                    \"_id\": \"67e97a8c5ae253a36dae6b2c\",\n                    \"firstName\": \"Than Win\",\n                    \"lastName\": \"Hline\"\n                },\n                \"job\": {\n                    \"_id\": \"67e97f3b70836485a0923208\",\n                    \"companyId\": \"67e87694b3424acf88b26339\",\n                    \"position\": \"Front-end Engineer\",\n                    \"jobType\": \"full-time\",\n                    \"jobLocation\": {\n                        \"city\": \"New York\",\n                        \"country\": \"USA\",\n                        \"_id\": \"67e984ed21a95e3773bf6a87\"\n                    },\n                    \"salary\": {\n                        \"min\": 80000,\n                        \"max\": 120000,\n                        \"_id\": \"67e984ed21a95e3773bf6a86\"\n                    },\n                    \"experianceLevel\": \"mid\",\n                    \"openRoles\": 3,\n                    \"createdBy\": \"67e97a8c5ae253a36dae6b2c\",\n                    \"numberOfApplicants\": 11,\n                    \"applicationDeadline\": \"2025-04-30T23:59:59.999Z\",\n                    \"createdAt\": \"2025-03-30T17:28:27.712Z\",\n                    \"updatedAt\": \"2025-03-30T20:36:45.061Z\",\n                    \"__v\": 0\n                },\n                \"company\": \"Meta\",\n                \"candidate\": {\n                    \"_id\": \"67e9a7834bf1744679a2d238\",\n                    \"firstName\": \"John Doe\",\n                    \"lastName\": \"Dis\"\n                }\n            }\n        ],\n        \"pagination\": {\n            \"totalPages\": 1,\n            \"totalItems\": 1,\n            \"currentPage\": 1\n        }\n    },\n    \"message\": \"All your applications are fetched successfully\",\n    \"success\": true\n}"}],"_postman_id":"cc0cceee-f1c2-4234-84db-2d91e65d51b4"},{"name":"Get all job applications","id":"8fd27e86-3769-47ff-a482-bd5bab75e580","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/job-applications?candidateName=john","description":"<p>This endpoint allows job owner to list all the job application.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sort</td>\n<td>string</td>\n<td>no</td>\n<td>sort options are <strong>latest</strong>, <strong>old.</strong> Default opton is <strong>latest</strong></td>\n</tr>\n<tr>\n<td>limit</td>\n<td>number</td>\n<td>no</td>\n<td>default limit is 10</td>\n</tr>\n<tr>\n<td>page</td>\n<td>number</td>\n<td>no</td>\n<td>default page is 1</td>\n</tr>\n<tr>\n<td>candidateId</td>\n<td>string</td>\n<td>no</td>\n<td>candidate unique id</td>\n</tr>\n<tr>\n<td>recruiterId</td>\n<td>string</td>\n<td>no</td>\n<td>recruiter unique id</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>no</td>\n<td>job status</td>\n</tr>\n<tr>\n<td>candidateName</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"success-response-200-ok\">Success Response (200 OK)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>statusCode</td>\n<td>number</td>\n<td>http status code</td>\n</tr>\n<tr>\n<td>data</td>\n<td>object</td>\n<td>job applications related data</td>\n</tr>\n<tr>\n<td>data.jobApplications</td>\n<td>array</td>\n<td>list of job applications</td>\n</tr>\n<tr>\n<td>data.pages</td>\n<td>number</td>\n<td>total number of page</td>\n</tr>\n<tr>\n<td>data.total</td>\n<td>number</td>\n<td>total number of job application in collection</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","job-applications"],"host":["{{base_url}}"],"query":[{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"candidateId","value":"67e9a7834bf1744679a2d238"},{"disabled":true,"key":"recruiterId","value":"64f57d65a1b82d431e1e5678"},{"disabled":true,"key":"status","value":"pending"},{"key":"candidateName","value":"john"}],"variable":[]}},"response":[{"id":"28c23474-ba1e-4507-a322-e8c011e94737","name":"Get all job applications","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/api/v1/job-applications","host":["{{base_url}}"],"path":["api","v1","job-applications"],"query":[{"key":"page","value":"2","type":"text","disabled":true},{"key":"candidateId","value":"6695625c46a49bf11c233fd5","type":"text","disabled":true},{"key":"recruiterId","value":"64f57d65a1b82d431e1e5678","disabled":true},{"key":"status","value":"pending","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1444"},{"key":"ETag","value":"W/\"5a4-FTJUp8zqkTPVMuVAILHtPdjAx4Q\""},{"key":"Date","value":"Mon, 31 Mar 2025 11:42:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {\n        \"data\": [\n            {\n                \"_id\": \"67e9ab5c738f1e8f3aec7575\",\n                \"status\": \"hired\",\n                \"statusHistory\": [\n                    {\n                        \"status\": \"applied\",\n                        \"updatedBy\": {\n                            \"_id\": \"67e9a7834bf1744679a2d238\",\n                            \"firstName\": \"John Doe\",\n                            \"email\": \"john@mail.com\",\n                            \"lastName\": \"Dis\",\n                            \"__v\": 0\n                        },\n                        \"_id\": \"67e9ab5c738f1e8f3aec7576\",\n                        \"createdAt\": \"2025-03-30T20:36:44.906Z\",\n                        \"updatedAt\": \"2025-03-30T20:36:44.906Z\"\n                    },\n                    {\n                        \"status\": \"hired\",\n                        \"updatedBy\": {\n                            \"_id\": \"67e97a8c5ae253a36dae6b2c\",\n                            \"firstName\": \"Than Win\",\n                            \"email\": \"win@mail.com\",\n                            \"lastName\": \"Hline\",\n                            \"__v\": 0\n                        },\n                        \"_id\": \"67e9b039738f1e8f3aec7580\",\n                        \"updatedAt\": \"2025-03-30T20:57:29.053Z\",\n                        \"createdAt\": \"2025-03-30T20:57:29.053Z\"\n                    }\n                ],\n                \"recruiter\": {\n                    \"_id\": \"67e97a8c5ae253a36dae6b2c\",\n                    \"firstName\": \"Than Win\",\n                    \"lastName\": \"Hline\"\n                },\n                \"job\": {\n                    \"_id\": \"67e97f3b70836485a0923208\",\n                    \"companyId\": \"67e87694b3424acf88b26339\",\n                    \"position\": \"Front-end Engineer\",\n                    \"jobType\": \"full-time\",\n                    \"jobLocation\": {\n                        \"city\": \"New York\",\n                        \"country\": \"USA\",\n                        \"_id\": \"67e984ed21a95e3773bf6a87\"\n                    },\n                    \"salary\": {\n                        \"min\": 80000,\n                        \"max\": 120000,\n                        \"_id\": \"67e984ed21a95e3773bf6a86\"\n                    },\n                    \"experianceLevel\": \"mid\",\n                    \"openRoles\": 3,\n                    \"createdBy\": \"67e97a8c5ae253a36dae6b2c\",\n                    \"numberOfApplicants\": 11,\n                    \"applicationDeadline\": \"2025-04-30T23:59:59.999Z\",\n                    \"createdAt\": \"2025-03-30T17:28:27.712Z\",\n                    \"updatedAt\": \"2025-03-30T20:36:45.061Z\",\n                    \"__v\": 0\n                },\n                \"company\": \"Meta\",\n                \"candidate\": {\n                    \"_id\": \"67e9a7834bf1744679a2d238\",\n                    \"firstName\": \"John Doe\",\n                    \"lastName\": \"Dis\"\n                }\n            }\n        ],\n        \"pagination\": {\n            \"totalPages\": 1,\n            \"currentPage\": 1,\n            \"totalItems\": 1\n        }\n    },\n    \"message\": \"All jobs are fetched successfully\",\n    \"success\": true\n}"}],"_postman_id":"8fd27e86-3769-47ff-a482-bd5bab75e580"},{"name":"Get single job application","id":"79c94cca-1e9b-40a7-96e5-502aad5fc5ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/job-applications/{{candidate_id}}","description":"<p>This endpoint allows a user to retrive a job application by id.</p>\n<h3 id=\"success-response200-ok\">Success Response(200 OK)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>statusCode</code></td>\n<td><code>number</code></td>\n<td>The HTTP status code for the response.</td>\n</tr>\n<tr>\n<td><code>data</code></td>\n<td><code>object</code></td>\n<td>Container object for the data payload.</td>\n</tr>\n<tr>\n<td><code>data.jobApplication</code></td>\n<td><code>object</code></td>\n<td>job application object</td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td><code>string</code></td>\n<td>Descriptive message about the response, including the job application ID.</td>\n</tr>\n<tr>\n<td><code>success</code></td>\n<td><code>boolean</code></td>\n<td>Indicates whether the request was successful (<code>true</code> or <code>false</code>).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","job-applications","{{candidate_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"d43f7546-06a5-467d-a76b-07a1ea7491a6","name":"Get single job application","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/job-applications/67e9ab5c738f1e8f3aec7575"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1407"},{"key":"ETag","value":"W/\"57f-ZLkn7DMWpW8ifGvYYwDg8MjQhNo\""},{"key":"Date","value":"Mon, 31 Mar 2025 12:37:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {\n        \"_id\": \"67e9ab5c738f1e8f3aec7575\",\n        \"status\": \"hired\",\n        \"statusHistory\": [\n            {\n                \"status\": \"applied\",\n                \"updatedBy\": {\n                    \"_id\": \"67e9a7834bf1744679a2d238\",\n                    \"firstName\": \"John Doe\",\n                    \"email\": \"john@mail.com\",\n                    \"lastName\": \"Dis\",\n                    \"__v\": 0\n                },\n                \"_id\": \"67e9ab5c738f1e8f3aec7576\",\n                \"createdAt\": \"2025-03-30T20:36:44.906Z\",\n                \"updatedAt\": \"2025-03-30T20:36:44.906Z\"\n            },\n            {\n                \"status\": \"hired\",\n                \"updatedBy\": {\n                    \"_id\": \"67e97a8c5ae253a36dae6b2c\",\n                    \"firstName\": \"Than Win\",\n                    \"email\": \"win@mail.com\",\n                    \"lastName\": \"Hline\",\n                    \"__v\": 0\n                },\n                \"_id\": \"67e9b039738f1e8f3aec7580\",\n                \"updatedAt\": \"2025-03-30T20:57:29.053Z\",\n                \"createdAt\": \"2025-03-30T20:57:29.053Z\"\n            }\n        ],\n        \"recruiter\": {\n            \"_id\": \"67e97a8c5ae253a36dae6b2c\",\n            \"firstName\": \"Than Win\",\n            \"lastName\": \"Hline\"\n        },\n        \"job\": {\n            \"_id\": \"67e97f3b70836485a0923208\",\n            \"companyId\": \"67e87694b3424acf88b26339\",\n            \"position\": \"Front-end Engineer\",\n            \"jobType\": \"full-time\",\n            \"jobLocation\": {\n                \"city\": \"New York\",\n                \"country\": \"USA\",\n                \"_id\": \"67e984ed21a95e3773bf6a87\"\n            },\n            \"salary\": {\n                \"min\": 80000,\n                \"max\": 120000,\n                \"_id\": \"67e984ed21a95e3773bf6a86\"\n            },\n            \"experianceLevel\": \"mid\",\n            \"openRoles\": 3,\n            \"createdBy\": \"67e97a8c5ae253a36dae6b2c\",\n            \"numberOfApplicants\": 11,\n            \"applicationDeadline\": \"2025-04-30T23:59:59.999Z\",\n            \"createdAt\": \"2025-03-30T17:28:27.712Z\",\n            \"updatedAt\": \"2025-03-30T20:36:45.061Z\",\n            \"__v\": 0\n        },\n        \"company\": \"Meta\",\n        \"candidate\": {\n            \"_id\": \"67e9a7834bf1744679a2d238\",\n            \"firstName\": \"John Doe\",\n            \"lastName\": \"Dis\"\n        }\n    },\n    \"message\": \"Applicaiton with id 67e9ab5c738f1e8f3aec7575 is fetched successfully\",\n    \"success\": true\n}"}],"_postman_id":"79c94cca-1e9b-40a7-96e5-502aad5fc5ec"},{"name":"delete job by job id","id":"d5e1ef00-325e-4f72-a490-f288e27f65d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/api/v1/job-applications/{{job_application_id}}","description":"<p>This endpoint is used to delete a specific job application.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object with the following properties:</p>\n<ul>\n<li><p><code>statusCode</code> (number): The status code of the response.</p>\n</li>\n<li><p><code>data</code> (object): An empty object.</p>\n</li>\n<li><p><code>message</code> (string): A message related to the response.</p>\n</li>\n<li><p><code>success</code> (boolean): Indicates if the request was successful.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","job-applications","{{job_application_id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ea98da23-95fc-4d50-a135-5800544b6367","name":"delete job by job id","originalRequest":{"method":"DELETE","header":[],"url":"{{base_url}}/api/v1/job-applications/{{job_application_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"91"},{"key":"ETag","value":"W/\"5b-fGk+aLS52L1LgDbQS9Hht+E/I/M\""},{"key":"Date","value":"Fri, 22 Nov 2024 16:03:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {},\n    \"message\": \"Application is deleted successfully\",\n    \"success\": true\n}"}],"_postman_id":"d5e1ef00-325e-4f72-a490-f288e27f65d5"},{"name":"Update many application status","id":"7d8410ba-ea3e-4ebb-a2db-1f407210af3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"declined","type":"text"}]},"url":"{{base_url}}/api/v1/job-applications/update-status?applicationIds[]=64f57fa8a1b82d431e1ef123","description":"<p>This endpoint allows job post owner to update multiple applications status in bulk.</p>\n<h4 id=\"query-parameters\"><strong>Query Parameters:</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>applicationIds</code></td>\n<td><code>array</code></td>\n<td>Yes</td>\n<td>An array of application IDs to update. Each ID should be a valid MongoDB ObjectId.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body\"><strong>Request Body:</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The new status to assign to the specified job applications.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"success-response200-ok\">Success Response(200 OK)</h3>\n<p><strong>Response body:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"data\": {},\n    \"message\": \"1 applications updated successfully\",\n    \"success\": true\n}\n\n</code></pre>\n<ul>\n<li><p><code>statusCode</code>: HTTP status code indicating the request was successful.</p>\n</li>\n<li><p><code>data</code>: An empty object in this case (reserved for future use).</p>\n</li>\n<li><p><code>message</code>: A message indicating the number of applications successfully updated.</p>\n</li>\n</ul>\n<h3 id=\"error-response\">Error Response</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>HTTP Status Code</strong></th>\n<th><strong>Reason</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>400 Bad Request</code></td>\n<td>Missing or invalid <code>status</code> in the body.  <br />Missing or invalid <code>applicationIds</code> in the query.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","job-applications","update-status"],"host":["{{base_url}}"],"query":[{"key":"applicationIds[]","value":"64f57fa8a1b82d431e1ef123"},{"disabled":true,"key":"applicationIds[]","value":"64f57fa8a1b82d431e1ef104"}],"variable":[]}},"response":[{"id":"58c72b6e-e7cc-490a-a087-481c9bd9fdc1","name":"New Request","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"declined","type":"text"}]},"url":{"raw":"{{base_url}}/api/v1/job-applications/update-status?applicationIds[]=64f57fa8a1b82d431e1ef123","host":["{{base_url}}"],"path":["api","v1","job-applications","update-status"],"query":[{"key":"applicationIds[]","value":"64f57fa8a1b82d431e1ef123"},{"key":"applicationIds[]","value":"64f57fa8a1b82d431e1ef104","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"91"},{"key":"ETag","value":"W/\"5b-XTT2zuMks6RjaXInvH5ZqRt/oHs\""},{"key":"Date","value":"Fri, 22 Nov 2024 21:48:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {},\n    \"message\": \"1 applications updated successfully\",\n    \"success\": true\n}"}],"_postman_id":"7d8410ba-ea3e-4ebb-a2db-1f407210af3d"},{"name":"show stats","id":"ce62fb21-3396-4afc-85cb-02e91f2a5556","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/job-applications/job-application-stats","description":"<p>This endpoint retrieves job statistics for the authenticated user, providing a count of jobs grouped by their status (e.g., <code>interview</code>, <code>pending</code>, <code>declined</code>).This route is <strong>protected</strong>, requiring the user to be authenticated. Include the authentication token in the <code>Authorization</code> header.</p>\n<p>StartFragment</p>\n<h4 id=\"success-response-200-ok\"><strong>Success Response (200 OK)</strong></h4>\n<h4 id=\"response-fields\"><strong>Response Fields</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>statusCode</code></td>\n<td><code>number</code></td>\n<td>The HTTP status code of the response.</td>\n</tr>\n<tr>\n<td><code>data</code></td>\n<td><code>object</code></td>\n<td>Contains the job application statistics data.</td>\n</tr>\n<tr>\n<td><code>data.defaultStats</code></td>\n<td><code>object</code></td>\n<td>Object containing counts of job applications by status.</td>\n</tr>\n<tr>\n<td><code>data.defaultStats.applied</code></td>\n<td><code>number</code></td>\n<td>Count of applications with the status <code>applied</code>.</td>\n</tr>\n<tr>\n<td><code>data.defaultStats.shortListed</code></td>\n<td><code>number</code></td>\n<td>Count of applications with the status <code>shortListed</code>.</td>\n</tr>\n<tr>\n<td><code>data.defaultStats.interview</code></td>\n<td><code>number</code></td>\n<td>Count of applications with the status <code>interview</code>.</td>\n</tr>\n<tr>\n<td><code>data.defaultStats.declined</code></td>\n<td><code>number</code></td>\n<td>Count of applications with the status <code>declined</code>.</td>\n</tr>\n<tr>\n<td><code>data.defaultStats.hired</code></td>\n<td><code>number</code></td>\n<td>Count of applications with the status <code>hired</code>.</td>\n</tr>\n<tr>\n<td><code>data.monthlyApplications</code></td>\n<td><code>array</code></td>\n<td>Array of objects containing the monthly job application statistics.</td>\n</tr>\n<tr>\n<td><code>data.monthlyApplications[].date</code></td>\n<td><code>string</code></td>\n<td>The month and year in which the applications were created (e.g., \"December 2024\").</td>\n</tr>\n<tr>\n<td><code>data.monthlyApplications[].count</code></td>\n<td><code>number</code></td>\n<td>The count of applications submitted in the respective month.</td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td><code>string</code></td>\n<td>A message describing the result of the API call.</td>\n</tr>\n<tr>\n<td><code>success</code></td>\n<td><code>boolean</code></td>\n<td>Indicates whether the API call was successful (<code>true</code>) or not (<code>false</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"error-responses\"><strong>Error Responses</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Description</th>\n<th>Example Body</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>401</code></td>\n<td>Unauthorized access.</td>\n<td>{  <br />\"success\": false,  <br />\"message\": \"authentication invalid\"  <br />}</td>\n</tr>\n<tr>\n<td><code>500</code></td>\n<td>Internal server error.</td>\n<td>{  <br />\"success\": false,  <br />\"message\": \"internal server error\"  <br />}</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","job-applications","job-application-stats"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2440d3bf-b52a-4505-8b2f-5a7cf358d971","name":"show stats","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/job-applications/job-application-stats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"386"},{"key":"ETag","value":"W/\"182-jIH7Dwt6htOf2KwHdV/xs24XFpA\""},{"key":"Date","value":"Wed, 04 Dec 2024 19:52:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {\n        \"defaultStats\": {\n            \"applied\": 3,\n            \"shortListed\": 3,\n            \"interview\": 3,\n            \"declined\": 3,\n            \"hired\": 3\n        },\n        \"monthlyApplications\": [\n            {\n                \"date\": \"December 2024\",\n                \"count\": 3\n            },\n            {\n                \"date\": \"November 2024\",\n                \"count\": 5\n            }\n        ]\n    },\n    \"message\": \"Job application stats have been fetched successfully\",\n    \"success\": true\n}"}],"_postman_id":"ce62fb21-3396-4afc-85cb-02e91f2a5556"},{"name":"get job applied id","id":"32eeb9c4-fd69-44cf-8b13-e069437e2e91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/job-applications/applied","urlObject":{"path":["api","v1","job-applications","applied"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32eeb9c4-fd69-44cf-8b13-e069437e2e91"}],"id":"a632da28-6f6b-4d8c-8848-8a687e234d87","_postman_id":"a632da28-6f6b-4d8c-8848-8a687e234d87","description":""},{"name":"notifications","item":[{"name":"get all notifications","event":[{"listen":"test","script":{"id":"84dfa1f3-caa4-437c-8f2d-6e079e07abcc","exec":["var template = `\r","<style type=\"text/css\">\r","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}\r","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}\r","    .tftable tr {background-color:#ffffff;}\r","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}\r","    .tftable tr:hover {background-color:#e0ffff;}\r","</style>\r","\r","<table class=\"tftable\" border=\"1\">\r","    <tr>\r","        <th>ID</th>\r","        <th>User ID</th>\r","        <th>Type</th>\r","        <th>Company</th>\r","        <th>Position</th>\r","        <th>Status</th>\r","        <th>Date</th>\r","        <th>Created At</th>\r","        <th>Updated At</th>\r","    </tr>\r","    \r","    {{#each response.data.notifications}}\r","        <tr>\r","            <td>{{_id}}</td>\r","            <td>{{userId}}</td>\r","            <td>{{type}}</td>\r","            <td>{{data.company}}</td>\r","            <td>{{data.position}}</td>\r","            <td>{{data.status}}</td>\r","            <td>{{data.date}}</td>\r","            <td>{{createdAt}}</td>\r","            <td>{{updatedAt}}</td>\r","        </tr>\r","    {{/each}}\r","</table>\r","`;\r","\r","function constructVisualizerPayload() {\r","  return {response: pm.response.json()}\r","}\r","\r","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"7f1bd1cf-56aa-4b4d-9256-4de37581267c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/notifications?page=1&limit=10","description":"<h3 id=\"get-notifications\">Get Notifications</h3>\n<p>This endpoint retrieves a list of notifications.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{base_url}}/api/v1/notifications</code></p>\n</li>\n<li><p>Query Parameters:</p>\n<ul>\n<li><p><code>page</code> (number, required): The page number for paginated results.</p>\n</li>\n<li><p><code>limit</code> (number, required): The maximum number of items to be returned per page.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"statusCode\": number,\n  \"data\": {\n    \"notifications\": [\n      {\n        \"_id\": string,\n        \"userId\": string,\n        \"type\": string,\n        \"data\": {\n          \"company\": string,\n          \"position\": string,\n          \"status\": string,\n          \"date\": string\n        },\n        \"status\": string,\n        \"createdAt\": string,\n        \"updatedAt\": string,\n        \"__v\": number\n      }\n    ],\n    \"pagination\": {\n      \"totalItems\": number,\n      \"totalPages\": number,\n      \"currentPage\": number\n    }\n  },\n  \"message\": string,\n  \"success\": boolean\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","notifications"],"host":["{{base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"7f1bd1cf-56aa-4b4d-9256-4de37581267c"},{"name":"Get unread notifications count","id":"a3449778-2dd1-4b4e-b150-a64fef1ee498","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<p>The API endpoint <code>/api/v1/notifications/unread-count</code> is a GET request that retrieves the unread notification count.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"statusCode\": {\n      \"type\": \"number\"\n    },\n    \"data\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"unreadCount\": {\n          \"type\": \"number\"\n        }\n      }\n    },\n    \"message\": {\n      \"type\": \"string\"\n    },\n    \"success\": {\n      \"type\": \"boolean\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"a3449778-2dd1-4b4e-b150-a64fef1ee498"},{"name":"mark as read","id":"e5dc337e-05e9-4df6-a1b5-cbab96fb0db0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{base_url}}/api/v1/notifications/mark-as-read","urlObject":{"path":["api","v1","notifications","mark-as-read"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5dc337e-05e9-4df6-a1b5-cbab96fb0db0"}],"id":"77cc4027-1805-47d0-9f66-48236c726f7e","_postman_id":"77cc4027-1805-47d0-9f66-48236c726f7e","description":""},{"name":"roles","item":[{"name":"Create role","id":"60b510de-7324-4644-878c-9530173d4ef4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"role\": \"guest\",\r\n    \"permissions\":[\"job:view\", \"profile:view\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/roles","urlObject":{"path":["api","v1","roles"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"60b510de-7324-4644-878c-9530173d4ef4"},{"name":"Remove role","id":"e14e3025-f2c0-452c-8634-ad5ace93c022","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"67e323b81aa583b3c25e8bc5\",\r\n    \"roleId\": \"67e30094d8951370b419b4e6\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/roles","description":"<p>This endpont allows admin to remove role</p>\n","urlObject":{"path":["api","v1","roles"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e14e3025-f2c0-452c-8634-ad5ace93c022"},{"name":"add roles","id":"b29bc3a6-1fca-4655-9550-360137e37c94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"67e82c81790c51c2b7cd2d07\",\r\n    \"roleId\": \"67e82bb5790c51c2b7cd2cf6\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/roles/add-role","description":"<p>This endpoint allows admin to add role to a user</p>\n","urlObject":{"path":["api","v1","roles","add-role"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ce2bf3a5-1c2e-4a68-9468-693ae255316f","name":"Remove role Copy","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"67e82c81790c51c2b7cd2d07\",\r\n    \"roleId\": \"67e82bb5790c51c2b7cd2cf6\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/roles/add-role"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"82"},{"key":"ETag","value":"W/\"52-gvyqgpezzFvNe4uGeHKhTRvrrls\""},{"key":"Date","value":"Sat, 29 Mar 2025 17:31:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"data\": {},\n    \"message\": \"Role is added successfully\",\n    \"success\": true\n}"}],"_postman_id":"b29bc3a6-1fca-4655-9550-360137e37c94"},{"name":"get roles","id":"9e623c09-8134-492b-91ad-18f01c82da23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/roles","urlObject":{"path":["api","v1","roles"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e623c09-8134-492b-91ad-18f01c82da23"}],"id":"3dd50c37-f717-4c2c-a995-c73f9cf0fb82","_postman_id":"3dd50c37-f717-4c2c-a995-c73f9cf0fb82","description":""},{"name":"company","item":[{"name":"create company","id":"b314676f-b181-48d0-ac3c-713fb134b852","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"{{name}}\",\r\n  \"description\": \"{{description}}\",\r\n  \"location\": {\r\n    \"country\": \"{{country}}\",\r\n    \"city\": \"{{city}}\"\r\n  },\r\n  \"adminID\": \"{{adminID}}\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/companies","urlObject":{"path":["api","v1","companies"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b314676f-b181-48d0-ac3c-713fb134b852"},{"name":"update compnay by id","id":"e3b37626-ae1a-4831-b0d3-7be1a6c13a2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Tech Innovators\",\r\n  \"description\": \"A leading software development company specializing in AI and cloud computing.\",\r\n  \"location\": {\r\n    \"city\": \"San Francisco\",\r\n    \"country\": \"USA\"\r\n  },\r\n  \"role\": [\r\n    \"660e4e9b3f8a2b001ccf9a1d\"\r\n  ],\r\n  \"employees\": [\r\n    \"660e4ea23f8a2b001ccf9a1f\"\r\n  ],\r\n  \"adminID\": \"660e4ea23f8a2b001ccf9a22\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/companies/67e86f30c048cbad32fd42f8","urlObject":{"path":["api","v1","companies","67e86f30c048cbad32fd42f8"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3b37626-ae1a-4831-b0d3-7be1a6c13a2d"},{"name":"get company by id","id":"9d91ae76-8f33-47e4-93e4-4e5d9fcc9cac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Tech Innovators\",\r\n  \"description\": \"A leading software development company specializing in AI and cloud computing.\",\r\n  \"location\": {\r\n    \"city\": \"San Francisco\",\r\n    \"country\": \"USA\"\r\n  },\r\n  \"role\": [\r\n    \"660e4e9b3f8a2b001ccf9a1d\"\r\n  ],\r\n  \"employees\": [\r\n    \"660e4ea23f8a2b001ccf9a1f\"\r\n  ],\r\n  \"adminID\": \"660e4ea23f8a2b001ccf9a22\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/companies/67e87694b3424acf88b26339","urlObject":{"path":["api","v1","companies","67e87694b3424acf88b26339"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d91ae76-8f33-47e4-93e4-4e5d9fcc9cac"},{"name":"delete company with  id","id":"7ca030df-e728-4b47-a95a-fff010542ac6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Tech Innovators\",\r\n  \"description\": \"A leading software development company specializing in AI and cloud computing.\",\r\n  \"location\": {\r\n    \"city\": \"San Francisco\",\r\n    \"country\": \"USA\"\r\n  },\r\n  \"role\": [\r\n    \"660e4e9b3f8a2b001ccf9a1d\"\r\n  ],\r\n  \"employees\": [\r\n    \"660e4ea23f8a2b001ccf9a1f\"\r\n  ],\r\n  \"adminID\": \"660e4ea23f8a2b001ccf9a22\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/companies/67e86f30c048cbad32fd42f8","urlObject":{"path":["api","v1","companies","67e86f30c048cbad32fd42f8"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ca030df-e728-4b47-a95a-fff010542ac6"},{"name":"get list of company","id":"ea39deb3-3f1d-414d-976b-59b9955950ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/v1/companies","urlObject":{"path":["api","v1","companies"],"host":["{{base_url}}"],"query":[{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"2"}],"variable":[]}},"response":[],"_postman_id":"ea39deb3-3f1d-414d-976b-59b9955950ec"}],"id":"beac4af3-f606-4428-948a-01a6091426b8","_postman_id":"beac4af3-f606-4428-948a-01a6091426b8","description":""}],"event":[{"listen":"prerequest","script":{"id":"8b09e60c-0640-4a72-97bb-6dc716e4c931","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"35bdbc68-410e-48da-9396-181255e7aacf","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"value":"","type":"string","disabled":true}]}