

So you create a chatbot on a specificīasecamp to get the callback URL for that Basecamp, but the chatbot will instantly be available to every other Basecamp on the account as well. It's important to note that chatbots are account-wide, but with basecamp-specific callback URLs.

Service Message Date/Time DIRECTCONNECT Informational message: Network Connectivity Fri, 12:11:03 -0700 INTERNETCONNECTIVITY Service is operating normally: Network Connectivity Tue, 05:31:00 -0700 INTERNETCONNECTIVITY Informational message: Network Connectivity Fri, 08:47:13 -0700 INTERNETCONNECTIVITY Service is operating normally: Network Connectivity Wed, 01:31:00 -0700 SQS Service is operating normally: Increased API Error Rates Tue, 12:44:00 -0700 Here are a few examples of return content or content sent to the callback URL from what we use at Basecamp:Īlert warning from Nagios with inline resolution links: Useful for providing large chunks of information hidden behind a show/hide. The pair of details/summary is particularly This response has the same format as all other rich text in Basecamp,īut also accepts these additional tags: table tr td th thead tbody details summary.
Basecamp 3 notifications code#
Of a text/html content-typed response with status code 200. If the interactive chatbot is able to provide a response right away, it can, as stated above, just return that as part People, with pre-specified IDs, will be able to interact with it. If you have a deploy bot, then maybe only certain You can use the information in the creator block to enforce permission controls. "bio": "Don't let your dreams be dreams ", "attachable_sgid": "BAh7CEkiCGdpZAY6BkVUSSIrZ2lkOi8vYmMzL1BlcnNvbQQcMDA3Mjk5MTQzP2V4cGlyZXNfaW4GOwBUSSIMcHVycG9zZQY7AFRJIg9hdHRhY2hhYmxlBjsAVEkiD2V4cGlyZXNfYXQGOwBUMA=-919d2c8b11ff403eefcab9db42dd26846d0c3102 ", When an interactive chatbot is invoked, it'll receive a JSON payload like this: It's intended purely for request/reply and blind reply interactions.

But what you can't do is read anything from the room. URL, you can post content as that chatbot to that room. See the Create a chatbot endpoint for more info. It's returnedĪs lines_url when creating a chatbot. That POST is inserted into the room where the conversation is happening.Īlternatively, if a chatbot needs to post on their own, there's a special key'ed URL that's all that is needed. Interactive chatbots have their queries and commands POST'ed directly to them with a piece of JSON. You can even start a ping conversation with one.īoth types of chatbots are authenticated differently from how the rest of the API works. Interactive chatbots can be queried or commanded by anyone in any room. There are two types of chatbots in Basecamp: Those that are interactive and those that only post content on their own.
