GET/bots/{botId}/channels/{channelId}

봇이 포함된 메시지방의 상세 정보를 조회한다.

Authorization

oauth2

OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.

Scope

bot.message
bot
bot.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/bots/{botId}/channels/{channelId}

Path Parameters

ParameterTypeDescription
botId integer 

봇 ID


required
example : 2000001
format : int64 
channelId string 

메시지방 ID

참고
메시지방 서랍 메뉴에서 '채널 ID'를 선택하면 channelId를 확인 할 수 있습니다.


required
example : 12345a12-b12c-12d3-e123fghijkl 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
domainId integer 

도메인 ID

 
channelId string 

메시지방 ID

 
title string 

메시지방 이름


maxLength : 1000 
channelType object (channelType) 
 

channelType

PropertyTypeDescription
type string 

메시지방 타입

  • "SINGLE_USER": 1:1 메시지방
  • "MULTI_USERS": 1:N 메시지방
  • "ORGUNIT": 조직 메시지방
  • "GROUP": 그룹 메시지방
 
orgUnitId string 

조직 ID. 조직 메시지방인 경우에만 반환된다.

 
groupId string 

그룹 ID. 그룹 메시지방인 경우에만 반환된다.

 

Response Example

example

1{2  "domainId": 10000001,3  "channelId": "12345a12-b12c-12d3-e123fghijkl",4  "title": "Example title",5  "channelType": {6    "type": "MULTI_USERS"7  }8}