Add app to session

Changed on

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Lets a session watch one more app. The browser then joins the app's room itself. Adding an app the session already watches changes nothing.

Available only to white-label workspaces on the Builder plan or higher, with live AI chat updates turned on. Ask your onboarding contact to turn them on for your workspace.

The credential must be able to watch the app, and a session watches up to 8 apps. Session calls are limited to 600 requests a minute per workspace. Some workspaces have a different limit. Every request that counts against the limit gets X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix time in seconds) headers, and a 429 also gets Retry-After in seconds.

put/api/v1/socket-sessions/{session_id}/apps/{app_id}

Request

  • Base URL: https://app.base44.com
  • URL: https://app.base44.com/api/v1/socket-sessions/{session_id}/apps/{app_id}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

session_idstring required

ID of the session, from session_id in Create socket session.

app_idstring required

ID of the app.

Response

The session may watch the app. app_ids lists every app it may watch.

session_idstring required

ID of the session.

app_idsstring[] required

IDs of the apps the session may now watch.

Example response

{
  "session_id": "3f9a1c0e7b2d4e8f9a6b5c4d3e2f1a0b",
  "app_ids": [
    "6a2024af837c7a06c83021c1"
  ]
}

Changes