Create a new bot.
Response format | JSON |
---|---|
Requires authentication? | Yes |
name required | Name for the bot, which must be unique to the channel. |
---|
curl -X POST \
-u '[SID]:[TOKEN]' \
-H 'Content-Type: application/json' \
'https://api.essential.to/bots/v1/create' \
-d '{"name":"Sample bot"}'
# Sample response
{
"name": "Sample bot",
"deployed": false,
"created_at": "2017-02-22T22:18:10.401Z",
"updated_at": "2017-02-22T22:18:10.401Z",
"provisioned": false,
"sid": "M023pJRT9yNmt-5RjTQBwQ",
"channel_sids": [
"Mc0bsmU9h7kn9h9UJVwg3Q"
]
}
Python coming soon.
Node coming soon.