{"info":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","description":"<html><head></head><body><p>The API provides secure identity and access management. It supports <strong>user</strong> and <strong>client</strong> registration, update, deletion and retrieval with paginated report.</p>\n<ul>\n<li><p>Use <code>POST /api/v1/token</code> for basic authorization to obtain <strong>access token</strong> for a <strong>client</strong>.</p>\n</li>\n<li><p>Use <code>POST /api/v2/token</code> for bearer authorization to obtain <strong>access and refresh token</strong> for an <strong>user</strong>. Use <code>PUT /api/v2/token</code> to refresh the <strong>access token</strong>.</p>\n</li>\n<li><p>Use <code>POST /api/v1/otp</code> to obtain <strong>one time password</strong> and then use it with <code>POST /api/v3/token</code> to obtain <strong>access and refresh token</strong> for a <strong>user</strong>.</p>\n</li>\n<li><p>Use <code>POST /api/v1/token/status</code> to validate <strong>access token</strong> for both clients and users.</p>\n</li>\n</ul>\n<p><strong>Notes:</strong></p>\n<ul>\n<li><p>To authenticate, external clients are required to activate a subscription via <code>POST /api/v1/clients/{key}/subscriptions</code>.</p>\n</li>\n<li><p>To authenticate with OTP, users are required to verify their email via <code>POST /api/v1/email/verification/{token}</code>.</p>\n</li>\n</ul>\n<p><strong>Repo:</strong> <a href=\"https://github.com/a-razhenkova/IdentityAPI\">https://github.com/a-razhenkova/IdentityAPI</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"34315168","collectionId":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","publishedId":"2sBXqNmJmh","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-05-10T05:04:41.000Z"},"item":[{"name":"Health","item":[{"name":"/api/v1/health/heartbeat","id":"940e18eb-4c60-4804-adfc-5b56d5ef3e95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"HEAD","header":[],"url":"http://localhost:48001/api/v1/health/heartbeat","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","health","heartbeat"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[{"id":"2563bcbb-73ff-4444-81b8-29485e1185df","name":"/api/v1/health/heartbeat","originalRequest":{"method":"HEAD","header":[],"url":"http://localhost:48001/api/v1/health/heartbeat"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"date","value":"Sun, 10 May 2026 05:01:11 GMT"},{"key":"server","value":"Kestrel"},{"key":"x-request-id","value":"00-03a0004c0fe34de1e4e9d25777951062-bad8bf7f2f84220c-00"},{"key":"x-correlation-id","value":"00-03a0004c0fe34de1e4e9d25777951062-bad8bf7f2f84220c-00"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"940e18eb-4c60-4804-adfc-5b56d5ef3e95"},{"name":"/api/v1/health","id":"8e933e4e-cc8b-47d7-87c8-8eb02f16f5a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:48001/api/v1/health","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","health"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[{"id":"381db299-5046-410a-a715-6835f04ca444","name":"/api/v1/health","originalRequest":{"method":"GET","header":[],"url":"http://localhost:48001/api/v1/health"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"date","value":"Sun, 10 May 2026 05:01:41 GMT"},{"key":"server","value":"Kestrel"},{"key":"x-request-id","value":"00-d8130cbe959f10db9791dcce8d829ea9-e6b298aa47fd2cdb-00"},{"key":"x-correlation-id","value":"00-d8130cbe959f10db9791dcce8d829ea9-e6b298aa47fd2cdb-00"}],"cookie":[],"responseTime":null,"body":"{\n    \"version\": \"1.0.0.0\",\n    \"environment\": \"Development\",\n    \"machineName\": \"MESHIFY\",\n    \"machineTimestamp\": \"2026-05-10T08:01:41.4775259+03:00\"\n}"}],"_postman_id":"8e933e4e-cc8b-47d7-87c8-8eb02f16f5a3"},{"name":"/api/v1/health/checks","id":"15b498a5-3ae4-4431-9614-1081d71138b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:48001/api/v1/health/checks","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","health","checks"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[{"id":"86b9e00c-193a-44cf-bc00-d09eae38ffff","name":"/api/v1/health/checks","originalRequest":{"method":"GET","header":[],"url":"http://localhost:48001/api/v1/health/checks"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"date","value":"Sun, 10 May 2026 05:02:31 GMT"},{"key":"server","value":"Kestrel"},{"key":"x-request-id","value":"00-a5984eabceaaa2b049227a2205e848c5-8523179e027bf619-00"},{"key":"x-correlation-id","value":"00-a5984eabceaaa2b049227a2205e848c5-8523179e027bf619-00"}],"cookie":[],"responseTime":null,"body":"{\n    \"entries\": {\n        \"IdentityDb\": {\n            \"data\": {},\n            \"description\": null,\n            \"duration\": \"00:00:00.0666470\",\n            \"exception\": null,\n            \"status\": \"HEALTHY\",\n            \"tags\": [\n                \"Critical\",\n                \"Server=(localdb)\\\\MSSQLLocalDB;Database=identity;\"\n            ]\n        },\n        \"Redis\": {\n            \"data\": {},\n            \"description\": \"Healthcheck timed out\",\n            \"duration\": \"00:00:02.0248206\",\n            \"exception\": null,\n            \"status\": \"UNHEALTHY\",\n            \"tags\": [\n                \"Medium\",\n                \"localhost:6379\"\n            ]\n        },\n        \"RabbitMQ\": {\n            \"data\": {},\n            \"description\": null,\n            \"duration\": \"00:00:00.0019311\",\n            \"exception\": null,\n            \"status\": \"HEALTHY\",\n            \"tags\": [\n                \"Critical\",\n                \"localhost:5672\"\n            ]\n        }\n    },\n    \"status\": \"UNHEALTHY\",\n    \"totalDuration\": \"00:00:02.0320386\"\n}"}],"_postman_id":"15b498a5-3ae4-4431-9614-1081d71138b0"}],"id":"54973ae1-a454-4a7c-9da2-d73be38f833d","_postman_id":"54973ae1-a454-4a7c-9da2-d73be38f833d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}}},{"name":"Token","item":[{"name":"/api/v1/token","event":[{"listen":"test","script":{"id":"f5d60de5-da67-4754-8687-a61e8cd1ddd5","exec":[""],"type":"text/javascript","packages":{}}}],"id":"68605916-8cf5-42fa-9f13-2fa2b3cd16e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"dba1d25a-0062-49e7-b4f0-31224a69f9e4"},{"key":"password","value":"818fec5e-bff4-4396-85a7-9cc2eccd166f"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:48001/api/v1/token","urlObject":{"path":["api","v1","token"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[{"id":"32557377-af3d-46ac-8e60-5dbd818e2cac","name":"/api/v1/token","originalRequest":{"method":"POST","header":[],"url":"http://localhost:48001/api/v1/token"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"date","value":"Sun, 10 May 2026 11:11:13 GMT"},{"key":"server","value":"Kestrel"},{"key":"x-request-id","value":"00-67ddf8fbf1e0dac3d7097dc9a5666f7f-fa5d02c63f86bdf5-00"},{"key":"x-correlation-id","value":"00-67ddf8fbf1e0dac3d7097dc9a5666f7f-fa5d02c63f86bdf5-00"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJZCI6ImRiYTFkMjVhLTAwNjItNDllNy1iNGYwLTMxMjI0YTY5ZjllNCIsImNsaWVudFN0YXR1cyI6IkFDVElWRSIsImlzSW50ZXJuYWxDbGllbnQiOnRydWUsImNhbk5vdGlmeSI6dHJ1ZSwibmJmIjoxNzc4NDExNDc0LCJleHAiOjE3Nzg0MTI2NzQsImlhdCI6MTc3ODQxMTQ3NCwiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzMDEiLCJhdWQiOiJBbGVrc2FuZHJpbmEgUmF6aGVua292YSJ9.mbM5fbzFz1kfOEaIcEGFLLKlASF_cmtj9JZ-XKk1QUE\"\n}"}],"_postman_id":"68605916-8cf5-42fa-9f13-2fa2b3cd16e4"},{"name":"/api/v1/token/status","id":"1ba03a05-d26d-45bd-8da3-035eb3585b55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:48001/api/v1/token/status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","token","status"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[{"id":"fa394c33-62c6-4627-8e0a-27bdb9b844a3","name":"/api/v1/token/status","originalRequest":{"method":"POST","header":[],"url":"http://localhost:48001/api/v1/token/status"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"date","value":"Sun, 10 May 2026 11:11:50 GMT"},{"key":"server","value":"Kestrel"},{"key":"x-request-id","value":"00-f937493274d786791aa3d0376bae68a4-0e772203980cad5e-00"},{"key":"x-correlation-id","value":"00-f937493274d786791aa3d0376bae68a4-0e772203980cad5e-00"}],"cookie":[],"responseTime":null,"body":"{\n    \"isValid\": true,\n    \"exception\": null\n}"}],"_postman_id":"1ba03a05-d26d-45bd-8da3-035eb3585b55"},{"name":"/api/v2/token","event":[{"listen":"test","script":{"id":"f5d60de5-da67-4754-8687-a61e8cd1ddd5","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"9cb7a798-8200-4c32-b6f6-09811f945c2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"ivan.ivanov\",\r\n    \"password\": \"m4A0?Edis66a\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v2/token","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v2","token"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[{"id":"ccb109b0-c865-462b-9f41-06bfc2d2ce80","name":"/api/v2/token","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"ivan.ivanov\",\r\n    \"password\": \"m4A0?Edis66a\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v2/token"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"date","value":"Sun, 10 May 2026 11:11:29 GMT"},{"key":"server","value":"Kestrel"},{"key":"x-request-id","value":"00-e2c141bf71359a19d4a21df37cd74bfb-287e43b6963a8529-00"},{"key":"x-correlation-id","value":"00-e2c141bf71359a19d4a21df37cd74bfb-287e43b6963a8529-00"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIyYTQ3YTRmYy0zZDkwLTRkZGItYTFlYy1hNjY0YzBhOGEyZjMiLCJ1c2VybmFtZSI6Iml2YW4uaXZhbm92IiwidXNlclJvbGUiOiJBZG1pbmlzdHJhdG9yIiwidXNlclN0YXR1cyI6IkFjdGl2ZSIsIm5iZiI6MTc3ODQxMTQ5MCwiZXhwIjoxNzc4NDEyNjkwLCJpYXQiOjE3Nzg0MTE0OTAsImlzcyI6Imh0dHBzOi8vbG9jYWxob3N0OjQ0MzAxIiwiYXVkIjoiQWxla3NhbmRyaW5hIFJhemhlbmtvdmEifQ.x4EjzCsPwMIlP4eIXCxjAGxnR8UBKmwaKQZAiYE8a-M\",\n    \"refreshToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIyYTQ3YTRmYy0zZDkwLTRkZGItYTFlYy1hNjY0YzBhOGEyZjMiLCJuYmYiOjE3Nzg0MTE0OTAsImV4cCI6MTc3ODU4NDI5MCwiaWF0IjoxNzc4NDExNDkwLCJpc3MiOiJodHRwczovL2xvY2FsaG9zdDo0NDMwMSIsImF1ZCI6IkFsZWtzYW5kcmluYSBSYXpoZW5rb3ZhIn0.Wm0CoHYyXIVcru5gZj_DPMo8K40SLD0XoQ8KmZDqhz4\"\n}"}],"_postman_id":"9cb7a798-8200-4c32-b6f6-09811f945c2f"},{"name":"/api/v2/token","id":"7ae3c373-0460-4b03-b988-e8fafab55ca6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"url":"http://localhost:48001/api/v2/token","urlObject":{"path":["api","v2","token"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[{"id":"f5bfe9fc-f6eb-44dd-af7c-c5671a91eda9","name":"/api/v2/token","originalRequest":{"method":"PUT","header":[],"url":"http://localhost:48001/api/v2/token"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"date","value":"Sun, 10 May 2026 11:17:14 GMT"},{"key":"server","value":"Kestrel"},{"key":"x-request-id","value":"00-b5e5e374e7a3d94ed1c5b69a7b8ab633-e10b704a24704556-00"},{"key":"x-correlation-id","value":"00-b5e5e374e7a3d94ed1c5b69a7b8ab633-e10b704a24704556-00"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIyYTQ3YTRmYy0zZDkwLTRkZGItYTFlYy1hNjY0YzBhOGEyZjMiLCJ1c2VybmFtZSI6Iml2YW4uaXZhbm92IiwidXNlclJvbGUiOiJBZG1pbmlzdHJhdG9yIiwidXNlclN0YXR1cyI6IkFjdGl2ZSIsIm5iZiI6MTc3ODQxMTgzNCwiZXhwIjoxNzc4NDEzMDM0LCJpYXQiOjE3Nzg0MTE4MzQsImlzcyI6Imh0dHBzOi8vbG9jYWxob3N0OjQ0MzAxIiwiYXVkIjoiQWxla3NhbmRyaW5hIFJhemhlbmtvdmEifQ.0ZEUXv-dMX2uVvgK5XCSkC2EVuEywsIMhn8NA-Ki8A4\"\n}"}],"_postman_id":"7ae3c373-0460-4b03-b988-e8fafab55ca6"},{"name":"/api/v3/token","event":[{"listen":"test","script":{"id":"f5d60de5-da67-4754-8687-a61e8cd1ddd5","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"bb01bfba-843b-4393-8511-8b8043ab4074","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3\",\r\n    \"username\": \"ivan.ivanov\",\r\n    \"oneTimePassword\": \"374530\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v3/token","urlObject":{"path":["api","v3","token"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb01bfba-843b-4393-8511-8b8043ab4074"}],"id":"cba42ba6-402b-4115-ad83-8d16b4bee931","description":"<p>Creates tokens.</p>\n","event":[{"listen":"prerequest","script":{"id":"a21576f3-21ad-48bc-bb99-a89ce5f4cb9e","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"a2f881a4-a9a1-471e-83f2-296718350d81","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"cba42ba6-402b-4115-ad83-8d16b4bee931","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}}},{"name":"OTP","item":[{"name":"/api/v1/otp","event":[{"listen":"test","script":{"id":"f5d60de5-da67-4754-8687-a61e8cd1ddd5","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"dda6f5fa-75e6-4ece-80f8-6f6ad78e13b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"ivan.ivanov\",\r\n    \"password\": \"m4A0?Edis66a\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v1/otp","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","otp"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"dda6f5fa-75e6-4ece-80f8-6f6ad78e13b1"}],"id":"8cb1a435-151c-4177-a3b8-18b500910fdc","_postman_id":"8cb1a435-151c-4177-a3b8-18b500910fdc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}}},{"name":"Clients","item":[{"name":"/api/v1/clients","id":"b34a7560-4b5d-48ce-a52f-c6aa137fbc5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:48001/api/v1/clients?requested_page_number=1&items_per_page=20","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","clients"],"host":["http://localhost:48001"],"query":[{"key":"requested_page_number","value":"1"},{"key":"items_per_page","value":"20"},{"disabled":true,"key":"name","value":"api"}],"variable":[]}},"response":[{"id":"ce80a433-df0d-41dd-9656-b36061a5d642","name":"/api/v1/clients","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:48001/api/v1/clients?requested_page_number=1&items_per_page=20","host":["http://localhost:48001"],"path":["api","v1","clients"],"query":[{"key":"requested_page_number","value":"1"},{"key":"items_per_page","value":"20"},{"key":"name","value":"api","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"date","value":"Tue, 12 May 2026 09:50:04 GMT"},{"key":"server","value":"Kestrel"},{"key":"x-request-id","value":"00-287854b20193721c6c59d2f87cb187f4-4f2718cbacc2c818-00"},{"key":"x-correlation-id","value":"00-287854b20193721c6c59d2f87cb187f4-4f2718cbacc2c818-00"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestedPageNumber\": 1,\n    \"pagesCount\": 1,\n    \"itemsPerPage\": 20,\n    \"data\": [\n        {\n            \"key\": \"806279f4-0b27-4398-9de7-9442cac986eb\",\n            \"name\": \"Health UI\",\n            \"status\": {\n                \"value\": \"ACTIVE\",\n                \"reason\": \"NONE\",\n                \"note\": null\n            },\n            \"right\": {\n                \"canNotify\": false\n            },\n            \"subscriptions\": []\n        },\n        {\n            \"key\": \"dba1d25a-0062-49e7-b4f0-31224a69f9e4\",\n            \"name\": \"Identity API\",\n            \"status\": {\n                \"value\": \"ACTIVE\",\n                \"reason\": \"NONE\",\n                \"note\": null\n            },\n            \"right\": {\n                \"canNotify\": true\n            },\n            \"subscriptions\": [\n                {\n                    \"expirationDate\": \"2026-09-10T00:00:00\",\n                    \"contractId\": 2,\n                    \"contractName\": \"dba1d25a-0062-49e7-b4f0-31224a69f9e4_20260512093130100.pdf\"\n                },\n                {\n                    \"expirationDate\": \"2026-09-10T00:00:00\",\n                    \"contractId\": 1,\n                    \"contractName\": \"dba1d25a-0062-49e7-b4f0-31224a69f9e4_20260512092006570.pdf\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"b34a7560-4b5d-48ce-a52f-c6aa137fbc5a"},{"name":"/api/v1/clients","event":[{"listen":"test","script":{"id":"15711ddb-065f-49b5-a89d-e2f20c98a37f","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"405b0bc8-f0fe-4d85-a472-510635543982","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Test API\",\r\n    \"right\": {\r\n        \"canNotify\": false\r\n    },\r\n    \"isInternal\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v1/clients","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","clients"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"405b0bc8-f0fe-4d85-a472-510635543982"},{"name":"/api/v1/clients/{key}","event":[{"listen":"test","script":{"id":"e5046b71-9103-4b3b-ab72-94afad14a698","exec":[""],"type":"text/javascript","packages":{}}}],"id":"8592cc98-4f45-47cc-b771-74c83bf05e11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:48001/api/v1/clients/dba1d25a-0062-49e7-b4f0-31224a69f9e4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","clients","dba1d25a-0062-49e7-b4f0-31224a69f9e4"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"8592cc98-4f45-47cc-b771-74c83bf05e11"},{"name":"/api/v1/clients/{key}","event":[{"listen":"test","script":{"id":"230594e8-a63b-4fbf-b7fa-70f0579fdd08","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"4b3dd256-ca71-462b-9bdc-ac17f922b955","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Auth API - TEST\",\r\n    \"status\": {\r\n        \"value\": \"ACTIVE\",\r\n        \"reason\": \"NONE\",\r\n        \"note\": null\r\n    },\r\n    \"right\": {\r\n        \"canNotify\": true\r\n    },\r\n    \"isInternal\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v1/clients/dba1d25a-0062-49e7-b4f0-31224a69f9e4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","clients","dba1d25a-0062-49e7-b4f0-31224a69f9e4"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b3dd256-ca71-462b-9bdc-ac17f922b955"},{"name":"/api/v1/clients/{key}","id":"f2c60d8f-d438-4793-9e8c-d920941b9e01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:48001/api/v1/clients/dba1d25a-0062-49e7-b4f0-31224a69f9e4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","clients","dba1d25a-0062-49e7-b4f0-31224a69f9e4"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2c60d8f-d438-4793-9e8c-d920941b9e01"},{"name":"/api/v1/clients/{key}/secret","event":[{"listen":"test","script":{"id":"15711ddb-065f-49b5-a89d-e2f20c98a37f","exec":[""],"type":"text/javascript","packages":{}}}],"id":"debd90ca-c56f-4401-8650-1a3e7c7a790d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:48001/api/v1/clients/dba1d25a-0062-49e7-b4f0-31224a69f9e4/secret","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","clients","dba1d25a-0062-49e7-b4f0-31224a69f9e4","secret"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"debd90ca-c56f-4401-8650-1a3e7c7a790d"},{"name":"/api/v1/clients/{key}/secret","event":[{"listen":"test","script":{"id":"15711ddb-065f-49b5-a89d-e2f20c98a37f","exec":[""],"type":"text/javascript","packages":{}}}],"id":"b41ba363-d910-47c7-be63-e5e1163e89a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"http://localhost:48001/api/v1/clients/dba1d25a-0062-49e7-b4f0-31224a69f9e4/secret","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","clients","dba1d25a-0062-49e7-b4f0-31224a69f9e4","secret"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"b41ba363-d910-47c7-be63-e5e1163e89a7"},{"name":"/api/v1/clients/{key}/subscriptions","id":"a994bb97-98db-439f-9ed1-92550ba93dcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"expirationDate","value":"2026-09-10","type":"text","uuid":"7c42dbdd-49cf-47c8-a951-f8890f57c0d9"},{"key":"file","type":"file","uuid":"2ae584f4-a102-4af9-ab89-beb605b4aa0e","src":"/C:/Users/Admin/Desktop/test.pdf"}]},"url":"http://localhost:48001/api/v1/clients/dba1d25a-0062-49e7-b4f0-31224a69f9e4/subscriptions","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","clients","dba1d25a-0062-49e7-b4f0-31224a69f9e4","subscriptions"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[{"id":"ad08a4a3-f0a5-4243-af30-3bd67e4ced37","name":"/api/v1/clients/{key}/subscriptions","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"expirationDate","value":"2026-09-10","type":"text","uuid":"7c42dbdd-49cf-47c8-a951-f8890f57c0d9"},{"key":"file","type":"file","uuid":"2ae584f4-a102-4af9-ab89-beb605b4aa0e","src":"/C:/Users/Admin/Desktop/test.pdf"}]},"url":"http://localhost:48001/api/v1/clients/dba1d25a-0062-49e7-b4f0-31224a69f9e4/subscriptions"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"date","value":"Tue, 12 May 2026 09:31:29 GMT"},{"key":"server","value":"Kestrel"},{"key":"content-length","value":"0"},{"key":"x-request-id","value":"00-6b5d92f021c54f223ec7c1963f7d5fa0-53450d2d9b1c15fb-00"},{"key":"x-correlation-id","value":"00-6b5d92f021c54f223ec7c1963f7d5fa0-53450d2d9b1c15fb-00"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a994bb97-98db-439f-9ed1-92550ba93dcd"},{"name":"api/v1/clients/{key}/subscriptions/contracts/{id}","id":"ccb4a26c-55c0-4428-98a8-981327f42ae5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:48001/api/v1/clients/dba1d25a-0062-49e7-b4f0-31224a69f9e4/subscriptions/contracts/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","clients","dba1d25a-0062-49e7-b4f0-31224a69f9e4","subscriptions","contracts","1"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"ccb4a26c-55c0-4428-98a8-981327f42ae5"}],"id":"68ffa294-f7b7-42dd-81f7-8128e6c24af1","_postman_id":"68ffa294-f7b7-42dd-81f7-8128e6c24af1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}}},{"name":"Users","item":[{"name":"/api/v1/users","id":"e5e505fc-26fc-496f-9d56-6909f7a421c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:48001/api/v1/users?requested_page_number=1&items_per_page=20","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","users"],"host":["http://localhost:48001"],"query":[{"key":"requested_page_number","value":"1"},{"key":"items_per_page","value":"20"},{"disabled":true,"key":"username","value":"ivan"},{"disabled":true,"key":"status","value":"ACTIVE"}],"variable":[]}},"response":[{"id":"c7474a64-5569-47ca-a0b9-40c9bfda7d03","name":"/api/v1/users","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:48001/api/v1/users?requested_page_number=1&items_per_page=20","host":["http://localhost:48001"],"path":["api","v1","users"],"query":[{"key":"requested_page_number","value":"1"},{"key":"items_per_page","value":"20"},{"key":"username","value":"ivan","disabled":true},{"key":"status","value":"ACTIVE","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"date","value":"Tue, 12 May 2026 09:50:25 GMT"},{"key":"server","value":"Kestrel"},{"key":"x-request-id","value":"00-3cb198ff07d2d1388a72329722501fe8-2b91f024f221dd95-00"},{"key":"x-correlation-id","value":"00-3cb198ff07d2d1388a72329722501fe8-2b91f024f221dd95-00"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestedPageNumber\": 1,\n    \"pagesCount\": 1,\n    \"itemsPerPage\": 20,\n    \"data\": [\n        {\n            \"id\": \"2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3\",\n            \"username\": \"ivan.ivanov\",\n            \"role\": \"ADMINISTRATOR\",\n            \"status\": {\n                \"value\": \"ACTIVE\",\n                \"reason\": \"NONE\",\n                \"note\": null\n            },\n            \"email\": null,\n            \"registrationTimestamp\": \"2026-05-12T12:19:26.26\"\n        }\n    ]\n}"}],"_postman_id":"e5e505fc-26fc-496f-9d56-6909f7a421c8"},{"name":"/api/v1/users","event":[{"listen":"test","script":{"id":"15711ddb-065f-49b5-a89d-e2f20c98a37f","exec":[""],"type":"text/javascript","packages":{}}}],"id":"455625e4-816e-4eec-81dc-a95059752280","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"petar.petrov\",\r\n    \"password\": \"Z0p9c?6EysP4\",\r\n    \"role\": \"ADMINISTRATOR\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v1/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","users"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"455625e4-816e-4eec-81dc-a95059752280"},{"name":"/api/v1/users/{id}","event":[{"listen":"test","script":{"id":"e5046b71-9103-4b3b-ab72-94afad14a698","exec":[""],"type":"text/javascript","packages":{}}}],"id":"54db10a6-93ce-4395-826e-f4addbdd4e5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:48001/api/v1/users/2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","users","2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"54db10a6-93ce-4395-826e-f4addbdd4e5e"},{"name":"/api/v1/users/{id}","event":[{"listen":"test","script":{"id":"230594e8-a63b-4fbf-b7fa-70f0579fdd08","exec":[""],"type":"text/javascript","packages":{}}}],"id":"d507ba61-5a05-450d-8a04-cc717471d1b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"ivan.petrov\",\r\n    \"role\": \"ADMINISTRATOR\",\r\n    \"status\": {\r\n        \"value\": \"ACTIVE\",\r\n        \"reason\": \"NONE\",\r\n        \"note\": null\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v1/users/2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","users","2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"d507ba61-5a05-450d-8a04-cc717471d1b5"},{"name":"/api/v1/users/{id}","id":"ad3aef02-cec3-4730-ac6a-87f7886bd40c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:48001/api/v1/users/2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","users","2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad3aef02-cec3-4730-ac6a-87f7886bd40c"},{"name":"/api/v1/users/{id}/password","id":"91ddca0d-4b40-4e81-83e9-b1344e785da6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\": \"m4A0?Edis66a\",\r\n    \"newPassword\": \"8ENy$0YV936k\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v1/users/2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3/password","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","users","2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3","password"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"91ddca0d-4b40-4e81-83e9-b1344e785da6"},{"name":"/api/v1/users/{id}/email","id":"6cf0d24e-584e-427f-aefc-fe4e234fba2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"ivan.ivanov@mail.com\",\r\n    \"password\": \"m4A0?Edis66a\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v1/users/2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3/email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","users","2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3","email"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[],"_postman_id":"6cf0d24e-584e-427f-aefc-fe4e234fba2b"},{"name":"/api/v1/users/{id}/email/verification","id":"ee9a8fdd-b30c-4dd0-8ca1-0b64cdf2cb65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"ivan.ivanov@mail.com\",\r\n    \"password\": \"m4A0?Edis66a\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v1/users/2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3/email/verification","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","users","2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3","email","verification"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[{"id":"58c2758f-6653-44b3-8292-0a4a8622b42f","name":"/api/v1/users/{id}/email/verification","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"ivan.ivanov@mail.com\",\r\n    \"password\": \"m4A0?Edis66a\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:48001/api/v1/users/2a47a4fc-3d90-4ddb-a1ec-a664c0a8a2f3/email/verification"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"date","value":"Sun, 10 May 2026 11:26:34 GMT"},{"key":"server","value":"Kestrel"},{"key":"content-length","value":"0"},{"key":"x-request-id","value":"00-941d653894de99c78ade3bade78b9983-137e82b6e4185412-00"},{"key":"x-correlation-id","value":"00-941d653894de99c78ade3bade78b9983-137e82b6e4185412-00"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ee9a8fdd-b30c-4dd0-8ca1-0b64cdf2cb65"}],"id":"4ca9386f-413e-4cc2-896d-3f239b8d6b6f","_postman_id":"4ca9386f-413e-4cc2-896d-3f239b8d6b6f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}}},{"name":"Email","item":[{"name":"/api/v1/email/verification/{token}","id":"fa38dc20-ceff-425b-a223-c4fa3093d8dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:48001/api/v1/email/verification/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIyYTQ3YTRmYy0zZDkwLTRkZGItYTFlYy1hNjY0YzBhOGEyZjMiLCJuYmYiOjE3Nzg0MTIzOTUsImV4cCI6MTc3ODQ5ODc5NSwiaWF0IjoxNzc4NDEyMzk1LCJpc3MiOiJodHRwczovL2xvY2FsaG9zdDo0NDMwMSIsImF1ZCI6IkFsZWtzYW5kcmluYSBSYXpoZW5rb3ZhIn0.0vNWsUJlCa9nkL3faHKx_9NgG3iGkcFo3zPbjMEeYpM","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}},"urlObject":{"path":["api","v1","email","verification","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIyYTQ3YTRmYy0zZDkwLTRkZGItYTFlYy1hNjY0YzBhOGEyZjMiLCJuYmYiOjE3Nzg0MTIzOTUsImV4cCI6MTc3ODQ5ODc5NSwiaWF0IjoxNzc4NDEyMzk1LCJpc3MiOiJodHRwczovL2xvY2FsaG9zdDo0NDMwMSIsImF1ZCI6IkFsZWtzYW5kcmluYSBSYXpoZW5rb3ZhIn0.0vNWsUJlCa9nkL3faHKx_9NgG3iGkcFo3zPbjMEeYpM"],"host":["http://localhost:48001"],"query":[],"variable":[]}},"response":[{"id":"6d9ba10d-7656-466a-8646-861932a7ae6c","name":"/api/v1/email/verification/{token}","originalRequest":{"method":"POST","header":[],"url":"http://localhost:48001/api/v1/email/verification/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIyYTQ3YTRmYy0zZDkwLTRkZGItYTFlYy1hNjY0YzBhOGEyZjMiLCJuYmYiOjE3Nzg0MTIzOTUsImV4cCI6MTc3ODQ5ODc5NSwiaWF0IjoxNzc4NDEyMzk1LCJpc3MiOiJodHRwczovL2xvY2FsaG9zdDo0NDMwMSIsImF1ZCI6IkFsZWtzYW5kcmluYSBSYXpoZW5rb3ZhIn0.0vNWsUJlCa9nkL3faHKx_9NgG3iGkcFo3zPbjMEeYpM"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"date","value":"Sun, 10 May 2026 11:28:30 GMT"},{"key":"server","value":"Kestrel"},{"key":"content-length","value":"0"},{"key":"x-request-id","value":"00-33737a866e400f1921324d3dfa6ca89a-01d85ea5b22a1e5e-00"},{"key":"x-correlation-id","value":"00-33737a866e400f1921324d3dfa6ca89a-01d85ea5b22a1e5e-00"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"fa38dc20-ceff-425b-a223-c4fa3093d8dc"}],"id":"d1d6998d-1481-4f87-808c-1e413f5d77de","_postman_id":"d1d6998d-1481-4f87-808c-1e413f5d77de","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","id":"b782ff7f-ec8e-48a3-84fb-9aae29646c0c","name":"Identity API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"c83d5933-1089-454b-bccb-9b2b539aca23","type":"text/javascript","packages":{},"requests":{},"exec":["SetToken();\r","\r","function SetToken() {\r","    if (pm.collectionVariables.get('access_token') == '' || IsTokenExpired()) {\r","        CreateNewToken();\r","    }\r","}\r","\r","function IsTokenExpired() {\r","    var atob = require('atob');\r","\r","    const rawJwtPayload = atob(pm.collectionVariables.get('access_token').split('.')[1]);\r","    const jwtPayload = JSON.parse(rawJwtPayload)\r","\r","    return new Date() >= new Date(jwtPayload.exp * 1000);\r","}\r","\r","function CreateNewToken()\r","{\r","    const createTokenRequest = {\r","        url: pm.collectionVariables.get('base_url') + '/api/v2/token',\r","        method: 'POST',\r","        header: {\r","            'Content-Type': 'application/json'\r","        },\r","        body: {\r","            mode: 'application/json',\r","            raw: JSON.stringify(\r","                {\r","                    \"username\": pm.collectionVariables.get('username'),\r","                    \"password\": pm.collectionVariables.get('password')\r","                })\r","        }\r","    };\r","\r","    pm.sendRequest(createTokenRequest, (err, response) => {\r","        if (err != null) {\r","            console.error('Token request failed: ' + err.message);\r","        }\r","        else if (response != null) {\r","            if (response.code == 200) {\r","                const responseBody = response.json();\r","                pm.collectionVariables.set('access_token', responseBody.accessToken);\r","                pm.collectionVariables.set('refresh_token', responseBody.refreshToken);\r","            }\r","            else {\r","                console.error('Token request failed with status code ' + response.code + ': ' + response.text());\r","            }\r","        }\r","        else {\r","            console.error('Token request failed.');\r","        }\r","    });\r","}"]}},{"listen":"test","script":{"id":"ddff143c-ecbb-4a9f-82c9-d81a48f41b97","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"access_token","value":""},{"key":"refresh_token","value":""},{"key":"client_id","value":"dba1d25a-0062-49e7-b4f0-31224a69f9e4"},{"key":"client_key","value":"818fec5e-bff4-4396-85a7-9cc2eccd166f"},{"key":"username","value":"ivan.ivanov"},{"key":"password","value":"m4A0?Edis66a"},{"key":"base_url","value":"http://localhost:48001"}]}