# Portainer Auth API

**Canonical:** https://apis.io/apis/portainer/portainer-auth-api/  
**Provider:** Portainer — https://apis.io/providers/portainer/  
**Base URL:** https://api-docs.portainer.io  
**Documentation:** https://www.portainer.io/

Portainer Auth API is one of 32 APIs that [Portainer](https://apis.io/providers/portainer/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 3 JSON Schema definitions. Tagged areas include Authentication. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, and 3 JSON Schemas.

Authenticate against Portainer HTTP API

## Operations (3)

| Method | Path | Summary |
|---|---|---|
| POST | `/auth` | Authenticate |
| POST | `/auth/logout` | Logout |
| POST | `/auth/oauth/validate` | Authenticate with OAuth |

## Machine-readable artifacts (8)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/portainer/refs/heads/main/openapi/portainer-auth-api-openapi.yml
- **Documentation** — https://docs.portainer.io/
- **APIReference** — https://api-docs.portainer.io/
- **GettingStarted** — https://docs.portainer.io/start
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/portainer/refs/heads/main/json-schema/portainer-auth-authenticate-response-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/portainer/refs/heads/main/json-schema/portainer-auth-authenticate-payload-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/portainer/refs/heads/main/json-schema/portainer-auth-oauth-payload-schema.json
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/portainer/refs/heads/main/apis.yml

## Other Portainer APIs (12)

- [Portainer Backup API](https://apis.io/apis/portainer/portainer-backup-api/)
- [Portainer Custom Templates API](https://apis.io/apis/portainer/portainer-custom-templates-api/)
- [Portainer Docker API](https://apis.io/apis/portainer/portainer-docker-api/)
- [Portainer Edge API](https://apis.io/apis/portainer/portainer-edge-api/)
- [Portainer Edge Groups API](https://apis.io/apis/portainer/portainer-edge-groups-api/)
- [Portainer Edge Jobs API](https://apis.io/apis/portainer/portainer-edge-jobs-api/)
- [Portainer Edge Stacks API](https://apis.io/apis/portainer/portainer-edge-stacks-api/)
- [Portainer Endpoint Groups API](https://apis.io/apis/portainer/portainer-endpoint-groups-api/)
- [Portainer Endpoints API](https://apis.io/apis/portainer/portainer-endpoints-api/)
- [Portainer Helm API](https://apis.io/apis/portainer/portainer-helm-api/)
- [Portainer Intel API](https://apis.io/apis/portainer/portainer-intel-api/)
- [Portainer Kubernetes API](https://apis.io/apis/portainer/portainer-kubernetes-api/)

## Tags

Authentication

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/portainer/portainer-auth-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/portainer/.
