Share app with a user
Adds a person to an app with a role, with or without an invitation email.
POST https://cotlet.dev/api/v1/quickbase/app/share
Uses Share app with new user on the Users page: it adds the email address with the role you pick. Set send_invitation to true to send Quickbase's invitation email, false to add the person without one. Needs an App Admin or App Manager role, or the 'Manage users and share the app' permission. The role must exist in the app. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| app string required | string | App name as it appears under My apps, e.g. 'Field Ops'. |
| email string required | string | Email address of the person to add. |
| role string required | string | Role name from list_users, e.g. 'Technician'. |
| send_invitation boolean | boolean | true sends the invitation email. Default: true. |
Request
curl -X POST https://cotlet.dev/api/v1/quickbase/app/share \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"app":"Field Ops","email":"jane@example.com","role":"Technician"}' result = client.call("quickbase", "share_app", {"app":"Field Ops","email":"jane@example.com","role":"Technician"}) const result = await cotlet.call('quickbase', 'share_app', {"app":"Field Ops","email":"jane@example.com","role":"Technician"}); cotlet call quickbase share_app --data '{"app":"Field Ops","email":"jane@example.com","role":"Technician"}' Example response
{
"app": "Field Ops",
"email": "priya@example.com",
"role": "Technician",
"invitation_sent": true
}