Add hosted app guest
create_app_guestAdd a guest to a hosted app that takes guests by PIN (its playbook.json says "guests": { "signup": "pin" }; an app that lets visitors sign up by name refuses). Returns the guest and their personal 8-character pin. The PIN is in this answer only: Playbook keeps a hash, so give it to the user to hand to the guest, and tell them it cannot be shown again (the web app's Guests panel can issue a new one). The guest enters the PIN on the app's password page or in the app, and acts as themselves through the app's guest actions; what they enter is their name, email and phone given here. A guest's email and phone are personal data: show them to the user who asked, and never put them into an app's files, a folder's text or anything another visitor reads. Requires write scope and permission to edit the folder the app shows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"guest_name": "<guest_name>"
},
"name": "create_app_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of the app, from list_apps | |
| guest_name | Yes | The guest's name as the app and the owner see it, at most 80 characters, no < or > | |
| guest_email | No | The guest's email, if the app's actions need it | |
| guest_phone | No | The guest's phone, if the app's actions need it | |
| organization | No | Workspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one. |