Create a Bot

Create a Bot

Parameter

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

๐Ÿ“˜

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

Example

POST https://api.channel.io/open/v4/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",
    "createdAt": 1624422361892,
    "avatar": {
      "bucket": "string",
      "key": "string",
      "width": 0,
      "height": 0
    },
    "color": "string",
    "avatarUrl": "string"
  }
}