Opbox

Addons API

Manage addon modules for your workspace. Addons extend Opbox with industry-specific workflows, templates, tables, and metadata fields. Currently available: Corporate Services (CSP) for ADGM & DIFC entity management.

Endpoints

MethodEndpointDescription
GET/api/addonsList all available addons with installation status
POST/api/addonsInstall an addon
GET/api/addons/:keyGet addon detail with stats
PATCH/api/addons/:keyEnable or disable an installed addon
DELETE/api/addons/:keyUninstall an addon

Authorization: All endpoints require authentication. Installing, enabling, disabling, and uninstalling addons require ADMIN or OWNER role.

List Addons

Returns all available addon definitions merged with your workspace's installation status. Uninstalled addons are included with installed: false.

GET /api/addons

Response

{
  "addons": [
    {
      "key": "csp",
      "name": "Corporate Services",
      "tagline": "ADGM & DIFC entity management, compliance, and filings",
      "description": "Full lifecycle management for corporate entities...",
      "icon": "Building2",
      "category": "Compliance",
      "version": "1.0.0",
      "features": ["Entity register", "Stakeholder management", "..."],
      "matterTemplateCount": 15,
      "tableCount": 3,
      "metadataFieldCount": 10,
      "installed": true,
      "status": "ACTIVE",
      "installedAt": "2026-02-15T10:00:00.000Z",
      "installedBy": { "id": "cm...", "name": "Will", "email": "will@example.com" }
    }
  ]
}

Install an Addon

Installs an addon for your workspace. This provisions matter templates, metadata fields, and other resources defined by the addon. If the addon was previously disabled, this re-enables it.

POST /api/addons
Content-Type: application/json
{
  "addonKey": "csp"
}

Body Parameters

FieldTypeRequiredDescription
addonKeystringYesThe addon identifier (e.g. csp)

Provisioned Resources (CSP)

When the CSP addon is installed, the following resources are automatically created:

ResourceCountDetails
Matter templates15Incorporation (3), PINCA filings (11), renewal (1), strike-off (1)
Metadata fields10Entity name, type, jurisdiction, PINCA code, fees, compliance status
Tables3Entities, Stakeholders, Cap Table (defined in registry, provisioned on install)
Intelligence APIs22Ownership graphs, UBO computation, temporal registers, compliance calendar, KYC expiry, entity presence
AI Tools13Graph queries, UBO analysis, register access, stakeholder exposure, compliance intelligence

Responses

// Response (200)
{
  "success": true
}

// Response (409) - already installed
{
  "error": "Addon is already installed"
}

Get Addon Detail

Returns full addon definition, installation status, and usage stats (if installed). Stats include counts of entities, stakeholders, boards, and matters.

GET /api/addons/:key

Path Parameters

ParameterTypeDescription
keystringThe addon identifier (e.g. csp)

Response

{
  "addon": {
    "key": "csp",
    "name": "Corporate Services",
    "tagline": "ADGM & DIFC entity management, compliance, and filings",
    "description": "Full lifecycle management for corporate entities...",
    "icon": "Building2",
    "category": "Compliance",
    "version": "1.0.0",
    "features": [
      "Entity register with 10+ entity types",
      "Stakeholder management with PEP screening",
      "Cap table with share class tracking",
      "KYC document inventory with expiry monitoring",
      "PINCA filing board (11 types via metadata)",
      "Incorporation workflow templates",
      "Annual renewal tracking",
      "Strike-off procedure templates",
      "Multi-jurisdiction (ADGM & DIFC)",
      "Metadata fields for compliance tracking"
    ],
    "matterTemplateCount": 6,
    "tableCount": 13,
    "metadataFieldCount": 10,
    "installed": true,
    "status": "ACTIVE",
    "installedAt": "2026-02-15T10:00:00.000Z",
    "stats": {
      "entities": 24,
      "stakeholders": 58,
      "boards": 6,
      "matters": 142
    }
  }
}

Enable or Disable an Addon

Toggles an installed addon between ACTIVE and DISABLED states. Disabling hides the addon's UI elements but preserves all data. Enabling restores visibility.

PATCH /api/addons/:key
Content-Type: application/json
// Disable
{ "action": "disable" }

// Enable
{ "action": "enable" }

Body Parameters

FieldTypeRequiredDescription
actionstringYesenable or disable

Response

// Response (200)
{
  "success": true
}

Uninstall an Addon

Removes the addon installation. You can choose to keep or delete provisioned resources. Matters created from addon templates are never deleted.

DELETE /api/addons/:key
Content-Type: application/json
// Keep provisioned data (templates become user-owned)
{ "keepData": true }

// Delete provisioned data (orphans templates with existing matters)
{ "keepData": false }

Body Parameters

FieldTypeRequiredDescription
keepDatabooleanNoIf true (default), provisioned templates and fields become user-owned. If false, templates with no matters are deleted and metadata fields are archived.

Response

// Response (200)
{
  "success": true
}

Addon Status Values

StatusDescription
ACTIVEAddon is installed and fully operational
DISABLEDAddon is installed but hidden from the UI. All data is preserved.
nullAddon is not installed (returned in list endpoint)

Available Addons

KeyNameCategoryDescription
cspCorporate ServicesComplianceADGM & DIFC entity management - entity register, stakeholder management, cap table, KYC tracking, PINCA filings, incorporations, renewals, strike-off, ownership graph intelligence, UBO computation, temporal registers, compliance calendars, cross-workspace entity presence