Skip to content

API Documentation

Erik Bigler edited this page Sep 26, 2017 · 16 revisions

Overview

As of v4.3, Firebot hosts a local API that developers can use to get data from Firebot or tell it to run effects.

Endpoints

Note: The API is hosted on port 7473. All endpoints have the root http://localhost:7473/api/v1

All responses are in JSON.

Don't forget that Firebot must be running for the API to be available.

/status GET

Description

Get that status of various Firebot systems, such as if Interactive is currently connected or not

Params

URL

None

Query

None

Example Response

{
   "connections": {
        "interactive": true
    }
}

/groups GET

Description

Lists custom groups saved in Firebot

Params

URL

None

Query

  • username=[username] - Filter to groups that contain the given user
  • onlynames=true - Only return the name of the groups instead of full group objects (Default: false)

Example Response

[  
    {  
        "groupName":"Test Group",
        "users":[  
            "ebiggz"
        ]
    },
    {  
        "groupName":"Test Group 2",
        "users":[  
            "Firebottle",
            "ThePerry"
        ]
    }
]

/groups/:groupName GET

/groups/:groupName/users GET

/effects GET

/effects POST

Clone this wiki locally