Workspace
Retrieve the workspace that is currently selected.
Responses
200
The currently selected workspace.
application/json
idstringRequiredExample:
The ID of the workspace.
981ba079-62a6-442c-8dfb-a72af6e96b8cnamestringRequiredExample:
The name of the workspace.
My WorkspacesubdomainstringRequiredExample:
The subdomain of the workspace.
myworkspaceowner_idstringRequiredExample:
The ID of the owner of the workspace.
981ba079-62a6-442c-8dfb-a72af6e96b8cstatusstring · enumRequiredPossible values:
The status of the workspace.
plan_price_idstringRequiredExample:
The ID of the plan price of the workspace.
981ba079-62a6-442c-8dfb-a72af6e96b8creferral_creditnumberRequiredExample:
How much referral credit has been applied to the workspace.
10000created_atstring · date-timeRequiredExample:
Timestamp of when the workspace was created.
2025-01-01T00:00:00.000Zupdated_atstring · date-timeRequiredExample:
Timestamp of when the workspace was last updated.
2025-01-01T00:00:00.000Z401
The user is not authenticated.
get/auth/workspace
GET /api/v1/auth/workspace HTTP/1.1
Accept: */*
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"name": "My Workspace",
"subdomain": "myworkspace",
"owner_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"status": "TRIAL",
"plan_price_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"referral_credit": 10000,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Last updated