# Pro API

### Setup

To enable the Pro API: Got to your brewerys admin page (<https://bricks.bierbot.com/#/brewery/admin>), locate the "Pro-API" section and toggle the enable toggle to on. The Pro-API key and API key become available. The latter is the normal API key you've used for setting up all your Brick. The first one is an additional API key we need for communicating with the API.

<figure><img src="https://972345729-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb-yazhyh6RzCW1gcvw%2Fuploads%2FxDLVdBA592SOWzhwD3j6%2FScreenshot%20from%202023-12-03%2008-30-19.png?alt=media&#x26;token=2dd3327e-cab3-4831-9840-d78894288a75" alt=""><figcaption><p>Pro-API config menu</p></figcaption></figure>

### Usage

Note: This requires at least a PRO membership.

If you're missing an endpoint, please reach out using the blue feedback button, the [contact form](https://bierbot.com/contact/) or the [forum](https://forum.bierbot.com).

{% openapi src="<https://972345729-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb-yazhyh6RzCW1gcvw%2Fuploads%2Ft4H4asf7ILS2fpktQWy0%2FMy%20Project.openapi.json?alt=media&token=5914dead-4226-4d38-bc7c-59b3b3f729ee>" path="/api/devices" method="get" %}
[My Project.openapi.json](https://972345729-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb-yazhyh6RzCW1gcvw%2Fuploads%2Ft4H4asf7ILS2fpktQWy0%2FMy%20Project.openapi.json?alt=media\&token=5914dead-4226-4d38-bc7c-59b3b3f729ee)
{% endopenapi %}

{% openapi src="<https://972345729-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb-yazhyh6RzCW1gcvw%2Fuploads%2Ft4H4asf7ILS2fpktQWy0%2FMy%20Project.openapi.json?alt=media&token=5914dead-4226-4d38-bc7c-59b3b3f729ee>" path="/api/device" method="get" %}
[My Project.openapi.json](https://972345729-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb-yazhyh6RzCW1gcvw%2Fuploads%2Ft4H4asf7ILS2fpktQWy0%2FMy%20Project.openapi.json?alt=media\&token=5914dead-4226-4d38-bc7c-59b3b3f729ee)
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bierbot.com/developer-section/pro-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
