Account
Plan and included features, API keys and account data export.
Plan and features
GET /account returns the features available to the page. For example, a script can check features.scheduling.included before setting dates on a block.
{
"account": {
"username": "camille",
"url": "https://hopla.page/camille",
"createdAt": "2026-10-20T09:12:00.000Z",
"plan": "pro",
"trial": null,
"subscription": { "plan": "pro", "status": "active", "period": "month", "periodEnd": "2026-11-20T09:12:00.000Z" },
"complimentaryPlan": null,
"features": {
"scheduling": { "included": true, "plan": "starter" },
"emailList": { "included": true, "plan": "pro" },
"api": { "included": true, "plan": "pro" }
},
"analyticsRetentionDays": 365
}
}| Field | Description |
|---|---|
plan | Effective plan, trial included: free, starter, pro or premium |
trial | End date of the Pro trial, or null |
subscription | Paid subscription: plan, status, billing period (month monthly, year yearly), end of the current period |
complimentaryPlan | Complimentary plan granted by Hopla, and its end date (null: no end date) |
features | Each gated feature: whether it is included (included), and the required plan (plan) |
analyticsRetentionDays | Analytics retention available, in days |
Plan changes, payment and cancellation are only available in the admin panel, never through the API.
API keys
GET /api-keys lists the account keys without exposing their secret: name, prefix, write access, last use. current marks the key used for the request.
{
"apiKeys": [
{ "id": "2916f190dae2", "name": "Claude Code", "prefix": "hopla_hT-a", "writeAccess": true, "createdAt": "2026-10-28T10:00:00.000Z", "lastUsedAt": "2026-10-28T21:40:00.000Z", "current": true }
]
}Keys are created and revoked in Réglages (Settings), API et MCP: a key cannot create another key. See Authentication.
Data export
GET /export returns all account data as JSON: account and plan, settings, blocks, views and clicks (without IP addresses), subscribers and keys (without their secret). It implements the GDPR right of access and contains the same data as "Exporter mes données" (Export my data) in Réglages, without image files (their URLs are included).
curl https://app.hopla.page/api/v2/export \
-H "Authorization: Bearer $HOPLA_API_KEY" -o hopla-export.json