Workspace API keys
Format
- Prefix:
psk_live_ - Scoped to one workspace
- Created in app Settings → API Keys or
POST /workspaces/{workspace_id}/api-keys(JWT, Pro plan) - Secret shown once at creation; store securely
Usage
Key metadata
Listed keys expose (never the full secret):API key scopes
Setscope when creating a key. Enforced on OAuth and platform-specific routes.
Examples
A
linkedin_only key cannot connect Instagram or call Instagram posting routes — you’ll get 403.platform values.
Workspace ID
- UUID v4
- Required as
X-Workspace-Idheader when using JWT auth - Optional with API keys (workspace inferred from key; if sent, must match)
- Required query param on some routes:
?workspace_id=...(AI generate endpoints)
GET /workspaces (JWT).
Platform slugs
Lowercase strings used inplatforms arrays and tool arguments.
Page and organization IDs
Pass when posting or generating for Page/org context instead of personal profiles.
Media ID
- UUID from unified media library (
POST /media/upload) - Returned by
POST /unified/image/generateasmedia_id - Use in posting:
default_image_id,video_id, or agent chatimage_media_id/video_media_id
Post IDs
Platform-native identifiers returned byGET /unified/posts and used in comments APIs.
Query usage
get_comments MCP tool: pass post_id + platform to target one post; omit for recent-posts dashboard mode.
Comment ID
Platform-native comment identifier for replies.
MCP
reply_to_comment resolves post context from synced comment rows when possible (except YouTube/Instagram/Bluesky edge cases — pass ids explicitly).
Agent chat channel values
Stored inturn_json.channel for GET /user-agent-chats:
Filter:
?channel=website
GPT Actions operation IDs
Tool names match MCP (snake_case):GET /openapi/chatgpt-actions.json
Quick reference
Next
Authentication
Headers and plan gates
Workspaces
Workspace model
Plans
Pro requirements for API keys