---
title: "POST /products/{product_product_id}/connections"
method: POST
path: "/products/{product_product_id}/connections"
tags: ["Products"]
---

# POST /products/{product_product_id}/connections

`POST /products/{product_product_id}/connections`

## Path parameters

- `product_product_id` string, required

## Request body

- DpConnection
  - `id` string
  - `type` 'test' | 'production'
  - `status` 'pending' | 'approved' | 'rejected' | 'revoked' | 'active'
  - `provider` DpAccountReference, required
    - `id` string, required
    - `name` string
    - `icon` string, nullable
  - `vendor` DpAccountReference, required
    - `id` string, required
    - `name` string
    - `icon` string, nullable
  - `hub` DpHubConnection, required
    - `id` string
    - `name` string
    - `instance` object
      - `id` string
      - `type` 'OA' | 'API'
  - `created_at` string, date-time
  - `endpoint_url` string
  - `frontend_url` string
  - `oauth_key` string
  - `oauth_secret` string
  - `version` string
  - `note` string, nullable
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
  - `product_version_type` string

## Response `201`

- DpConnection
  - `id` string
  - `type` 'test' | 'production'
  - `status` 'pending' | 'approved' | 'rejected' | 'revoked' | 'active'
  - `provider` DpAccountReference, required
    - `id` string, required
    - `name` string
    - `icon` string, nullable
  - `vendor` DpAccountReference, required
    - `id` string, required
    - `name` string
    - `icon` string, nullable
  - `hub` DpHubConnection, required
    - `id` string
    - `name` string
    - `instance` object
      - `id` string
      - `type` 'OA' | 'API'
  - `created_at` string, date-time
  - `endpoint_url` string
  - `frontend_url` string
  - `oauth_key` string
  - `oauth_secret` string
  - `version` string
  - `note` string, nullable
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
  - `product_version_type` string

## Other responses

- `400`

---

[API](https://skmtc.dev/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.dev/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cloudblue/apis/cloudblue-connect-api/revisions/0421d2a97c52?raw)
