Create App
create_appCreate a new Bridge app in the workspace this connection belongs to, exactly as the dashboard would. Returns its id. It does NOT become the default: pass its id as app, or call use_app. Use a new app for a new environment or product rather than repurposing an existing one — an existing app may have live users, email links and billing attached. Only a connection approved for the whole workspace can create apps. A new app has no sign-in callback address: pass callbackUrl with the one the project uses (its real port), or add it later with add_redirect_uri — until then sign-in fails with NBLOCKS_NO_CALLBACK_URI. Before writing app code that signs users in to the new app, call get_integration_guide with topic=auth and the framework the app uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the new app, e.g. "Acme (staging)". | |
| callbackUrl | No | Absolute http(s) sign-in callback URL the project uses, e.g. http://localhost:5173/auth/oauth-callback. Registered as the only redirect URI and the default callback. Omit it when the port or path is not known yet. |