The Apps API is in beta. Its endpoints and responses may change.
Getting people in
There are three ways to give someone access.- Invite app users emails each person a link to the app. Set
collaborator_roletoeditorto let them edit the app in Base44 too. - Provision an app user gives someone access ahead of their first sign-in, so the app can be embedded signed in as them. Pair it with Create an embed sign-in token to get the embed URL.
- People can ask to join. List access requests shows them, and Approve or deny access request answers each one.
Roles and groups
A person’s role in the app is the highest of the role you gave them directly and the roles of every shared group they belong to. Lowering a group’s role, or removing a group share, doesn’t lower a role someone still holds another way.Endpoints
App users
- List app users: List the people who signed up to or joined the app.
- Count app users: Count the app’s users.
- Get app user: Read one user, or your own record with
me. - Update app user: Change a user’s role or custom fields.
- Remove app user: Remove a user from the app.
Invitations and access requests
- Invite app users: Invite people to the app by email.
- List access requests: List people who asked to join and people invited who haven’t joined.
- Approve or deny access request: Answer a request to join.
- Update pending invitee: Set custom fields on someone who hasn’t joined yet.
Provisioning
- Provision an app user: Give someone access before their first sign-in.
- Deprovision an app user: Remove someone’s access, including their app user if they’ve signed in.
- Create an embed sign-in token: Create a single-use token that opens the app signed in as a provisioned user.
Group shares
- List group shares: List the workspace groups the app is shared with.
- Update group share: Change the app role a group’s members get.
- Remove group share: Stop sharing the app with a group.