# The MONA Group Auth API

**Canonical:** https://apis.io/apis/monacloud/monacloud-auth-api/  
**Provider:** The MONA Group — https://apis.io/providers/monacloud/  
**Base URL:** https://api.monacloud.vn  
**Documentation:** https://monacloud.vn/docs/api

The MONA Group Auth API is one of 9 APIs that [The MONA Group](https://apis.io/providers/monacloud/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 8 JSON Schema definitions. Tagged areas include Authentication. The published artifact set on APIs.io includes an OpenAPI specification and 8 JSON Schemas.

Đăng nhập, token và tài khoản.

## Operations (21)

| Method | Path | Summary |
|---|---|---|
| POST | `/api/auth/login` | Login with email and password for CLI/script usage |
| POST | `/api/auth/check-otp` | Non-consuming OTP precheck for the SPA's two-step register/reset flows |
| POST | `/api/auth/refresh` | Trade a valid access token for a fresh one with a new expiry |
| POST | `/api/auth/identify` | Identify an email and start registration OTP if needed |
| POST | `/api/auth/register/verify` | Verify registration OTP and create account |
| POST | `/api/auth/reset/start` | Send password reset OTP |
| POST | `/api/auth/reset/verify` | Verify reset OTP and change password |
| GET | `/api/auth/providers` | Which social-login providers are enabled |
| GET | `/api/me` | Get the current account |
| GET | `/api/me/referral` | Get the current user's referral code, link and stats |
| GET | `/api/me/affiliate` | Affiliate revenue-share summary |
| GET | `/api/me/affiliate/commissions` | List affiliate commissions |
| GET | `/api/me/affiliate/referrals` | List referred accounts |
| PUT | `/api/me/affiliate/settings` | Save affiliate payout settings |
| GET | `/api/me/affiliate/payouts` | List affiliate payouts |
| POST | `/api/me/affiliate/payouts` | Request an affiliate payout |
| POST | `/api/me/referral/claim` | Claim a referral code |
| GET | `/api/me/credit-grants` | Per-user audit trail of credit grants |
| POST | `/api/auth/logout` | Revoke the current account access token |
| POST | `/api/auth/stop-impersonation` | Revoke the current impersonation token and close the audit event |
| POST | `/api/auth/monaid/link/verify` | Monaid Link Verify |

## Machine-readable artifacts (9)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/monacloud/refs/heads/main/openapi/monacloud-auth-api-openapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/monacloud/refs/heads/main/json-schema/monacloud-service-response-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/monacloud/refs/heads/main/json-schema/monacloud-app-create-request-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/monacloud/refs/heads/main/json-schema/monacloud-lxc-create-request-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/monacloud/refs/heads/main/json-schema/monacloud-app-response-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/monacloud/refs/heads/main/json-schema/monacloud-job-response-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/monacloud/refs/heads/main/json-schema/monacloud-admin-plan-upsert-request-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/monacloud/refs/heads/main/json-schema/monacloud-domain-registrant-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/monacloud/refs/heads/main/json-schema/monacloud-domain-reserve-request-schema.json

## Other The MONA Group APIs (8)

- [The MONA Group Apps API](https://apis.io/apis/monacloud/monacloud-apps-api/)
- [The MONA Group Billing API](https://apis.io/apis/monacloud/monacloud-billing-api/)
- [The MONA Group Databases API](https://apis.io/apis/monacloud/monacloud-databases-api/)
- [The MONA Group Jobs API](https://apis.io/apis/monacloud/monacloud-jobs-api/)
- [The MONA Group Lxc API](https://apis.io/apis/monacloud/monacloud-lxc-api/)
- [The MONA Group Prices API](https://apis.io/apis/monacloud/monacloud-prices-api/)
- [The MONA Group Sandbox API](https://apis.io/apis/monacloud/monacloud-sandbox-api/)
- [The MONA Group Services API](https://apis.io/apis/monacloud/monacloud-services-api/)

## Tags

Authentication

---

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