---
title: "Create a Custom Connect Plugin Version"
method: POST
path: "/ccpm/v1/plugins/{plugin_id}/versions"
tags: ["Custom Connect Plugin Versions (ccpm/v1)"]
---

# Create a Custom Connect Plugin Version

`POST /ccpm/v1/plugins/{plugin_id}/versions`

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Make a request to create a custom connect plugin version.

## Path parameters

- `plugin_id` string, required

## Request body

- object — CustomConnectPluginVersion objects represent Custom Connect Plugin Versions on Confluent Cloud. The API allows you to list, create, read, update, and delete your Custom Connect Plugin Versions. ## The Custom Connect Plugin Versions Model <SchemaDefinition schemaRef="#/components/schemas/ccpm.v1.CustomConnectPluginVersion" />
  - `api_version` 'ccpm/v1' — APIVersion defines the schema version of this representation of a resource.
  - `kind` 'CustomConnectPluginVersion' — Kind defines the object this REST resource represents.
  - `id` string — ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object `kinds` or objects of the same `kind` within a different scope/namespace ("space").
  - `metadata` object — ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
    - `self` string, uri, required — Self is a Uniform Resource Locator (URL) at which an object can be addressed. This URL encodes the service location, API version, and other particulars necessary to locate the resource at a point in time
    - `resource_name` string, uri — Resource Name is a Uniform Resource Identifier (URI) that is globally unique across space and time. It is represented as a Confluent Resource Name
    - `created_at` string, date-time — The date and time at which this object was created. It is represented in RFC3339 format and is in UTC.
    - `updated_at` string, date-time — The date and time at which this object was last updated. It is represented in RFC3339 format and is in UTC.
    - `deleted_at` string, date-time — The date and time at which this object was (or will be) deleted. It is represented in RFC3339 format and is in UTC.
  - `spec` object, required — The desired state of the Custom Connect Plugin Version
    - `version` string, required — Version of the Custom Connect Plugin. The version must comply with SemVer (e.g., `1.2.3`, `1.2.3-beta`, `1.2.3-rc.123`, `1.2.3-rc.123+build.456`).
    - `sensitive_config_properties` string[] — A sensitive property is a connector configuration property that must be hidden after a user enters property value when setting up connector.
    - `documentation_link` string — Document link of Custom Connect Plugin.
    - `content_format` string — Archive format of Custom Connect Plugin.
    - `connector_classes` CcpmV1ConnectorClass[], required — List of connector classes. The connector class must be a valid Java class name or alias for the connector. You can get the connector class from the connector documentation provided by the developer.
      - `class_name` string, required — Java class or alias for connector. You can get connector class from connector documentation provided by developer.
      - `type` string, required — Type of the connector class. Should be either `SOURCE` or `SINK`.
    - `upload_source` object, required — Presigned URL of the uploaded Custom Connect Plugin archive.
      - `location` string, required — Location of the Custom Connect Plugin source.
      - `upload_id` string, required — Upload ID returned by the `/presigned-upload-url` API. This field returns an empty string in all responses.
    - `environment` object, required — The environment to which this belongs.
      - `id` string, required — ID of the referred resource
      - `environment` string — Environment of the referred resource, if env-scoped
      - `related` string, uri, required — API URL for accessing or modifying the referred object
      - `resource_name` string, uri, required — CRN reference to the referred resource
  - `status` CcpmV1CustomConnectPluginVersionStatus — The status of the Custom Connect Plugin Version
    - `phase` string, required — Phase of the Custom Connect Plugin Version.
    - `error_message` string — Displayable error message if version is in a failed state

## Response `202`

A Custom Connect Plugin Version is being created.

- object — CustomConnectPluginVersion objects represent Custom Connect Plugin Versions on Confluent Cloud. The API allows you to list, create, read, update, and delete your Custom Connect Plugin Versions. ## The Custom Connect Plugin Versions Model <SchemaDefinition schemaRef="#/components/schemas/ccpm.v1.CustomConnectPluginVersion" />
  - `api_version` 'ccpm/v1' — APIVersion defines the schema version of this representation of a resource.
  - `kind` 'CustomConnectPluginVersion' — Kind defines the object this REST resource represents.
  - `id` string — ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object `kinds` or objects of the same `kind` within a different scope/namespace ("space").
  - `metadata` object — ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
    - `self` string, uri, required — Self is a Uniform Resource Locator (URL) at which an object can be addressed. This URL encodes the service location, API version, and other particulars necessary to locate the resource at a point in time
    - `resource_name` string, uri — Resource Name is a Uniform Resource Identifier (URI) that is globally unique across space and time. It is represented as a Confluent Resource Name
    - `created_at` string, date-time — The date and time at which this object was created. It is represented in RFC3339 format and is in UTC.
    - `updated_at` string, date-time — The date and time at which this object was last updated. It is represented in RFC3339 format and is in UTC.
    - `deleted_at` string, date-time — The date and time at which this object was (or will be) deleted. It is represented in RFC3339 format and is in UTC.
  - `spec` object, required — The desired state of the Custom Connect Plugin Version
    - `version` string, required — Version of the Custom Connect Plugin. The version must comply with SemVer (e.g., `1.2.3`, `1.2.3-beta`, `1.2.3-rc.123`, `1.2.3-rc.123+build.456`).
    - `sensitive_config_properties` string[] — A sensitive property is a connector configuration property that must be hidden after a user enters property value when setting up connector.
    - `documentation_link` string — Document link of Custom Connect Plugin.
    - `content_format` string — Archive format of Custom Connect Plugin.
    - `connector_classes` CcpmV1ConnectorClass[], required — List of connector classes. The connector class must be a valid Java class name or alias for the connector. You can get the connector class from the connector documentation provided by the developer.
      - `class_name` string, required — Java class or alias for connector. You can get connector class from connector documentation provided by developer.
      - `type` string, required — Type of the connector class. Should be either `SOURCE` or `SINK`.
    - `upload_source` object, required — Presigned URL of the uploaded Custom Connect Plugin archive.
      - `location` string, required — Location of the Custom Connect Plugin source.
      - `upload_id` string, required — Upload ID returned by the `/presigned-upload-url` API. This field returns an empty string in all responses.
    - `environment` object, required — The environment to which this belongs.
      - `id` string, required — ID of the referred resource
      - `environment` string — Environment of the referred resource, if env-scoped
      - `related` string, uri, required — API URL for accessing or modifying the referred object
      - `resource_name` string, uri, required — CRN reference to the referred resource
  - `status` CcpmV1CustomConnectPluginVersionStatus, required — The status of the Custom Connect Plugin Version
    - `phase` string, required — Phase of the Custom Connect Plugin Version.
    - `error_message` string — Displayable error message if version is in a failed state

## Other responses

- `400` — Bad Request
- `401` — The request lacks valid authentication credentials for this resource.
- `403` — The access credentials were considered insufficient to grant access
- `409` — The request is in conflict with the current server state
- `422` — Validation Failed
- `429` — Rate Limit Exceeded
- `500` — Oops, something went wrong!

---

[API](https://skmtc.dev/confluent/apis/confluent-cloud-apis.md) · [All operations](https://skmtc.dev/confluent/apis/confluent-cloud-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/confluent/confluent-cloud-apis/revisions/a6a73f98a698/schema)
