--- title: "CreateIntegration" slug: "management-cloudinsight-createintegration" updated: 2026-09-17T09:58:00Z published: 2026-09-17T09:58:00Z canonical: "api.ncloud-docs.com/management-cloudinsight-createintegration" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # CreateIntegration Classic/VPC環境で利用できます。 Integrationを作成します。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | POST | /cw_fea/real/cw/api/integration/create | ### リクエストヘッダ Cloud Insight APIで共通して使用されるヘッダの詳細は、[Cloud Insightのリクエストヘッダ](/docs/ja/management-cloudinsight#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエストボディ リクエストボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `headers` | Object | Optional | 呼び出しヘッダ(Bytes) - 0~100 (キー/値を含む) - 英数字、記号の「-」、「_」を使用可能 - 最大10個まで入力可能 | | `name` | String | Required | Integration名 | | `payload` | String | Required | 呼び出しペイロード(Byte) - 0~15,000 - 変数を含む JSON形式の転送データ - [Payloadの更新](https://guide.ncloud-docs.com/docs/ja/cloudinsight-use-integration#Payload%EC%88%98%EC%A0%95)を参照 | | `type` | String | Required | Integrationタイプ - `OUT_GOING` (有効値) | | `url` | String | Required | エンドポイントアドレス - Eventの転送先 URLを入力 | ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location --request POST 'https://cw.apigw.ntruss.com/cw_fea/real/cw/api/integration/create' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'Content-Type: application/json' \ --header 'x-ncp-dmn_cd: PUB' \ --data '{ "headers": { "content-type": "application/json; charset=utf-8" }, "name": "test", "payload": "{\n\t\"text\": \"#{DOMAIN_CODE} => #{RULE_NAME} 's event is #{EVENT_STATUS}. The condition is #{RESOURCE_NAME} 's #{DIMENSIONS} #{METRIC} #{OPERATOR} #{CRITERIA}. The current value is #{VALUE}\"\n}", "type": "OUT_GOING", "url": "*****" }' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンスボディ レスポンスボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `integrationId` | String | - | Integration ID | ### レスポンスステータスコード NAVERクラウドプラットフォームで共通して使用されるレスポンスステータスコードの詳細は、[Cloud Insight APIのレスポンスステータスコード](/docs/ja/management-cloudinsight#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` "**********" ```