{"info":{"_postman_id":"02ae8832-5e65-486d-91ce-5cf96d7a0bdc","name":"api@bigledger","description":"<html><head></head><body><p>BigLedger api documentation</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1962664","collectionId":"02ae8832-5e65-486d-91ce-5cf96d7a0bdc","publishedId":"RVtynqqp","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-03-29T01:57:23.000Z"},"item":[{"name":"id@bigledger","item":[{"name":"Auth","item":[{"name":"Password login","id":"90bb85c9-531a-4559-be61-c03a7e878ad6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"email\": \"test@example.com\", \"password\": \"password1\" }\n"},"url":"https://id-api.bigledger.com/api/v1/auth/login","description":"<p>Login using email address and password</p>\n","urlObject":{"protocol":"https","path":["api","v1","auth","login"],"host":["id-api","bigledger","com"],"query":[],"variable":[]}},"response":[{"id":"2607e439-5c4b-4596-8af8-48feef9998c6","name":"Password login failed no password","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"email\": \"test@example.com\", \"password\": \"password1\" }"},"url":"https://id-api.bigledger.com/api/v1/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\"code\": \"C_VALIDATION_NOPASSWORD\", \"data\": null}"},{"id":"53dc36e1-3eb5-436d-b2f3-9e3f102fedf9","name":"Password login failed unknown error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"email\": \"test@example.com\", \"password\": \"password1\" }"},"url":"https://id-api.bigledger.com/api/v1/auth/login"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\"code\": \"S_GENERAL_UNKNOWNERROR\", \"data\": null}\n"},{"id":"5844dc43-3ff1-4fce-b6bf-a6260fa3c4fc","name":"Password login Failed Email not validated","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"email\": \"test@example.com\", \"password\": \"password1\" }"},"url":"https://id-api.bigledger.com/api/v1/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \"code\": \"C_VALIDATION_NOEMAIL\", \"data\": null }"},{"id":"6e6d7fb6-ee1a-495a-a51a-3aeabb516257","name":"Password login failed wrong email","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"email\": \"test@example.com\", \"password\": \"password1\" }"},"url":"https://id-api.bigledger.com/api/v1/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\"code\": \"C_AUTH_WRONGEMAIL\", \"data\": null}"},{"id":"92018bb6-d079-41b5-8060-b9596caccacc","name":"Password login failed wrong password","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"email\": \"test@example.com\", \"password\": \"password1\" }"},"url":"https://id-api.bigledger.com/api/v1/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\"code\": \"C_AUTH_WRONGPASSWORD\", \"data\": null}\n"},{"id":"94f80997-a930-42b5-9cc0-f6914fbf5481","name":"Password login failed too many attempts","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"email\": \"test@example.com\", \"password\": \"password1\" }"},"url":"https://id-api.bigledger.com/api/v1/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\"code\": \"C_AUTH_TOOMANYFAILEDATTEMPTS\", \"data\": null}\n"},{"id":"ea0d0d65-51db-4897-9cb0-eea9996b2633","name":"Password login failed user not confirmed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"email\": \"test@example.com\", \"password\": \"password1\" }"},"url":"https://id-api.bigledger.com/api/v1/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\"code\": \"C_AUTH_USERNOTCONFIRMED\", \"data\": null}\n"},{"id":"fa432110-2a00-455b-b6e3-6868fb67e0d2","name":"Successful Password login ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"email\": \"test@example.com\", \"password\": \"password1\" }"},"url":"https://id-api.bigledger.com/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \"code\": \"O_RESPONSE\", \"data\": {\"authToken\": \"eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI3RTM2RTA2QS00RDQzLTRGNkItQTIzQS01QjM4NjVDODQ0QzAiLCJleHAiOjE1MTYwMDgxNDB9.e92mwGgg3wXlZqP9JK7eFyidbudJFOgcQRMc_0RDKgbVlmHIWDkfMi0Wbuc-4\" }}"}],"_postman_id":"90bb85c9-531a-4559-be61-c03a7e878ad6"},{"name":"Facebook login","id":"ab69aad0-64c4-4dc9-be4d-263980cc1269","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"facebookToken\": \"EAAB9tWnzimUABLbNrtuypu0dPyCgxgckMoZBCdZCr0tPy08f1rdHFRpgaRuOOI6Lf5dlBn3MPTLZBFKRAUFc0nI68qSoERWNNuzUny8D2PVBCfrET0BwZCm3sh7p807gr4gaAj5QrnyZAgLZABDBDRzRCqxSmLAz1eOMJMZCMyJ48nBhhC3dKnWWLT7ZAx9klHdhWCiQIAsPcZBG46pg7OJZCY\",\n\t\"facebookAppId\": \"???\"\n}\n"},"url":"https://id-api.bigledger.com/api/v1/auth/facebook","description":"<p>Login using facebook</p>\n","urlObject":{"protocol":"https","path":["api","v1","auth","facebook"],"host":["id-api","bigledger","com"],"query":[],"variable":[]}},"response":[{"id":"95bcb309-b882-40d9-88dd-07400ea65dca","name":"Facebook login failed no token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"facebookToken\": \"EAAB9tWnzimUABLbNrtuypu0dPyCgxgckMoZBCdZCr0tPy08f1rdHFRpgaRuOOI6Lf5dlBn3MPTLZBFKRAUFc0nI68qSoERWNNuzUny8D2PVBCfrET0BwZCm3sh7p807gr4gaAj5QrnyZAgLZABDBDRzRCqxSmLAz1eOMJMZCMyJ48nBhhC3dKnWWLT7ZAx9klHdhWCiQIAsPcZBG46pg7OJZCY\"}\n"},"url":"https://id-api.bigledger.com/api/v1/auth/facebook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \"code\": \"C_AUTH_NOTOKEN\", \"data\": null }\n"},{"id":"b8dbb8b3-e8b4-4e48-b077-c01a8a1eea6a","name":"Facebook login failed invalid user","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"facebookToken\": \"EAAB9tWnzimUABLbNrtuypu0dPyCgxgckMoZBCdZCr0tPy08f1rdHFRpgaRuOOI6Lf5dlBn3MPTLZBFKRAUFc0nI68qSoERWNNuzUny8D2PVBCfrET0BwZCm3sh7p807gr4gaAj5QrnyZAgLZABDBDRzRCqxSmLAz1eOMJMZCMyJ48nBhhC3dKnWWLT7ZAx9klHdhWCiQIAsPcZBG46pg7OJZCY\"}\n"},"url":"https://id-api.bigledger.com/api/v1/auth/facebook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \"code\": \"C_GENERAL_INVALIDUSER\", \"data\": null }\n"},{"id":"d6e41054-a6c8-4657-8607-e68092e47809","name":"Facebook login success ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"facebookToken\": \"EAAB9tWnzimUABLbNrtuypu0dPyCgxgckMoZBCdZCr0tPy08f1rdHFRpgaRuOOI6Lf5dlBn3MPTLZBFKRAUFc0nI68qSoERWNNuzUny8D2PVBCfrET0BwZCm3sh7p807gr4gaAj5QrnyZAgLZABDBDRzRCqxSmLAz1eOMJMZCMyJ48nBhhC3dKnWWLT7ZAx9klHdhWCiQIAsPcZBG46pg7OJZCY\"}\n"},"url":"https://id-api.bigledger.com/api/v1/auth/facebook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\"code\": \"O_RESPONSE\", \"data\": {\"authToken\": \"eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI3RTM2RTA2QS00RDQzLTRGNkItQTIzQS01QjM4NjVDODQ0QzAiLCJleHAiOjE1MTYwMDgxNDB9.e92mwGgg3wXlZqP9JK7eFyidbudJFOgcQRMc_0RDKgbVlmHIWDkfMi0Wbuc-4\"}}\n"}],"_postman_id":"ab69aad0-64c4-4dc9-be4d-263980cc1269"},{"name":"Google Login","id":"6f5f2efb-b4ab-4293-822d-27f9547cb0c7","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"googleToken\": \"ey.EAAB9tWnzimUABLbNrtuypu0dPyCgxgckMoZBCdZCr0tPy08f1rdHFRpgaRuOOI6Lf5dlBn3MPTLZBFKRAUFc0nI68qSoERWNNuzUny8D2PVBCfrET0BwZCm3sh7p807gr4gaAj5QrnyZAgLZABDBDRzRCqxSmLAz1eOMJMZCMyJ48nBhhC3dKnWWLT7ZAx9klHdhWCiQIAsPcZBG46pg7OJZCY\",\n\t\"googleAppId\": \"???\"\n}\n"},"url":"https://id-api.bigledger.com/api/v1/auth/google","description":"<p>Login using google</p>\n","urlObject":{"protocol":"https","path":["api","v1","auth","google"],"host":["id-api","bigledger","com"],"query":[],"variable":[]}},"response":[{"id":"71c20da2-ea18-4344-bf9a-2aadfe3c7d38","name":"Google login success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"facebookToken\": \"EAAB9tWnzimUABLbNrtuypu0dPyCgxgckMoZBCdZCr0tPy08f1rdHFRpgaRuOOI6Lf5dlBn3MPTLZBFKRAUFc0nI68qSoERWNNuzUny8D2PVBCfrET0BwZCm3sh7p807gr4gaAj5QrnyZAgLZABDBDRzRCqxSmLAz1eOMJMZCMyJ48nBhhC3dKnWWLT7ZAx9klHdhWCiQIAsPcZBG46pg7OJZCY\"}\n"},"url":"https://id-api.bigledger.com/api/v1/auth/google"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\"code\": \"O_RESPONSE\", \"data\": {\"authToken\": \"eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI3RTM2RTA2QS00RDQzLTRGNkItQTIzQS01QjM4NjVDODQ0QzAiLCJleHAiOjE1MTYwMDgxNDB9.e92mwGgg3wXlZqP9JK7eFyidbudJFOgcQRMc_0RDKgbVlmHIWDkfMi0Wbuc-4\"}}\n"}],"_postman_id":"6f5f2efb-b4ab-4293-822d-27f9547cb0c7"}],"id":"a4a56c8b-8973-49aa-bc5f-431356cb4624","description":"<p>#Authentication and Authorization</p>\n","_postman_id":"a4a56c8b-8973-49aa-bc5f-431356cb4624"},{"name":"User Preferences","item":[],"id":"d88a715e-d679-4a61-9d60-dd0cbb4de0c3","_postman_id":"d88a715e-d679-4a61-9d60-dd0cbb4de0c3","description":""},{"name":"SocialLogin","item":[],"id":"3becd610-74c9-475b-9788-a1e1915be9a6","description":"<h1 id=\"social-login\">Social Login</h1>\n<p>Integration with various social logins.</p>\n","_postman_id":"3becd610-74c9-475b-9788-a1e1915be9a6"},{"name":"Registration","item":[{"name":"Resend confirmation email","id":"d98cf5b3-844c-47a2-aff9-ce58e4463676","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"email\": \"test@example.com\"}\n"},"url":"https://id-api.bigledger.com/api/v1/registration/resend_confirmation","description":"<p>Resend the user confirmation email, that is sent by Cognito during user registration.</p>\n","urlObject":{"protocol":"https","path":["api","v1","registration","resend_confirmation"],"host":["id-api","bigledger","com"],"query":[],"variable":[]}},"response":[{"id":"8cd41080-5a36-4156-98ed-6845ef62a3e5","name":"Resend confirmation user success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"email\": \"test@example.com\", \"code\": \"12345\"}\n"},"url":"https://id-api.bigledger.com/api/v1/registration/resend_confirmation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\"code\": \"O_NODATA\", \"data\": null}\n"}],"_postman_id":"d98cf5b3-844c-47a2-aff9-ce58e4463676"}],"id":"a7d9ba97-deb9-4e1b-99bd-21289497381f","_postman_id":"a7d9ba97-deb9-4e1b-99bd-21289497381f","description":""},{"name":"User Profile","item":[{"name":"User profile","id":"5612bf33-cf48-47da-ad39-a402f475f546","request":{"method":"GET","header":[{"key":"Authorization","value":"{{ Token }}"}],"body":{"mode":"raw","raw":"{\"googleToken\": \"ey.EAAB9tWnzimUABLbNrtuypu0dPyCgxgckMoZBCdZCr0tPy08f1rdHFRpgaRuOOI6Lf5dlBn3MPTLZBFKRAUFc0nI68qSoERWNNuzUny8D2PVBCfrET0BwZCm3sh7p807gr4gaAj5QrnyZAgLZABDBDRzRCqxSmLAz1eOMJMZCMyJ48nBhhC3dKnWWLT7ZAx9klHdhWCiQIAsPcZBG46pg7OJZCY\"}\n"},"url":"https://id-api.bigledger.com/api/v1/userprofile","description":"<p>get user profile data</p>\n","urlObject":{"protocol":"https","path":["api","v1","userprofile"],"host":["id-api","bigledger","com"],"query":[],"variable":[]}},"response":[{"id":"e0e9d593-9133-48f5-8653-126b8a7b2a35","name":"User profile success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"googleToken\": \"ey.EAAB9tWnzimUABLbNrtuypu0dPyCgxgckMoZBCdZCr0tPy08f1rdHFRpgaRuOOI6Lf5dlBn3MPTLZBFKRAUFc0nI68qSoERWNNuzUny8D2PVBCfrET0BwZCm3sh7p807gr4gaAj5QrnyZAgLZABDBDRzRCqxSmLAz1eOMJMZCMyJ48nBhhC3dKnWWLT7ZAx9klHdhWCiQIAsPcZBG46pg7OJZCY\"}\n"},"url":"https://id-api.bigledger.com/api/v1/userprofile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"\n{\n  \"code\": \"O_RESPONSE\",\n  \"data\": {\n    \"subject\": {\n      \"subjectTableRow\": {\n        \"guid\": \"7E36E06A-ABAB-CDCD-EFEF-5B3865C844C0\",\n        \"revision\": \"B248AF69-ABAB-CDCD-EFEF-D35305CB0AF6\",\n        \"vrsn\": null,\n        \"name\": \"John Doe\",\n        \"description\": \"\",\n        \"category\": \"PERSON\",\n        \"property_json\": null\n      },\n      \"principalTableRows\": [\n        {\n          \"guid\": \"C6374599-ABAB-CDCD-EFEF-6FD4E60FF3EE\",\n          \"revision\": \"E634D960-ABAB-CDCD-EFEF-B73C66944BAF\",\n          \"vrsn\": null,\n          \"subject_guid\": \"7E36E06A-ABAB-CDCD-EFEF-5B3865C844C0\",\n          \"principal_type\": \"PRINCIPAL_ID_TYPE_EMAIL\",\n          \"principal_id\": \"PRINCIPAL_ID_COGNITO\",\n          \"principal_value\": \"johndoe@example.net\",\n          \"credential\": null,\n          \"valid_date_start\": 1507781134000,\n          \"valid_date_end\": 1539273600000,\n          \"status\": \"UNCONFIRMED\"\n        }\n      ],\n      \"subjectExtTableRows\": []\n    }\n  }\n}\n"}],"_postman_id":"5612bf33-cf48-47da-ad39-a402f475f546"}],"id":"a8f77f9b-058f-419d-a0db-367a56af54b9","_postman_id":"a8f77f9b-058f-419d-a0db-367a56af54b9","description":""},{"name":"Access Key","item":[{"name":"Add access key","id":"7778b510-c882-41ea-9e1b-3fda259906b2","request":{"method":"POST","header":[{"key":"Authorization","value":"{{Authorization}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"test key 1\",\n\t\"type\": \"ACCESS_KEY\"\n}"},"url":"https://id-api.bigledger.com/api/v1/access-keys","urlObject":{"protocol":"https","path":["api","v1","access-keys"],"host":["id-api","bigledger","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7778b510-c882-41ea-9e1b-3fda259906b2"},{"name":"List access keys for user","id":"9dbffe5b-4bcd-47a3-a50e-cec9fda62584","request":{"method":"GET","header":[{"key":"Authorization","value":"{{Authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://id-api.bigledger.com/api/v1/access-keys","urlObject":{"protocol":"https","path":["api","v1","access-keys"],"host":["id-api","bigledger","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9dbffe5b-4bcd-47a3-a50e-cec9fda62584"}],"id":"95e051d7-450c-45b1-8776-1b1ad403522b","_postman_id":"95e051d7-450c-45b1-8776-1b1ad403522b","description":""}],"id":"eb62346b-c1f3-414c-a392-8a1dc28ad83e","description":"<h1 id=\"idbigledgercom\">id.bigledger.com</h1>\n<p>Identity Management for BigLedger ID</p>\n","_postman_id":"eb62346b-c1f3-414c-a392-8a1dc28ad83e"}]}