Return the account settings snapshot used by the control panel: localization, security preferences, billing automation, invoice notification delivery, Peppol opt-out state, and generic dashboard/UI preference categories. For renewal invoice grouping, read billing.separateInvoices.enabled: false means consolidated…
Return the account settings snapshot used by the control panel: localization, security preferences, billing automation, invoice notification delivery, Peppol opt-out state, and generic dashboard/UI preference categories. For renewal invoice grouping, read billing.separateInvoices.enabled: false means consolidated monthly renewal invoices, while true means separate invoices per service or domain. For automatic card payments, read billing.cardAutoCharge.status and billing.cardAutoCharge.enabled; configured: true only means the preference is turned on, and enabled is false with status: "needs_payment_method" when no saved card exists. notifications.delivery.overrideEnabled: false means default delivery is used, so all supported categories are effectively enabled. To add invoice CC recipients before changing billing notification delivery, use GET/POST /api/v2/billing/payment-methods/contacts. To check Peppol eligibility, use GET /api/v2/me/preferences/peppol.
read:account
Use Authorization: Bearer <token> for API keys. Dashboard sessions may also use hostup_session.
Accept Example Content-Type Example localization object localization.languageCode string · enum required
· Example: en Preferred control-panel and email language.
sv en localization.timezone string required
· Example: Europe/Stockholm IANA timezone used for account-facing timestamps.
notifications object notifications.emailEnabled boolean required
· Example: true General email notification preference stored in account preferences.
notifications.smsEnabled boolean required
· Example: false General SMS notification preference stored in account preferences.
notifications.delivery null required security object security.bankIdOnlyLogin boolean required
· Example: false When true, password login is disabled and BankID is required for account login.
security.twoFactorEnabled boolean required
· Example: true Whether TOTP/MFA is enabled for the account.
billing object billing.peppol object required billing.peppol.optedOut boolean required
· Example: false Whether the account opted out of Peppol e-invoice delivery when eligible.
billing.peppol.optOutReason stringnull required
· Example: null Customer-facing opt-out reason when Peppol delivery is disabled by preference.
billing.peppol.optedOutAt stringnull required
· Example: null ISO timestamp for the Peppol opt-out preference, or null when not opted out.
billing.cardAutoCharge null required billing.separateInvoices null required categories object categories.general object required categories.ui object required categories.notifications object required categories.billing object required categories.dashboard object required type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object https://cloud.hostup.se/api/v2/me/preferences curl -X GET "https://cloud.hostup.se/api/v2/me/preferences" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" {
"localization": {
"languageCode": "en",
"timezone": "Europe/Stockholm"
},
"notifications": {
"emailEnabled": true,
"smsEnabled": false,
"delivery": {
"overrideEnabled": true,
"enabledEmails": [
"notify_billing",
"notify_support",
"notify_services",
"notify_domains"
],
"billing": {
"enabled": true,
"actions": {
"canToggle": {
"allowed": false,
"reason": "Add a billing notification recipient before changing billing email delivery."
}
}
}
}
},
"security": {
"bankIdOnlyLogin": false,
"twoFactorEnabled": true
},
"billing": {
"peppol": {
"optedOut": false,
"optOutReason": null,
"optedOutAt": null
},
"cardAutoCharge": {
"enabled": true,
"label": "Card auto-charge",
"description": "Automatically charge the saved card when invoices are due.",
"reason": null,
"actions": {
"canToggle": {
"allowed": true,
"reason": null
}
},
"method": "card",
"status": "active",
"configured": true,
"hasPaymentMethod": true
},
"separateInvoices": {
"enabled": false,
"label": "Separate service invoices",
"description": "Create separate invoices for services instead of grouping them together.",
"reason": null,
"actions": {
"canToggle": {
"allowed": true,
"reason": null
}
}
}
},
"categories": {
"general": {},
"ui": {},
"notifications": {},
"billing": {},
"dashboard": {}
}
}