---
title: "upsert an integration definition"
method: POST
path: "/api/integrations/def/register"
tags: ["integration-resource"]
---

# upsert an integration definition

`POST /api/integrations/def/register`

## Request body

- IntegrationDef[]
  - `apis` IntegrationDefApi[]
    - `api` string
    - `description` string
    - `inputSchema` SchemaDef
      - `createTime` integer
      - `createdBy` string
      - `data` object
      - `externalRef` string
      - `name` string, required
      - `ownerApp` string
      - `type` 'JSON' | 'AVRO' | 'PROTOBUF', required
      - `updateTime` integer
      - `updatedBy` string
      - `version` integer, required
    - `integrationType` string
    - `jsonUISchema` string
    - `outputSchema` SchemaDef
      - `createTime` integer
      - `createdBy` string
      - `data` object
      - `externalRef` string
      - `name` string, required
      - `ownerApp` string
      - `type` 'JSON' | 'AVRO' | 'PROTOBUF', required
      - `updateTime` integer
      - `updatedBy` string
      - `version` integer, required
  - `category` 'API' | 'AI_MODEL' | 'VECTOR_DB' | 'RELATIONAL_DB' | 'MESSAGE_BROKER' | 'GIT' | 'EMAIL' | 'MCP' | 'CLOUD'
  - `categoryLabel` string
  - `configuration` IntegrationDefFormField[] — unresolved $ref
  - `description` string
  - `enabled` boolean
  - `iconName` string
  - `name` string
  - `tags` string[]
  - `type` string

## Response `200`

OK

---

[API](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server.md) · [All operations](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/orkescloud/orkes-conductor-api-server/revisions/6ebf0c14ac41/schema)
