{"info":{"_postman_id":"50959e0b-69a2-4763-a2a0-90a4dfbba537","name":"authblue-api","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"30519632","collectionId":"50959e0b-69a2-4763-a2a0-90a4dfbba537","publishedId":"2s9YR6aEKK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-10-16T03:49:18.000Z"},"item":[{"name":"create_api_token","id":"eeb6df99-5fe3-422c-8d85-4dda9e47493e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://authblue-api-production.azurewebsites.net/api/create_token","urlObject":{"protocol":"https","path":["api","create_token"],"host":["authblue-api-production","azurewebsites","net"],"query":[],"variable":[]}},"response":[{"id":"a60bd7d6-1b09-4300-be42-36c4a320883c","name":"create_api_token","originalRequest":{"method":"GET","header":[],"url":"https://authblue-api-production.azurewebsites.net/api/create_token"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_error\": false,\n    \"error_message\": \"\",\n    \"req_id\": \"67640af1-e5be-4f10-b970-7fc594e0bfbd\",\n    \"result\": {\n        \"api_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJybklhc0pheVpPSUlJS3FMQUhPdjRlMFAiLCJleHAiOjE3MDUxMTg5Mjl9.jLA1w38hk2FMAA4UfakemlS0tyP3ku2Cvh3vauEIak2\"\n    }\n}"}],"_postman_id":"eeb6df99-5fe3-422c-8d85-4dda9e47493e"},{"name":"get_api_token","id":"5598d3fc-247c-402e-b63c-1453728871ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://authblue-api-production.azurewebsites.net/api/create_token","urlObject":{"protocol":"https","path":["api","create_token"],"host":["authblue-api-production","azurewebsites","net"],"query":[],"variable":[]}},"response":[{"id":"dc5fabcc-9e39-4b79-ac83-1b17acf58f59","name":"get_api_token","originalRequest":{"method":"GET","header":[],"url":"https://authblue-api-production.azurewebsites.net/api/create_token"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5598d3fc-247c-402e-b63c-1453728871ac"},{"name":"delete_api_token","id":"241d010b-a76a-4388-9d17-93f5886a7f9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://authblue-api-production.azurewebsites.net/api/token","urlObject":{"protocol":"https","path":["api","token"],"host":["authblue-api-production","azurewebsites","net"],"query":[],"variable":[]}},"response":[{"id":"edc992af-3003-4d0d-895d-b56b2e90d086","name":"delete_api_token","originalRequest":{"method":"DELETE","header":[],"url":"https://authblue-api-production.azurewebsites.net/api/token"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"241d010b-a76a-4388-9d17-93f5886a7f9e"},{"name":"get_tenants","id":"e1c695e2-4ced-48d0-9900-12ca11a49a5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://authblue-api-production.azurewebsites.net/api/tenants","urlObject":{"protocol":"https","path":["api","tenants"],"host":["authblue-api-production","azurewebsites","net"],"query":[],"variable":[]}},"response":[{"id":"08c1f6be-e5b7-439e-81fc-b255d8c38a5c","name":"get_tenants","originalRequest":{"method":"GET","header":[],"url":"https://authblue-api-production.azurewebsites.net/api/tenants"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_error\": false,\n    \"error_message\": \"\",\n    \"req_id\": \"6946b7a4-1d4b-4dd3-9f04-f783b3801334\",\n    \"result\": [\n        {\n            \"id\": \"oAA7dR9gig9CJ1V1CiGmpXAC\",\n            \"name\": \"test1\",\n            \"plan\": \"prod_OodXlQOiRpziAa\",\n            \"description\": \"\",\n            \"agreement_usage\": 7\n        },\n        {\n            \"id\": \"ZuSM6D4m2fqpMohylgSwoeeG\",\n            \"name\": \"test2\",\n            \"plan\": \"free\",\n            \"description\": \"\",\n            \"agreement_usage\": 1\n        }\n    ]\n}"}],"_postman_id":"e1c695e2-4ced-48d0-9900-12ca11a49a5b"},{"name":"get_clients_for_tenant","id":"f52c6934-d699-41aa-b269-fbccebd08572","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"tenant_id\": \"cZeg8iJwmb0vDnDmWlpZoVEs\"\n}","options":{"raw":{"language":"json"}}},"url":"https://authblue-api-production.azurewebsites.net/api/clients/tenant","urlObject":{"protocol":"https","path":["api","clients","tenant"],"host":["authblue-api-production","azurewebsites","net"],"query":[],"variable":[]}},"response":[{"id":"6ad70203-078d-4779-b1d0-0646a775d517","name":"get_clients_for_tenant","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tenant_id\": \"cZeg8iJwmb0vDnDmWlpZoVEs\"\n}","options":{"raw":{"language":"json"}}},"url":"https://authblue-api-production.azurewebsites.net/api/clients/tenant"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_error\": false,\n    \"error_message\": \"\",\n    \"req_id\": \"d1ad7db6-7f97-46c5-8348-7025ae4c9fca\",\n    \"result\": [\n        {\n            \"id\": \"Phs0gk7WWjKmXsUJd92tmqSY\",\n            \"client_id\": \"Phs0gk7WWjKmXsUJd92tmqSY\",\n            \"client_name\": \"test\",\n            \"client_uri\": null,\n            \"redirect_uris\": [\n                \"\"\n            ],\n            \"agreement_method\": {\n                \"face_id\": true,\n                \"my_number_card\": false,\n                \"signature\": false\n            },\n            \"requesting_info\": {\n                \"name\": false,\n                \"sex\": false,\n                \"address\": false,\n                \"age\": false,\n                \"birthday\": false,\n                \"phone\": false,\n                \"email\": true,\n                \"picture\": false\n            },\n            \"content\": {\n                \"agreement\": \"test\"\n            }\n        }\n    ]\n}"}],"_postman_id":"f52c6934-d699-41aa-b269-fbccebd08572"},{"name":"get_logs_for_client","id":"0b58bc0e-2777-4100-aaa9-14d49acacef3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": \"phs0gk7WWjKmXsUJd92tmqSY\",\n    \"time_range\": \"today\"\n}","options":{"raw":{"language":"json"}}},"url":"https://authblue-api-production.azurewebsites.net/api/logs/client","urlObject":{"protocol":"https","path":["api","logs","client"],"host":["authblue-api-production","azurewebsites","net"],"query":[],"variable":[]}},"response":[{"id":"9775a60c-bef7-4b14-92a0-fd9df140d2c6","name":"get_logs_for_client","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client_id\": \"phs0gk7WWjKmXsUJd92tmqSY\",\n    \"time_range\": \"today\"\n}","options":{"raw":{"language":"json"}}},"url":"https://authblue-api-production.azurewebsites.net/api/logs/client"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"has_error\": false,\n    \"error_message\": \"\",\n    \"req_id\": \"a5c42d0e-54a3-4e09-8905-d954d9e75ce3\",\n    \"result\": [\n        {\n            \"id\": \"okegtbVBbZO6d5EGPMnOfnaU\",\n            \"user_id\": \"rnIasJayZOIIIKqLAHOv4e0P\",\n            \"user_name\": \"Kentaro Mihara\",\n            \"created_at\": \"2023-10-15T13:02:08\",\n            \"client_id\": \"Phs0gk7WWjKmXsUJd92tmqSY\",\n            \"client_name\": \"test\",\n            \"type\": \"agreement\",\n            \"agreement_method\": {\n                \"face_id\": true,\n                \"my_number_card\": false,\n                \"signature\": false\n            },\n            \"requesting_info\": {\n                \"name\": false,\n                \"sex\": false,\n                \"address\": false,\n                \"age\": false,\n                \"birthday\": false,\n                \"phone\": false,\n                \"email\": true,\n                \"picture\": false\n            },\n            \"content\": {\n                \"agreement\": \"test\"\n            }\n        }\n    ]\n}"}],"_postman_id":"0b58bc0e-2777-4100-aaa9-14d49acacef3"}]}