Difference between revisions of "Simple Groups API"

From SmartBots Developers Docs
Jump to: navigation, search
Line 18: Line 18:
 
{{API_Entry|HTTP Group Command|invite}}
 
{{API_Entry|HTTP Group Command|invite}}
 
{{API_Entry|HTTP Group Command|eject}}
 
{{API_Entry|HTTP Group Command|eject}}
 +
{{API_Entry|HTTP Group Command|set_http_callback}}
  
 
{{API_Table_end}}
 
{{API_Table_end}}

Revision as of 11:24, 22 February 2022

The Simple Group API commands are being sent to the bot by calling a special HTTP URL:

https://api.mysmartbots.com/api/simple.html

The request can be either GET or POST. Read the Calling Simple Group API article for more info.

Testing

You can compose and test your queries using SmartBots API Testing Suite:
http://www.mysmartbots.com/api/testing.html

Available Simple Group API commands

Command Description

Membership

invite Sends the group invitation to specific resident.
eject Ejects residents from the group.
set_http_callback Set HTTP callback to be called on group events.