Create a Bot

Create a Bot

Parameter

Accessible via URL https://api.channel.io/open/v5/bots and HTTP POST

๐Ÿ“˜

The POST request body requires a Bot object. This method accepts application/json.

Example

POST https://api.channel.io/open/v5/bots

{
   "name":"string",
   "avatar":{
      "bucket":"string",
      "key":"string",
      "width":0,
      "height":0
   },
   "color":"string",
   "avatarUrl":"string"
}

Response

Returns a newly created Bot object.

{
  "bot": {
    "id": "string",
    "channelId": "string",
    "name": "string",
    "description": "string",
    "nameDescI18nMap": {
      "additionalProp1": {
        "name": "string",
        "description": "string"
      },
      "additionalProp2": {
        "name": "string",
        "description": "string"
      },
      "additionalProp3": {
        "name": "string",
        "description": "string"
      }
    },
    "createdAt": 1656032151723,
    "avatar": {
      "bucket": "string",
      "key": "string",
      "width": 0,
      "height": 0
    },
    "color": "string",
    "avatarUrl": "string"
  }
}