GET /me
Returns your account and organization details.
curl -H "Authorization: Bearer YOUR_API_TOKEN" "https://www.20dragons.com/api/me"
{
"ok": true,
"user": { "...": "..." },
"organization": { "...": "..." }
}
GET /credits
Returns your credit balance and the credit packages available for purchase.
{
"ok": true,
"credit_balance": 0,
"packages": [ ]
}
GET /payments
Returns your payment history.
{
"ok": true,
"payments": [ ]
}
GET /platform-domains
Returns the platform domains available to you (domains not visible or not enabled for your account are excluded).
{
"ok": true,
"platform_domains": [ ]
}
GET /usage/free-subdomains
Returns your free-subdomain usage and quota.
{
"ok": true,
"usage": { }
}
Note
The exact fields inside user, organization, each package, each payment, each platform domain, and usage were not enumerated in this pass. The wrapper shape above (ok, and the named top-level field) is verified; the inner object contents will be filled in once confirmed.