Category
Bot
Bot
List of Bots
Retrieve a list of Bots Parameter Accessible via URL https://api.channel.io/open/v5/bots and HTTP GET Parameter Example Required Description Parameter Type since 1624422339865 Optional Unix timestamp value of the first bot to be retrieved in descending order Query limit 25 Optional Maximum number of bots to be retrieved - min : 1 - max : 500 - default : 25 Query Example GET http://api.channel.io/open/v5/bots?since=1624422339865&limit=25 Response Returns a list of Bots. { "next": 1656032146408, "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", "nameDeDelete a Bot
Delete a Bot Parameter Accessible via URL https://api.channel.io/open/v5/bots/{botId} and HTTP DELETE Parameter Example Required Description Parameter Type botId 1234 Required ID of bot Path Example DELETE https://api.channel.io/open/v5/bots/1234 Response Returns HTTP status of 204 if succeeded