Skip to main content

Create App

POST 

/apps

Create a new app for a user or organization.

Args: payload (CreateApp): The payload containing the app name and organization ID (optional). stoken_session (SessionContainer): The session container containing the user's session token.

Returns: CreateAppOutput: The output containing the newly created app's ID and name.

Raises: HTTPException: If there is an error creating the app or the user does not have permission to access the app.

Request

Body

required

    app_name App Name (string)required

    project_id

    object

    anyOf

    string

    workspace_id

    object

    anyOf

    string

    organization_id

    object

    anyOf

    string

Responses

Successful Response

Schema

    app_id App Id (string)required
    app_name App Name (string)required
Loading...