--- title: "채널 생성 " slug: "media-livestation-re-stream-channelcreate" tags: ["Live Station", "Re-Stream Management"] updated: 2026-09-17T09:16:48Z published: 2026-09-17T09:16:48Z canonical: "api.ncloud-docs.com/media-livestation-re-stream-channelcreate" --- > ## 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. # 채널 생성 Classic/VPC 환경에서 이용 가능합니다. 동시 송출 채널을 생성합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | POST | /api/v2/re-stream/channels | ### 요청 헤더 Live Station API에서 공통으로 사용하는 헤더에 대한 정보는 [Live Station 요청 헤더](/docs/media-livestation#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 바디 요청 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `channelName` | String | Required | 채널 이름 - 한글, 영문자, 숫자, 특수 문자 '_'를 조합하여 3~20자 이내로 입력 | | `planType` | String | Required | 요금제 타입 - `STANDARD` \| `PROFESSIONAL` - `STANDARD`: 최대 3개 플랫폼으로 동시 송출 가능 - `PROFESSIONAL`: 최대 5개 플랫폼으로 동시 송출 가능 | | `envType` | String | Optional | 채널 타입 - `REAL` (기본값) \| `DEV` \| `STAGE` - 적용할 서비스 환경에 따른 구분자 | | `restream` | Array | Required | 동시 송출 플랫폼 목록: [restream](/docs/media-livestation-re-stream-channelcreate#restream1) | #### `restream` `restream`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `targetName` | String | Required | 동시 송출 플랫폼 이름 - `YOUTUBE` \| `CHZZK` \| `STEAM` \| `YOUNOW` \| `USTREAM` \| `AFREECATV` \| `PRISM` \| `CUSTOM` | | `rtmpUrl` | String | Required | 동시 송출 플랫폼 RTMP URL | | `streamKey` | String | Required | 동시 송출 플랫폼 스트림 키 | | `id` | String | Optional | RTMP 인증 아이디 - 인증 설정 필요 시 입력 | | `password` | String | Optional | RTMP 인증 비밀번호 - 인증 설정 필요 시 입력 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request POST 'https://livestation.apigw.ntruss.com/api/v2/re-stream/channels' \ --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-region_code: KR' \ --data '{ "channelName": "channel001", "planType": "STANDARD", "envType": "REAL", "restream": [ { "targetName": "YOUTUBE", "rtmpUrl": "rtmp://rtmp-test.youtube.com", "streamKey": "****-****-****-****-****", "id": "user000", "password": "dbwj@@@123" }, { "targetName": "PRISM", "rtmpUrl": "rtmp://abc.com", "streamKey": "****-****-****-****-****", "id": "user001", "password": "dbwj@@!456" } ] }' ``` ## 응답 응답 형식을 설명합니다. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `content` | Object | - | 응답 결과 | | `content.channelId` | String | - | 채널 아이디 | | `content.channelName` | String | - | 채널 이름 | | `content.instanceNo` | Integer | - | 채널 인스턴스 번호 | | `content.channelStatus` | String | - | 채널 상태 - `CREATING` \| `READY` \| `PUBLISHING` \| `DELETED` \| `BLOCK` \| `FORCE_BLOCK` \| `FORCE_DELETED` - `CREATING`: 생성 중 - `READY`: 준비 - `PUBLISHING`: 송출 중 - `DELETED`: 반납 - `BLOCK`: 정지 - `FORCE_BLOCK`: 강제 정지 - `FORCE_DELETED`: 사용 불가 | | `content.streamKey` | String | - | 스트림 키 | | `content.publishUrl` | String | - | 기본 송출 URL | | `content.planType` | String | - | 요금제 타입 - `STANDARD` \| `PROFESSIONAL` - `STANDARD`: 최대 3개 플랫폼으로 동시 송출 가능 - `PROFESSIONAL`: 최대 5개 플랫폼으로 동시 송출 가능 | | `content.createdTime` | Integer | - | 채널 생성 일시(밀리초) - Unix Timestamp 형식 | | `content.restream` | Array | - | 동시 송출 플랫폼 정보: [restream](/docs/media-livestation-re-stream-channelcreate#restream2) | | `content.platformCount` | Integer | - | 동시 송출 플랫폼 수 | | `content.totalPublishSeconds` | Integer | - | 채널 사용 시간(초) | | `content.alertOn` | Boolean | - | 이벤트 알람 설정 여부 - `true` \| `false` - `true`: 설정 - `false`: 설정 안 함 | | `content.isPublishing` | Boolean | - | 송출 여부 - `true` \| `false` - `true`: 송출 중 - `false`: 송출 중 아님 | | `content.envType` | String | - | 채널 타입 - `REAL` \| `DEV` \| `STAGE` | #### `restream` `restream`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `id` | String | - | RTMP 인증 아이디 - 인증 정보 설정 시 표시 | | `rtmpUrl` | String | - | 동시 송출 플랫폼 RTMP URL | | `streamKey` | String | - | 동시 송출 플랫폼 스트림 키 | | `password` | String | - | RTMP 인증 비밀번호 - 인증 정보 설정 시 표시 | | `targetName` | String | - | 동시 송출 플랫폼 이름 | ### 응답 상태 코드 Live Station API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Live Station 응답 상태 코드](/docs/media-livestation#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "content": { "channelId": "ls-20250819******-Ik1QU", "channelName": "channel001", "instanceNo": 1082*****, "channelStatus": "READY", "streamKey": "zg******************************", "publishUrl": "rtmp://***********.video.media.ntruss.com:8080/relay", "planType": "STANDARD", "createdTime": 1755571786244, "restream": [ { "id": "user000", "rtmpUrl": "rtmp://rtmp-test.youtube.com", "streamKey": "****-****-****-****-****", "password": "dbwj@@@123", "targetName": "YOUTUBE" }, { "id": "user001", "rtmpUrl": "rtmp://abc.prism.com", "streamKey": "****-****-****-****-****", "password": "dbwj@@!456", "targetName": "PRISM" } ], "platformCount": 2, "totalPublishSeconds": 0, "alertOn": false, "isPublishing": false, "envType": "REAL" } } ```