channels
channels
meet-auth

Upload Session

Persist a Playwright storage_state blob on the workspace's google_calendar account.

Creates the row if no google_calendar account exists yet (allows bootstrap before OAuth — though normal flow is OAuth first, then session upload).

Args: req: UploadSessionRequest with storage_state JSON user: Authenticated user context db: Shared database session (channel_account) workspace_id: Workspace ID (from JWT)

Returns: UploadSessionResponse with channel_account_id and status

Raises: HTTPException(404): No google_calendar account found for workspace HTTPException(500): Database error

post/api/channels/meet/auth/upload-session

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/channels/meet/auth/upload-session
  • Auth: none declared

Request body

storage_stateobject required

Playwright storage_state JSON (cookies, origins, etc.)

Response

Successful Response

statusstring required

Status: 'updated' or 'created'

channel_account_idinteger required

google_calendar channel_account ID

Changes

No recorded changes to this operation across all 5 revisions of this API.