Get workspace

Returns the workspace bound to the authenticated caller. API-key callers get the workspace the key belongs to; dashboard (Clerk) callers get the user's workspace. There is one workspace per account.
https://api.unipost.dev
GET/v1/workspace
Authorization
In header ยท Bearer <token>

Authorization

AuthorizationBearer <token>In header
Workspace API key, or a Clerk session JWT for dashboard callers. Both auth modes resolve to the same workspace.

Response Body

200
idstring
Workspace ID.
namestring
Human-readable workspace name.
per_account_monthly_limitnumber | null
Optional per-account monthly publish quota.
usage_modesstring[]
Active usage modes selected during onboarding.
Valuespublishing | agentic
custom_platform_slotstring | null
Shared Basic custom platform slot used by Hosted Connect branding and Platform Credentials.
Valuestwitter | linkedin | bluesky | youtube | tiktok | instagram | threads | facebook | pinterest
created_atstring
Creation timestamp.
updated_atstring
Last update timestamp.
401
error.codestring
Usually "UNAUTHORIZED" or "INTERNAL_ERROR".
error.normalized_codestring
Lowercase alias such as "unauthorized" or "internal_error".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.
500
error.codestring
Usually "UNAUTHORIZED" or "INTERNAL_ERROR".
error.normalized_codestring
Lowercase alias such as "unauthorized" or "internal_error".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.