BizKitHub
DocsAPI ReferenceTerminal/bff/terminal/session
postTerminalAdmin BFF

/bff/terminal/session

Initialize terminal session

TerminalpostBffTerminalSession

Parameters

No parameters required

This endpoint takes no path, query, header or body parameters.

Response schema

1 status code documented

200Success
userobjectRequired

Authenticated user info

idstringRequired

User ID

namestringRequired

Display name of the user

rolestringRequired

User role in the organisation

Examplesmemberroot
tenantobjectRequired

Current organisation context

idstringRequired

Organisation ID

namestringRequired

Organisation name

cwdstringRequired

Initial working directory

Example/drive
welcomeobjectRequired

Structured status payload rendered by the terminal welcome block

productstringRequired

Product name shown as header title

Examplebizkithub terminal
versionstringRequired

Semantic version string

Example1.0.0
channelstringRequired

Surface identifier for the terminal session

Exampleweb
buildstringRequired

7-character commit short-hash (or "dev" outside deploys)

Example4f2a91c
sessionStartedAtstringRequired

ISO 8601 UTC timestamp of session start

sessionIdstringRequired

Short session identifier for support tickets

Examplesess_8ktz4
memberEmailstringRequired

Email of the authenticated member

Exampleuser@example.com
memberRole"root" | "member"Required

Effective role (root if member has the root permission, else member)

orgNamestringRequired

Organisation display name

ExampleGymRoom
orgSlugstringRequired

Organisation slug

Examplegymroom
regionstringRequired

Vercel deployment region or "local"

Examplesfra1local
clientIpstringRequired

Resolved client IP address

Example94.112.57.122
docsUrlstringRequired

Absolute URL to the terminal documentation

Examplehttps://docs.bizkithub.com/terminal

Response example

application/json
{
  "user": {
    "id": "example_id",
    "name": "example_name",
    "role": "member"
  },
  "tenant": {
    "id": "example_id",
    "name": "example_name"
  },
  "cwd": "/drive",
  "welcome": {
    "product": "bizkithub terminal",
    "version": "1.0.0",
    "channel": "web",
    "build": "4f2a91c",
    "sessionStartedAt": "example_sessionStartedAt",
    "sessionId": "sess_8ktz4",
    "memberEmail": "user@example.com",
    "orgName": "GymRoom",
    "orgSlug": "gymroom",
    "region": "fra1",
    "clientIp": "94.112.57.122",
    "docsUrl": "https://docs.bizkithub.com/terminal"
  }
}

Request example

POST /bff/terminal/session

post
curl -X POST "https://api.bizkithub.com/bff/terminal/session" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key