Account, organization (company/workspace) and membership APIs served by the MSG91 '36blocks' proxy service at routes.msg91.com, which DocStar uses as its identity provider. All calls authenticate with the user's proxy_auth_token header, obtained when the user logs in through the 36blocks proxy-auth widget (configured with a reference id, NEXT_PUBLIC_PROXY_REFERENCE_ID = ). In DocStar an organization id (orgId) is the MSG91 company id.
Get Current User Details — GET https://routes.msg91.com/api/c/getDetails
List Organizations — GET https://routes.msg91.com/api/c/getCompanies
Create Organization — POST https://routes.msg91.com/api/c/createCompany
Switch Organization — POST https://routes.msg91.com/api/c/switchCompany
Update Organization Domains — PUT https://routes.msg91.com/api/c/updateCompany
Update Organization Details — POST https://routes.msg91.com/api/c/{featureId}/updateDetails
List Organization Users — GET https://routes.msg91.com/api/c/getUsers
Add User To Organization — POST https://routes.msg91.com/api/c/addUser
Remove User From Organization — DELETE https://routes.msg91.com/api/c/removeUser/:userId
Leave Organization — POST https://routes.msg91.com/api/c/inviteAction/leave
Logout — DELETE https://routes.msg91.com/api/c/logout
Add it to your AI in one click, or copy the instructions and tell it what you want to build.
Paste into your AI and tell it what you want to build.