Start building
Cubitix API reference
One stable interface for CubiHub, DropIt, Linktr, CubiApps and live service status. Every response includes a request ID for support and tracing.
curl https://api.cubitixstudios.xyz/v1/hub/me \ -H "Authorization: Bearer ctx_live_..."
Authentication
Server applications use project API keys. User-facing applications use OAuth authorization code flow with PKCE through id.cubitixstudios.xyz. Live keys start with ctx_live_; sandbox keys start with ctx_test_. Secrets are shown once and stored only as hashes.
hub:profile.readRead Cubitix identity and linked-account status
hub:forum.readRead forum categories, announcements, posts and replies
hub:forum.writeCreate forum posts and replies as the account owner
linktr:links.readList links owned by the linked Linktr account
linktr:links.writeCreate links for the linked Linktr account
linktr:links.deletePermanently delete owned Linktr links
linktr:analytics.readRead click analytics for owned Linktr links
dropit:drops.readList deliveries owned by the linked DropIt account
dropit:drops.writeCreate DropIt deliveries and upload files
dropit:drops.deletePermanently delete owned DropIt deliveries
status:readRead current Cubitix service and component health
apps:catalog.readRead the published CubiApps catalog and releases
Errors, limits and safety
Errors use one predictable envelope. HTTP 429 indicates a per-minute or daily limit. Create operations return 409 for conflicts and 422 for invalid data. Use the X-Request-Id response header when investigating a request.
{
"error": {
"code": "insufficient_scope",
"message": "This operation requires linktr:links.write.",
"requestId": "req_..."
}
}Service
Identity
/v1/hub/meCurrent Cubitix identity
Returns the CubiHub account represented by the API key or OAuth token and its linked services.
SCOPE · hub:profile.read
Service
CubiHub
/v1/hub/categoriesList forum categories
Returns forum categories and their current post counts.
SCOPE · hub:forum.read
/v1/hub/postsList forum posts
Supports categoryId, announcements, limit and offset query parameters.
SCOPE · hub:forum.read
/v1/hub/posts/:idGet a forum post
Returns a post with its replies.
SCOPE · hub:forum.read
/v1/hub/postsCreate a forum post
JSON body: title, content and categoryId.
SCOPE · hub:forum.write
/v1/hub/posts/:id/repliesCreate a reply
JSON body: content.
SCOPE · hub:forum.write
Service
Linktr
/v1/linktr/linksList links
Returns links owned by the CubiHub-linked Linktr account.
SCOPE · linktr:links.read
/v1/linktr/linksCreate a short link
JSON body: url and optional alias.
SCOPE · linktr:links.write
{
"url": "https://example.com/launch",
"alias": "launch"
}/v1/linktr/links/:id/analyticsRead link analytics
Returns totals, countries, browsers, operating systems, devices and the latest 100 events.
SCOPE · linktr:analytics.read
/v1/linktr/links/:idDelete a link
Permanently deletes an owned link and its analytics.
SCOPE · linktr:links.delete
Service
DropIt
/v1/dropit/dropsList deliveries
Returns deliveries owned by the CubiHub-linked DropIt account.
SCOPE · dropit:drops.read
/v1/dropit/drops/:idGet a delivery
Returns delivery metadata and its file list.
SCOPE · dropit:drops.read
/v1/dropit/dropsCreate a delivery
Multipart form: files (one or more), title, note, password and expiryHours. Supported expiryHours: 0, 24, 72, 168 and 720.
SCOPE · dropit:drops.write
/v1/dropit/drops/:idDelete a delivery
Permanently deletes an owned delivery and its stored files.
SCOPE · dropit:drops.delete
Service
Status
/v1/status/servicesCurrent service status
Returns current Cubitix service and API component health.
SCOPE · status:read
Service
CubiApps
/v1/apps/catalogPublished app catalog
Returns published applications and release metadata. Package downloads remain authenticated through CubiApps.
SCOPE · apps:catalog.read