{"info":{"_postman_id":"b7ffedfd-6803-4dfb-b617-062d74a191da","name":"Base Account Public API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"1623302","collectionId":"b7ffedfd-6803-4dfb-b617-062d74a191da","publishedId":"T1Dv6u6m","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-31T08:19:41.000Z"},"item":[{"name":"Get All Users","id":"9de84c61-fa7c-457d-b694-5c26066e70aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","value":"{{account_access_token_v2}}","type":"text"}]},"url":"https://account.base.vn/extapi/v1/users","urlObject":{"protocol":"https","path":["extapi","v1","users"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"9de84c61-fa7c-457d-b694-5c26066e70aa"},{"name":"Get All Groups (Units)","id":"c02dee56-e833-4f82-b100-e9dc6947285f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"}]},"url":"https://account.base.vn/extapi/v1/units","urlObject":{"protocol":"https","path":["extapi","v1","units"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"c02dee56-e833-4f82-b100-e9dc6947285f"},{"name":"Get Group Detail By Path","id":"dec940e1-6572-4304-a43c-a36022c2fc66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"},{"key":"path","value":"{{group_path}}","description":"<p>path of group (required)</p>\n","type":"text"}]},"url":"https://account.base.vn/extapi/v1/group/get","urlObject":{"protocol":"https","path":["extapi","v1","group","get"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"dec940e1-6572-4304-a43c-a36022c2fc66"},{"name":"Deactivate Account","id":"ddf40b0b-3a74-4bef-a910-bdf81daa9549","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"},{"key":"username","value":"@testbase4","type":"text"}]},"url":"https://account.base.vn/extapi/v1/user/deactivate","urlObject":{"protocol":"https","path":["extapi","v1","user","deactivate"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"ddf40b0b-3a74-4bef-a910-bdf81daa9549"},{"name":"Create Account","id":"c06e6855-4707-4d88-ad3b-a331140ecb3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"},{"key":"last_name","type":"text","value":"Doe"},{"key":"first_name","value":"John","type":"text"},{"key":"username","value":"johndoe","type":"text"},{"key":"email","value":"jdanonym@example.com","type":"text"},{"key":"title","value":"Developer","type":"text"}]},"url":"https://account.base.vn/extapi/v1/user/create","urlObject":{"protocol":"https","path":["extapi","v1","user","create"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"c06e6855-4707-4d88-ad3b-a331140ecb3e"},{"name":"Set direct managers","id":"ed0f4df6-c136-436e-a1a3-b4b22dbf444e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"},{"key":"username","type":"text","value":"johndoe"},{"key":"manager","type":"text","value":"@testbase2 @testbase6"},{"key":"overwrite","value":"0","description":"<p>default 0 (keeps current managers and merge new ones)</p>\n","type":"text"}]},"url":"https://account.base.vn/extapi/v1/user/manager","urlObject":{"protocol":"https","path":["extapi","v1","user","manager"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed0f4df6-c136-436e-a1a3-b4b22dbf444e"},{"name":"Search user by email","id":"65d75bac-c748-45a7-ab41-6cc90ba0a515","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"},{"key":"email","type":"text","value":"jdanonym@example.com"}]},"url":"https://account.base.vn/extapi/v1/user/search.by.email","urlObject":{"protocol":"https","path":["extapi","v1","user","search.by.email"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"65d75bac-c748-45a7-ab41-6cc90ba0a515"},{"name":"Search user by username","id":"47327021-7cda-4113-8d3c-da62792e4944","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"},{"key":"username","type":"text","value":"johndoe"}]},"url":"https://account.base.vn/extapi/v1/user/search.by.username","urlObject":{"protocol":"https","path":["extapi","v1","user","search.by.username"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"47327021-7cda-4113-8d3c-da62792e4944"},{"name":"Set application users","id":"e299588d-e7c9-4eb4-85ee-9de50f28d63c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"},{"description":"<p>Target Application Name</p>\n","key":"app","type":"text","value":"wework"},{"key":"usernames","type":"text","value":"@testbase2 @testbase6"},{"key":"teams","value":"@marketing","type":"text"}]},"url":"https://account.base.vn/extapi/v1/subscription/users","urlObject":{"protocol":"https","path":["extapi","v1","subscription","users"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"e299588d-e7c9-4eb4-85ee-9de50f28d63c"},{"name":"Update Account","id":"72b7c6c3-8c4c-416f-9eef-7f7b7d14e3a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"access_token_v2","value":"{{account_access_token_v2}}","type":"text"},{"key":"username","value":"johndoe","type":"text"},{"key":"last_name","value":"Doe 2","type":"text"},{"key":"first_name","value":"John 3","type":"text"},{"key":"title","value":"Developer","type":"text"},{"key":"address","value":"Hanoi","type":"text"},{"key":"image","description":"<p>File (e.g: animage.png)</p>\n","type":"file","src":"/Users/hardy/Pictures/robot1.jpeg"},{"key":"dob_day","value":"1","type":"text"},{"key":"dob_month","value":"10","type":"text"},{"key":"dob_year","value":"1991","type":"text"}]},"url":"https://account.base.vn/extapi/v1/user/edit","urlObject":{"protocol":"https","path":["extapi","v1","user","edit"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"72b7c6c3-8c4c-416f-9eef-7f7b7d14e3a9"},{"name":"Create Group","id":"f2907e12-da7c-42a7-8217-bf226f9ddc15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","value":"{{account_access_token_v2}}","type":"text"},{"key":"path","value":"newgroup2","description":"<p>(required)</p>\n","type":"text"},{"key":"name","value":"New Group 2","description":"<p>(required)</p>\n","type":"text"},{"key":"leader","value":"hpro","description":"<p>(required)</p>\n","type":"text"},{"key":"about","value":"Description of group 2","description":"<p>(optional)</p>\n","type":"text"},{"key":"users","value":"hpro1,hpro2,testma1,testma2","description":"<p>list of usernames</p>\n","type":"text"}]},"url":"https://account.base.vn/extapi/v1/network/create","urlObject":{"protocol":"https","path":["extapi","v1","network","create"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2907e12-da7c-42a7-8217-bf226f9ddc15"},{"name":"Add member to group","id":"f95c66f7-0891-40ff-877d-5f082d6c9594","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"},{"description":"<p>usernames separated by \",\" or \";\"</p>\n","key":"usernames","type":"text","value":"johndoe,testbase9"},{"description":"<p>ID of group</p>\n","key":"network","type":"text","value":"42"}]},"url":"https://account.base.vn/extapi/v1/network/members.add","urlObject":{"protocol":"https","path":["extapi","v1","network","members.add"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"f95c66f7-0891-40ff-877d-5f082d6c9594"},{"name":"Deactivate Multiple Accounts","id":"6b326505-f8e3-46e8-a226-7f5b9fec73d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"},{"description":"<p>split by commas</p>\n","key":"usernames","type":"text","value":"quocphuong3, quocphuong4"},{"key":"emails","value":"quocphuong1@true-hr.net, phuongtq@true-hr.net","description":"<p>split by commas</p>\n","type":"text"}]},"url":"https://account.base.vn/extapi/v1/user/deactivate.multiple","urlObject":{"protocol":"https","path":["extapi","v1","user","deactivate.multiple"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b326505-f8e3-46e8-a226-7f5b9fec73d6"},{"name":"Re-activate Multiple Accounts","id":"e7c00948-f777-4b76-8373-76a81133cf75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"},{"description":"<p>split by commas</p>\n","key":"usernames","type":"text","value":"quocphuong3, quocphuong4"}]},"url":"https://account.base.vn/extapi/v1/user/reactivate.multiple","urlObject":{"protocol":"https","path":["extapi","v1","user","reactivate.multiple"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7c00948-f777-4b76-8373-76a81133cf75"},{"name":"Create Multiple Accounts","id":"0c98e14a-f8b0-4899-8964-df08c18b5dca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","type":"text","value":"{{account_access_token_v2}}"},{"description":"<p>base64_encoded JSON string of users[]</p>\n","key":"users","type":"text","value":"W3siZW1haWwiOiJ0ZXN0bWExQHRydWUtaHIubmV0IiwidXNlcm5hbWUiOiJ0ZXN0bWExIiwiZmlyc3RfbmFtZSI6IlRlc3QgMSIsImxhc3RfbmFtZSI6Ik1BMSIsInRpdGxlIjoidGVzdGVyIiwibWFuYWdlciI6Imhwcm85OTkiLCJkb2IiOiIxMVwvMDJcLzE5OTIiLCJwaG9uZSI6IjA5ODQzNTM0MjYyIiwiYWRkcmVzcyI6IkhhIERvbmcsIEhOIn0seyJlbWFpbCI6InRlc3RtYTJAdHJ1ZS1oci5uZXQiLCJ1c2VybmFtZSI6InRlc3RtYTIiLCJmaXJzdF9uYW1lIjoiVGVzdCAyIiwibGFzdF9uYW1lIjoiTUEyIiwidGl0bGUiOiJ0ZXN0ZXIiLCJtYW5hZ2VyIjoiaGZ6NDYiLCJkb2IiOiIwNlwvMDNcLzE5OTUiLCJwaG9uZSI6IjA5MzQ2MzQ2NDMyIiwiYWRkcmVzcyI6IkxvbmcgQmllbiwgSE4ifV0="},{"key":"send_email","value":"1","description":"<p>default 0</p>\n","type":"text"}]},"url":"https://account.base.vn/extapi/v1/user/create.multiple","urlObject":{"protocol":"https","path":["extapi","v1","user","create.multiple"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"0c98e14a-f8b0-4899-8964-df08c18b5dca"},{"name":"Get System Logs","id":"1a37f772-859a-4d4e-9f38-a1f77fc200fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","value":"{{account_access_token_v2}}","type":"text"},{"key":"action","value":"account.create","description":"<p>Type of action (account.create, account.deactivate,...)</p>\n","type":"text"},{"key":"label","value":"account.10","description":"<p>Label of logs (for example: account.{id} is account app's log related to user with id {id}) </p>\n","type":"text"},{"key":"user","value":"anusername","description":"<p>Username that triggers the action</p>\n","type":"text"},{"key":"page","value":"1","description":"<p>Pageable results (default = 1 and each page has 50 logs)</p>\n","type":"text"}]},"url":"https://account.base.vn/extapi/v1/syslogs/get","urlObject":{"protocol":"https","path":["extapi","v1","syslogs","get"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a37f772-859a-4d4e-9f38-a1f77fc200fe"},{"name":"Remove User from Group","id":"177ca5e0-0efe-491a-8011-da1a2faac860","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","value":"{{account_access_token_v2}}","type":"text"},{"key":"username","value":"anusername","description":"<p>Username of user that needs to be removed</p>\n","type":"text"},{"key":"network","value":"forfun","description":"<p>Network path. Example: a network with URL <a href=\"https://account.%7B%7Bdomain%7D%7D/company/g/forfun\">https://account.base.vn/company/g/forfun</a> will have \"forfun\" as its path.</p>\n","type":"text"},{"key":"","value":"","type":"text"}]},"url":"https://account.base.vn/extapi/v1/group/revoke","urlObject":{"protocol":"https","path":["extapi","v1","group","revoke"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"177ca5e0-0efe-491a-8011-da1a2faac860"},{"name":"Get login history by username","id":"2d10ba11-3a17-4548-bcbe-2dd9b458e21a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","value":"{{account_access_token_v2}}","type":"text"},{"key":"username","value":"anotherusername","description":"<p>Username of user that needs to be extract login history</p>\n","type":"text"},{"key":"start_date","value":"01/02/2026","description":"<p>Start date (dd/mm/yyyy)</p>\n","type":"text","uuid":"54e4b3e9-91dc-4119-8078-5c1616cb5d76"},{"key":"end_date","value":"31/03/2026","description":"<p>End date (dd/mm/yyyy)</p>\n","type":"text","uuid":"dae8024c-9664-4b8a-95e7-990c2ffb3afe"},{"key":"page","value":"1","description":"<p>Max 500 records/1 page</p>\n","type":"text","uuid":"b40269cc-6fea-43d1-bd00-c45bb56ce79f"}]},"url":"https://account.base.vn/extapi/v1/user/logins","urlObject":{"protocol":"https","path":["extapi","v1","user","logins"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d10ba11-3a17-4548-bcbe-2dd9b458e21a"},{"name":"Get all login history","id":"061c2e91-eafe-4175-a203-6da0d6c2d363","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token_v2","value":"{{account_access_token_v2}}","type":"text"},{"key":"start_date","value":"01/02/2026","description":"<p>Start date (dd/mm/yyyy)</p>\n","type":"text","uuid":"54e4b3e9-91dc-4119-8078-5c1616cb5d76"},{"key":"end_date","value":"31/03/2026","description":"<p>End date (dd/mm/yyyy)</p>\n","type":"text","uuid":"dae8024c-9664-4b8a-95e7-990c2ffb3afe"},{"key":"page","value":"1","description":"<p>Max 500 records/1 page</p>\n","type":"text","uuid":"b40269cc-6fea-43d1-bd00-c45bb56ce79f"}]},"url":"https://account.base.vn/extapi/v1/user/logins.all","urlObject":{"protocol":"https","path":["extapi","v1","user","logins.all"],"host":["account","base.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"061c2e91-eafe-4175-a203-6da0d6c2d363"}],"event":[{"listen":"prerequest","script":{"id":"959b7928-9d7f-4a09-abb6-8741796cc0d9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"00b7c682-0616-417e-a132-6976a206d8d3","type":"text/javascript","exec":[""]}}],"variable":[{"key":"domain","value":"base.vn"},{"key":"account_access_token","value":"token"}]}