Skip to main content
POST
Invite app users

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Path Parameters

app_id
string
required

ID of the app to invite the users to.

Body

application/json
user_emails
string[]
required

Email addresses to invite, up to 50 per call.

Maximum array length: 50
Example:
role
string
default:user

Role the invited people get in the app, such as user or admin. It isn't checked against the roles the app defines.

Example:

"user"

collaborator_role
enum<string>

Set to editor to also let them edit the app in Base44.

Available options:
editor
Example:

"editor"

add_as_guest
boolean
default:false

With collaborator_role set to editor, adds anyone outside the app's workspace to it as a guest instead of failing their invitation.

Example:

false

Response

The outcome of each invitation.

The outcome of each invitation, in the order you sent them.

results
InviteUserResult · object[]
required

One entry per address you sent.

Example: