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 acceptsapplication/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"
}
}
Updated 12 months ago