GET/bots/{botId}
Gets a bot's details.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
bot
bot.read
| Parameter | Type | Description |
|---|---|---|
| botId | integer | Bot ID required example : 2000001 format : int64 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| botId | integer | Bot ID format : int64 readOnly : true |
| botName | string | Bot name required maxLength : 100 |
| photoUrl | string | URL of a bot profile image (PNG format, 640 x 640 recommended and only HTTPS allowed) required maxLength : 1000 |
| description | string | Bot description required maxLength : 100 |
| administrators | array (string) | Primary contacts of the bot required minItems : 1 maxItems : 3 uniqueItems : true |
| subadministrators | array (string) | Secondary contacts of the bot minItems : 0 maxItems : 3 uniqueItems : true |
| allowDomains | array (integer) | List of domains where bots are enabled minItems : 0 uniqueItems : true |
| enableCallback | boolean | Indicates whether to receive bot events. default : false |
| callbackEvents | array (string) | Bot event types
minItems : 0 uniqueItems : true |
| callbackUrl | string | The customer server receiving bot events. Only HTTPS is allowed. maxLength : 1000 |
| enableGroupJoin | boolean | Indicates whether to join a 1:N message room default : false |
| defaultRichmenuId | string | The default rich menu ID for all users |
| i18nBotNames | array (i18nBotNames) | Multilingual bot name minItems : 0 |
| i18nDescriptions | array (i18nDescriptions) | Multilingual bot description minItems : 0 |
| i18nPhotoUrls | array (i18nPhotoUrls) | Multilingual bot image minItems : 0 |
| createdTime | string | Bot creation time (YYYY-MM-DDThh:mm:ssTZD) format : date-time readOnly : true |
| modifiedTime | string | Bot update time (YYYY-MM-DDThh:mm:ssTZD) format : date-time readOnly : true |
| Property | Type | Description |
|---|---|---|
| language | string | Language code required Allowed values : ko_KR, ja_JP, en_US, zh_CN, zh_TW |
| botName | string | Bot name required maxLength : 100 |
| Property | Type | Description |
|---|---|---|
| language | string | Language code required Allowed values : ko_KR, ja_JP, en_US, zh_CN, zh_TW |
| description | string | Bot description required maxLength : 100 |
| Property | Type | Description |
|---|---|---|
| language | string | Language code required Allowed values : ko_KR, ja_JP, en_US, zh_CN, zh_TW |
| photoUrl | string | URL of a bot profile image required maxLength : 1000 |
example
1{2 "botId": 2000001,3 "botName": "Example bot",4 "photoUrl": "https://example.com/favicon.png",5 "description": "WorksMobile's A.I. conversation enabled bot",6 "administrators": [7 "d191e339-3299-44e6-7a44-04d9cb01a5e0"8 ],9 "subadministrators": [10 "e417a131-a56d-44a4-5304-033e16fca8d1"11 ],12 "allowDomains": [13 1000000114 ],15 "enableCallback": true,16 "callbackEvents": [17 "text",18 "location",19 "sticker",20 "image",21 "file",22 "audio",23 "video"24 ],25 "callbackUrl": "https://example.com/callback",26 "createdTime": "2022-08-08T01:12:05+09:00",27 "modifiedTime": "2022-08-09T01:12:05+09:00",28 "enableGroupJoin": true,29 "defaultRichmenuId": "40001",30 "i18nBotNames": [31 {32 "language": "en_US",33 "botName": "Example bot"34 }35 ],36 "i18nDescriptions": [37 {38 "language": "en_US",39 "description": "Example description"40 }41 ],42 "i18nPhotoUrls": [43 {44 "language": "en_US",45 "photoUrl": "https://example.com/favicon.png"46 }47 ]48}