---
title: "Publish Extension Package"
method: POST
path: "/api/extensions/templates/publish"
tags: ["ERP Extensions"]
---

# Publish Extension Package

`POST /api/extensions/templates/publish`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/extensions/templates/publish`
- Auth: HTTP bearer

## Request body

- ExtensionPackagePayload
  - `slug` string, required
  - `name` string, required
  - `version` string
  - `description` string, nullable
  - `scope` string
  - `owner_org_id` string, nullable
  - `schema_manifest` object
  - `ui_manifest` object
  - `workflow_manifest` object
  - `agent_manifest` object
  - `permissions_manifest` object
  - `portal_manifest` object, nullable
  - `config_schema` object
  - `code_ref` string, nullable
  - `migrations` object[]
  - `install_to_org` boolean
  - `install_config` object
  - `organization_id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-09** `6fe617c112ef`: 1 info
  - endpoint added
- **2026-08-29** `7a7c8e2b5afc`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/qomplement/apis/qomplement-api/changes/api/extensions/templates/publish/post.md)

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
