{"info":{"_postman_id":"e0f504e8-e07b-4f0e-b01f-319358d0a01a","name":"mypit_core","description":"<html><head></head><body><p>API BaseUrl : <a href=\"https://insightful-mink-667.convex.site\">https://insightful-mink-667.convex.site</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"46863046","collectionId":"e0f504e8-e07b-4f0e-b01f-319358d0a01a","publishedId":"2sB3BHm8xb","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-08-17T12:28:18.000Z"},"item":[{"name":"Hello MyPit","item":[{"name":"hello","id":"17e7aee6-0e04-4077-a4d9-14103d8a1295","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"url":"{{baseUrl}}/hello","urlObject":{"path":["hello"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"0ff069e8-ae9a-4207-ac8b-f39bb127556e","name":"New Request","originalRequest":{"method":"GET","header":[{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"url":"{{baseUrl}}/hello"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Length","value":"32"},{"key":"Content-Type","value":"text/plain;charset=UTF-8"},{"key":"Date","value":"Sun, 17 Aug 2025 08:08:58 GMT"},{"key":"X-Convex-Usher","value":"1"}],"cookie":[],"responseTime":null,"body":"{\"message\":\"Hello, from MyPit!\"}"}],"_postman_id":"17e7aee6-0e04-4077-a4d9-14103d8a1295"}],"id":"71756c31-0662-4153-9ce1-3ec84b9381d6","_postman_id":"71756c31-0662-4153-9ce1-3ec84b9381d6","description":""},{"name":"createHolder","item":[{"name":"Calls a mutation at the path openAPI/internalLogics.js:createHolder","id":"fe8ff890-6dd8-4b38-b28e-e3e794569b92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n      \"email\": \"<string>\",\n      \"name\": \"<string>\",\n      \"ownerId\": \"<string>\",\n      \"phone\": \"<string>\",\n      \"updatedAt\": \"<number>\",\n      \"holderDid\": \"<string>\",\n      \"holderId\": \"<string>\",\n      \"memo\": \"<string>\"\n    },\n    \"issuerDid\": \"<string>\",\n    \"issuerId\": \"<string>\"\n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/createHolder","urlObject":{"path":["createHolder"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe8ff890-6dd8-4b38-b28e-e3e794569b92"}],"id":"010e7a51-e8de-45ce-9bd2-fd492992ecad","_postman_id":"010e7a51-e8de-45ce-9bd2-fd492992ecad","description":""},{"name":"updateHolder","item":[{"name":"Calls a mutation at the path openAPI/internalLogics.js:updateHolder","id":"d2afc644-b341-4826-9a42-c8213c132188","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n      \"email\": \"<string>\",\n      \"name\": \"<string>\",\n      \"phone\": \"<string>\"\n    },\n    \"holderID\": \"<string>\",\n    \"issuerId\": \"<string>\" // user ID\n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/updateHolder","urlObject":{"path":["updateHolder"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2afc644-b341-4826-9a42-c8213c132188"}],"id":"7b6c4d79-6e22-4cda-aed5-59cd9186e89a","_postman_id":"7b6c4d79-6e22-4cda-aed5-59cd9186e89a","description":""},{"name":"getHolders","item":[{"name":"Calls a query at the path openAPI/internalLogics.js:getHolders","id":"49a6bffe-3540-4936-ba86-0efa110d8e04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":" {\n    \"paginationOpts\": {\n      \"cursor\": \"<string>\",\n      \"numItems\": \"<number>\"\n    },\n    \"userId\": \"<string>\" // user ID\n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/getHolders","urlObject":{"path":["getHolders"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"49a6bffe-3540-4936-ba86-0efa110d8e04"}],"id":"6beec144-2fe3-424f-be5a-13202e25bfc5","_postman_id":"6beec144-2fe3-424f-be5a-13202e25bfc5","description":""},{"name":"getHolderById","item":[{"name":"Calls a query at the path openAPI/internalLogics.js:getHolderById","id":"3b76d37d-bbe4-40e6-a90e-aba0e4024867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"holderId\": \"<string>\",\n    \"userId\": \"<string>\" // user ID\n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/getHolderById","urlObject":{"path":["getHolderById"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b76d37d-bbe4-40e6-a90e-aba0e4024867"}],"id":"ed531219-24a1-42d2-83f1-ca6aa121c3d9","_postman_id":"ed531219-24a1-42d2-83f1-ca6aa121c3d9","description":""},{"name":"deleteHolder","item":[{"name":"Calls a mutation at the path openAPI/internalLogics.js:deleteHolder","id":"4597d874-f4f6-4578-82ab-b7e4f1fa8c4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"holderID\": \"<string>\",\n    \"issuerId\": \"<string>\" // user ID\n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/deleteHolder","urlObject":{"path":["deleteHolder"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4597d874-f4f6-4578-82ab-b7e4f1fa8c4a"}],"id":"efd379b7-9d3a-4e90-a1fa-3836913ad6a3","_postman_id":"efd379b7-9d3a-4e90-a1fa-3836913ad6a3","description":""},{"name":"createBadgeTemplate","item":[{"name":"Calls a mutation at the path openAPI/internalLogics.js:createBadgeTemplate","id":"e1255297-5c09-4055-b349-f15c99d80ff7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \n      \"criteria\": \"<string>\",\n      \"description\": \"<string>\",\n      \"name\": \"<string>\",\n      \"price\": \"<number>\",\n      \"typeOfBadge\": \"mobility\", // \"mobility\", \"achievement\", \"healthcare\", \"finance\"\n      \"validityPeriod\": \"<number>\",\n      \"imageUrl\": \"<string>\",\n      \"userId\": \"<string>\" \n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/createBadgeTemplate","urlObject":{"path":["createBadgeTemplate"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e1255297-5c09-4055-b349-f15c99d80ff7"}],"id":"461ac33e-e77a-4bb3-b05c-36ac057816b4","_postman_id":"461ac33e-e77a-4bb3-b05c-36ac057816b4","description":""},{"name":"updateBadgeTemplate","item":[{"name":"Calls a mutation at the path openAPI/internalLogics.js:updateBadgeTemplate","id":"239b7267-eb66-492f-a416-073440fb5f55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":" {\n    \"data\": {\n      \"criteria\": \"<string>\",\n      \"description\": \"<string>\",\n      \"name\": \"<string>\",\n      \"price\": \"<number>\",\n      \"type\": \"mobility\", //\"mobility\", \"achievement\", \"healthcare\", \"finance\"\n      \"validityPeriod\": \"<number>\",\n      \"imageUrl\": \"<string>\"\n    },\n    \"templateId\": \"<string>\",\n    \"userId\": \"<string>\"\n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/updateBadgeTemplate","urlObject":{"path":["updateBadgeTemplate"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"239b7267-eb66-492f-a416-073440fb5f55"}],"id":"f02e183c-84ff-4fd3-89a8-0e9b3ef8a830","_postman_id":"f02e183c-84ff-4fd3-89a8-0e9b3ef8a830","description":""},{"name":"deleteBadgeTemplate","item":[{"name":"Calls a mutation at the path openAPI/internalLogics.js:deleteBadgeTemplate","id":"253a1eb9-dc25-48ed-8c60-a30a28a6b853","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"templateId\": \"<string>\",\n    \"userId\": \"<string>\"\n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/deleteBadgeTemplate","urlObject":{"path":["deleteBadgeTemplate"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"253a1eb9-dc25-48ed-8c60-a30a28a6b853"}],"id":"9a30a77d-bbe4-4fd4-a924-4d8e41f2d7c0","_postman_id":"9a30a77d-bbe4-4fd4-a924-4d8e41f2d7c0","description":""},{"name":"getASingleBadgeTemplate","item":[{"name":"Calls a query at the path openAPI/internalLogics.js:getASingleBadgeTemplate","id":"ab7a61fb-a38e-4532-91de-d98f2c9d00f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":" {\n    \"templateId\": \"<string>\",\n    \"userId\": \"<string>\"\n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/getASingleBadgeTemplate","urlObject":{"path":["getASingleBadgeTemplate"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab7a61fb-a38e-4532-91de-d98f2c9d00f4"}],"id":"0cf81498-196b-4f43-ae80-14f001e6d47a","_postman_id":"0cf81498-196b-4f43-ae80-14f001e6d47a","description":""},{"name":"getAllBadgeTemplatesByOwnerId","item":[{"name":"Calls a query at the path openAPI/internalLogics.js:getBadgeTemplatesByOwnerId","id":"5be017da-2634-4be6-80a9-d096372469b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":" {\n    \"paginationOpts\": {\n      \"cursor\": \"<string>\",\n      \"numItems\": \"<number>\",\n    },\n    \"userId\": \"<string>\"\n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/getAllBadgeTemplatesByOwnerId","urlObject":{"path":["getAllBadgeTemplatesByOwnerId"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5be017da-2634-4be6-80a9-d096372469b4"}],"id":"6e0cf133-b95f-4f40-8d4c-a66ff4dc8488","_postman_id":"6e0cf133-b95f-4f40-8d4c-a66ff4dc8488","description":""},{"name":"issueBadge","item":[{"name":"Calls a mutation at the path openAPI/internalLogics.js:issueBadge","id":"4e2c6ed7-1db2-4d81-839a-2c8840f610ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"badgeData\": {},\n    \"recipientIds\": [\n      \"<string>\",\n      \"<string>\"\n    ],\n    \"templateId\": \"<string>\",\n    \"userId\": \"<string>\",\n    \"validityPeriod\": \"<number>\",\n    \"type\": \"mobility\" // \"mobility\" | \"achievement\" | \"healthcare\" | \"finance\"\n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/issueBadge","urlObject":{"path":["issueBadge"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e2c6ed7-1db2-4d81-839a-2c8840f610ff"}],"id":"7709b89e-66d1-4739-b170-9ec519c840be","_postman_id":"7709b89e-66d1-4739-b170-9ec519c840be","description":""},{"name":"getIssuedBadges","item":[{"name":"Calls a query at the path openAPI/internalLogics.js:getIssuedBadges","id":"1b1f332e-8c71-4a11-b96b-9b0e70292f72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"clientId","value":"{{clientId}}","type":"text"},{"key":"secretKey","value":"{{secretKey}}","type":"text"}],"body":{"mode":"raw","raw":" {\n    \"paginationOpts\": {\n      \"cursor\": \"<string>\",\n      \"numItems\": \"<number>\"\n    },\n    \"userId\": \"<string>\" // user ID\n  }\n","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/getIssuedBadges","urlObject":{"path":["getIssuedBadges"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b1f332e-8c71-4a11-b96b-9b0e70292f72"}],"id":"f5461c8a-801e-4420-b24b-cf536af51d35","_postman_id":"f5461c8a-801e-4420-b24b-cf536af51d35","description":""}]}