MongooseIM's HTTP Administration API

Configuration

Commands used by REST API are provided by modules:

mod_commands - provides general purpose commands, both user (sending message, retrieving messages from archive) and administration (create/delete a user, change password etc)

mod_muc_commands - commands related to Multi-user Chat rooms: create room, invite users, send message etc.

mod_muc_light_commands - same but for rooms based on muc-light protocol.

To activate those commands put modules you need into ejabberd.cfg file:

  {mod_commands, []},
  {mod_muc_commands, []},
  {mod_muc_light_commands, []},

API

Find the beautiful Swagger documentation below or under this link