Provision an app user
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Gives a person access to this app ahead of their first sign-in, so the app can be embedded signed in as them. Returns created for a new email, and exists for an email that already has an access request, whatever its state: a request still pending approval stays pending, and an embed sign-in token for it answers unknown_user. Call it with a personal access token whose owner can edit the app, or with a workspace API key that has the Provision app users permission. Limited to 120 requests a minute per app, shared with deprovisioning. Higher plans get a higher limit.
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/apps/{app_id}/users/provisions
- Auth
- HTTP bearer
- or API key in header api_key
- or HTTP bearer
Path parameters
ID of the app.
Request body
Response
Successful Response
Example response
{
"status": "created",
"email": "dana@example.com",
"role": "user"
}Changes
- info
the endpoint scheme security
WorkspaceApiKeyBearerAuthwas added to the API
- info
- info
the security scope
app_users:provisionwas added to the endpoint's security schemeWorkspaceApiKeyAuth - info
the security scope
full_accesswas added to the endpoint's security schemePersonalAccessTokenAuth
- info