Skip to content

API Documentation

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

Table Of Contents

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.

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.

Endpoints

/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

Description

Get info on a particular group.

Params

URL

  • groupName - The name of the group

Query

None

Example Response

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

/groups/:groupName/users GET

Description

Get the users in a particular group

Params

URL

  • groupName - The name of the group

Query

None

Example Response

[
    "ebiggz"
]

/effects GET

/effects/:effect GET

/effects/:effect/triggers GET

/effects/:effect/dependencies GET

/effects POST

Clone this wiki locally