Create Bots using APIs more easily
you had to register an email address and verify that email address to create an account for API use. But now you don’t have to do that anymore. Now you can create Bots and use APIs within topics easily without registering an email address.
You can create a bot in the editing topic page. Click the Bots tab, “Add bot” button, and input the bot’s ID and Full name. The system will automatically append a “+” to the bot’s name, so you know it is a Bot. There are 2 scope options for the API: “topic.read” or “topic.post”. Click the checkboxes to set the scope for your bot.
After clicking the Create button, you can get a Typetalk Token. You can use topic APIs with this token. Try to execute a post message command on your computer! Click the Reset token if you want to change the Typetalk Token for this bot. Click “More” next to the “Get or Post Messages URL” box to see more APIs. See documentation and samples for details.
Typetalk support on Mackerel
Mackerel is a server monitoring service provided by Hatena Co., Ltd. and helps users manage cloud servers much more efficiently. We are using Mackerel to monitor servers in all of our services. Refer to this interview article about why we adopted Mackerel.
According to this release, Mackerel has started to support Typetalk as one of their notification channels to send server alerts! As shown in the figure below, you just need to put the “Get or Post messages URL” of your bot account in the “Typetalk Channel” setting page.
Click “Create” and then run “Test” to check your settings. When something wrong happens on your server, you’ll receive alerts from Mackerel like this.
As shown here, the “bot” account makes it more easy to use the Typetalk API and integrate your service with Typetalk. See also this announcement in the Mackerel Blog.
Typetalk Hack Tokyo
We here.Typetalk Hack event in Tokyo on Dec 16th. Come join us! Apply