# Afero Cloud Authentication API

**Canonical:** https://apis.io/apis/afero/authentication-api/  
**Provider:** Afero — https://apis.io/providers/afero/  
**Base URL:** https://api.afero.io  
**Documentation:** https://afero-docs.readthedocs.io/en/latest/API-OAuthEndpoints/

Afero Cloud Authentication API is one of 4 APIs that [Afero](https://apis.io/providers/afero/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Authentication and Security. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

The OAuth 2.0 token endpoint for the Afero Cloud. A partner authenticates with HTTP Basic using the OAuth Client ID and Client Secret issued in the Afero Profile Editor, posts the end-user credentials with grant_type=password, and receives a bearer access token (scope "partner account") that expires in approximately four hours and is sent on every subsequent Afero Cloud API request.

## Machine-readable artifacts (4)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/afero/refs/heads/main/openapi/afero-authentication-api-openapi.yml
- **Documentation** — https://afero-docs.readthedocs.io/en/latest/API-OAuthEndpoints/
- **Overlay** — https://raw.githubusercontent.com/api-evangelist/afero/refs/heads/main/overlays/afero-authentication-api-overlay.yaml
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/afero/refs/heads/main/apis.yml

## Other Afero APIs (3)

- [Afero Cloud Users API](https://apis.io/apis/afero/users-api/)
- [Afero Cloud Devices API](https://apis.io/apis/afero/devices-api/)
- [Afero Cloud OTA Firmware API](https://apis.io/apis/afero/ota-api/)

## Tags

Authentication, Security

---

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