Files
portainer-docs/api/docs.md
2026-03-02 00:08:22 +00:00

25 lines
959 B
Markdown

---
metaLinks:
alternates:
- https://app.gitbook.com/s/xdTQRpMuktD2l0URtOJO/api/docs
---
# API documentation
Portainer exposes an HTTP API that you can use to automate everything you do via the Portainer UI. You can also use Portainer as a gateway (HTTP queries against the Portainer API) to the underlying Docker/Kubernetes API.
{% hint style="info" %}
You will need an access token in order to use the Portainer API. If you have not already set up an access token for the API, we have [instructions on how to do so](access.md).
{% endhint %}
You can find our API documentation here:
* [Business Edition (BE) 2.40.0 API Documentation](https://api-docs.portainer.io/?edition=ee\&version=2.40.0) 
* [Community Edition (CE) 2.40.0 API Documentation](https://api-docs.portainer.io/?edition=ce\&version=2.40.0)
We have also provided some examples of API usage.
{% content-ref url="examples.md" %}
[examples.md](examples.md)
{% endcontent-ref %}