Create a bot

Create a new bot.

Resource URL:

POST https://api.essential.to/bots/v1/create

Resource information:

Response formatJSON
Requires authentication?Yes

Parameters:

name
required

Name for the bot, which must be unique to the channel.

Sample code:

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.