This page is generated from the page contract in the panel (php spark docs:portal-themes), so it always matches
what templates receive. Read the portal themes guide first.
Current contract version: 1 (set "api": 1 in theme.json).
Contract fingerprint: 750cb8e9ac3eb51f8ca09ce4c9446865c396470749b72385ed292a14f50359fd
A contract version stays supported for at least 12 months after its successor ships. Supported versions:
Version Supported until 1 open-ended
Every themed template receives these variables (on sign-in pages user and frame are null).
Variable Type Null Description brandobject no The brand shown to customers. brand.namestring no Brand name. brand.logo_urlurl yes Logo for light backgrounds. brand.logo_dark_urlurl yes Logo for dark backgrounds. brand.favicon_urlurl no Favicon. brand.colorsmap no Theme colours by name (CSS colour values). brand.powered_bybool no Show “Powered by NexoVirt”. userobject yes The signed-in customer (null on sign-in pages). user.usernamestring no Username. user.emailstring no Email address. flashobject no Messages from the previous request. flash.messagestring yes Success message. flash.successstring yes A second success message, set only when message holds another one. flash.errorstring yes Error message. flash.warningstring yes Warning message. flash.infostring yes Info message. featuresmap no Portal features switched on for this customer (key => bool). canmap no Actions this page allows (key => bool). frameobject yes Navigation and frame data (null on sign-in pages). frame.navlist no Sidebar entries in display order, only what this customer may use. frame.nav[].keystring no Entry key. frame.nav[].labelstring no Entry label. frame.nav[].urlurl no Link target. frame.nav[].activebool no The current page belongs to this entry. frame.nav[].badgeint yes Unread count (Notices), null for none. frame.nav[].childrenlist no Sub entries (service sections), empty for none. frame.nav[].children[].keystring no Entry key. frame.nav[].children[].labelstring no Entry label. frame.nav[].children[].urlurl no Link target. frame.nav[].children[].activebool no The current page is this entry. frame.impersonatingbool no An admin views the portal as this customer. frame.return_to_admin_urlurl yes Link (GET) to the page where the admin returns to the admin area, null unless impersonating. frame.balancestring yes Formatted balance, null when the shop is off. frame.status_noticeslist no Open incidents and maintenance. frame.status_notices[].titlestring no Notice title. frame.status_notices[].urlurl no Status page. frame.status_notices[].dangerbool no An incident (else maintenance). frame.customer_noticeslist no Banners from the provider. frame.customer_notices[].idint no Notice id. frame.customer_notices[].titlestring no Title. frame.customer_notices[].body_htmlhtml no Body (already escaped HTML). frame.customer_notices[].levelstring no info, warning or danger. frame.customer_notices[].dismissiblebool no May be dismissed. frame.customer_notices[].dismiss_urlurl yes POST here (with csrf_field()) to dismiss. frame.footer_htmlhtml no Footer text set by the provider. frame.powered_bybool no Show “Powered by NexoVirt”. frame.legal_linkslist no Links to the legal texts in use. frame.legal_links[].labelstring no Link text. frame.legal_links[].urlurl no Link target. frame.logout_urlurl no POST here (with csrf_field()) to sign out. themeobject no The active theme. theme.namestring no Theme name. theme.versionstring no Theme version. pageobject no The current page. page.keystring no Page key. page.titlestring no Page title. page.pretitlestring no Small text above the title.
Example:
"name" : " Example Hosting " ,
"favicon_url" : " /favicon.svg " ,
"url" : " /portal/servers " ,
"label" : " My web hosting " ,
"url" : " /portal/hosting " ,
"return_to_admin_url" : null ,
"body_html" : " <p>Text</p> " ,
"url" : " https://example.com/terms "
Helper What it does date(value)Twig’s date function. max(a, b, ...)Twig’s max function. min(a, b, ...)Twig’s min function. url(name, params)Link to a contract route (see the route list below), e.g. url(‘server’, {host: 1, type: ‘qemu’, vmid: 100}). An unknown name or a missing parameter is an error. asset(path)URL of a file below the theme’s assets/ folder, cache-busted by its content hash, e.g. asset(‘css/site.css’). csrf_field()The hidden CSRF input. Every form that posts needs it. t(text)Returns the text unchanged (reserved for translations). money(cents)Formats an amount in cents in the shop currency. feature(key)True when the portal feature is on for this customer (same as features[key]). can(action)True when the page allows the action (same as can[action], see each page). parent()Inside a block of a template that extends another: the parent block’s content.
Call each with nx.<name>(). NexoVirt places the real markup after rendering.
Block Content nx.signin_form()Sign-in form: username or email, password, captcha, passkey button, SSO button. nx.two_factor_form()Second step of the sign-in: one code field (authenticator or recovery code) and the passkey button. nx.register_form()Sign-up form with the fields of the chosen account type, captcha and terms. nx.register_confirm_form()Code field to confirm a sign-up (empty when the sign-up is confirmed by link). nx.forgot_form()Email field to request a password reset link. nx.reset_form()New password fields of a password reset. nx.reinstall_form()Reinstall of a server: operating system, SSH keys, new root password, DNS resolvers, and the one-click same-OS reinstall (virtual machines). Empty when the reinstall feature is off. nx.root_password_form()Reset of the root password of a server. Empty when the root password feature is off. nx.setup_form()Setup of a server that waits for the customer: operating system, hostname, root password, SSH keys (with a key pair generator), DNS resolvers and swap (containers). Posts to the setup route; the server is built right after. nx.server_create_form()Create a server from the resource pack: name, type, CPU, memory, disk, operating system or container template, root password and SSH keys, with the budget left after this server. Empty while the page has a blocker. nx.password_form()Change of the account password: current password, new password twice. Disabled while an admin views the account. nx.two_factor_setup()Two-factor sign-in with an authenticator app: set up (QR code and key, shown only inside the block), confirm, disable, new recovery codes (shown once). nx.passkeys()Passkeys of the account: add (asks for the current password), remove, new recovery codes. Locked while an admin views the account. nx.api_keys()Customer API keys: list, create (name, expiry, allowed IPs, read only, current password; the key is shown once) and revoke. Empty when the API is off for the account. nx.vpn_devices()WireGuard devices: list with status, add a device (to the customer’s servers or SDN projects), new config, revoke. The config and its QR code are shown once inside the block. nx.remote_password_form()nx.ai_key()nx.order_form()The order of a shop product: notices (sold out, balance too low, free product), game choice of a game server, operating system tiles, location, server name, root password, SSH keys, add-ons, billing (balance, automatic payment, hourly), the price summary that follows the choices, coupon, the consent checkboxes of the shop’s legal texts and the pay buttons. Posts to shop_place, or to shop_checkout for a card or PayPal payment. nx.api_token_form()Reseller API token create form (name, allowed IPs, rate limit). The new token is shown once in NexoVirt’s dialog, never to the theme.
NexoVirt adds nexovirt-portal.js and nexovirt-portal.css to every themed portal page except the sign-in pages,
also while theme scripts are off. Widgets are configured only with data-* attributes on an element with
data-nx-widget="<name>"; every address must be a portal address of this panel. Widgets only read on their own;
they send a change only after a click or a submit. Theme scripts can use the same functions on window.NexoPortal:
Security: a theme script runs with the signed-in customer’s session and can do anything that customer can do in
the portal. Upload only scripts you wrote or trust. NexoVirt never loads theme scripts on the sign-in pages, on the
pages marked “Theme JavaScript: never runs on this page” below (account security and VPN), while an admin views the portal as a
customer or previews a theme, or for reseller themes. New API keys and VPN configs always need the current password.
Function What it does get(url)GET a JSON endpoint. Resolves with the answer, rejects with {status, error}. post(url, data)POST an object or FormData with the CSRF token. Same answer as get. poll(url, ms, onData)Calls onData(answer) every ms (at least 2000), paused while the tab is hidden, slower after errors (up to 60 s). Returns {stop()}. toast(msg, type), confirm(msg, opts), prompt(msg, opts)Messages and dialogs (type info, success, warning, error). register(name, fn), mount(root)Add an own widget, set up widgets in new markup. allowedUrl(url)The absolute address when a widget may use it, else null.
Events (bubbling, on the widget element): nx:status, nx:done, nx:error, nx:reloaded.
At most 8 live parts (polls) run on one page; a widget past that limit gets the state error and an nx:error
saying the page shows too many live parts. Widgets on the same address and interval share one poll.
Widget Attributes What it does statusdata-nx-src (status URL), data-nx-interval (ms, at least 2000) Polls the server status. Sets data-nx-state on the element (running, stopped, …) and fills descendants with data-nx-field=“status”, “uptime” or “ip”. Fires nx:status with status, uptime and ip. tabledata-nx-src (leave it out for a table filled by a form), data-nx-rows (dot path, default rows; one object counts as one row), data-nx-columns (“key:Label:type,key2:Label 2”, type datetime, bytes or badge), data-nx-row-action-N (“label|url template|confirm text”), data-nx-row-body-N (“field,post:rowfield”), data-nx-row-if-N (“field” or “!field”), data-nx-row-kind-N (post, link, fill, edit or note), data-nx-row-form-N (form selector for kinds fill and edit), data-nx-reload, data-nx-empty Loads rows from a JSON endpoint and renders a table with class nx-table (cells are plain text; bytes as 1.5 KiB, a Unix time as a date, badge cells carry data-nx-badge with the value). Row buttons post to the URL template ({field} filled from the row, URL-encoded) with the listed row fields (post:rowfield renames one), after the confirm text if given, then reload the table and the widgets in data-nx-reload. Kind link renders a plain link instead, kind fill puts the row fields (and the action from the URL template) into the form of data-nx-row-form-N and sends it (after its confirm text, if given), kind edit does the same without sending (the form is shown and focused, the customer sends it), kind note shows the label as plain text (span.nx-row-note, for example “Locked”). data-nx-row-if-N shows the action only for rows where the field is set (or, with !, not set). Fires nx:reloaded, nx:done, nx:error. formon a form: action, data-nx-confirm, data-nx-reload (CSS selector of widgets to reload), data-nx-reload-repeat (0 to 5 more reloads every 4 seconds), data-nx-redirect, data-nx-fill (CSS selector of table widgets) Sends the form with fetch when the customer submits it (never on its own) and shows the answer as a message. With data-nx-redirect it follows the url of the answer (portal addresses only). With data-nx-fill the answer goes to those tables instead (their data-nx-rows picks the rows; each row also gets the form fields as row.form), for listings that are a POST. data-nx-reload-repeat reloads again a few times, for work that finishes in the background (a new snapshot shows once its task is done). Fires nx:done, nx:error. copydata-nx-copy (text) Copies the text to the clipboard on click. powerdata-nx-src (power URL), data-nx-status (status URL), data-nx-cycle (power-cycle URL, optional), data-nx-locked=“1”; buttons inside with data-nx-power=“start|shutdown|reboot|stop|cycle” and an optional data-nx-confirm Turns the buttons on and off for the live status (running: Start off; stopped: Shutdown, Reboot, Stop and Cycle off; provisioning, locked or unknown: all off; during a transition only Stop stays on). A click (after a confirm for Stop and Cycle; the buttons are off while the confirm is open) sends the action; the element carries class nx-busy until the status changes or 2 minutes pass. Fires nx:done, nx:error. chartsdata-nx-src (metrics URL), data-nx-metric (cpu, mem, disk or net), data-nx-interval (ms, at least 2000) Draws the last 30 minutes as a plain SVG (svg.nx-chart, viewBox 0 0 300 100, a path.nx-chart-line, for net path.nx-chart-in and path.nx-chart-out) and writes the latest value into a descendant with data-nx-field=“value” (a percentage, for net the in and out rate). Charts on the same URL share one poll. Fires nx:error. provisioningdata-nx-src (job state URL), data-nx-status (server status URL), data-nx-done (page to open when ready), data-nx-kind (setup or reinstall, the wording of the failure message), data-nx-interval (ms, at least 2000) Follows a create or reinstall. Sets data-nx-state (active, done, failed) and fills a descendant with data-nx-field=“state”; a progress element inside gets the finished steps when the endpoint reports steps. When the job is done it waits until the server status is no longer provisioning, then opens data-nx-done (portal addresses only). On a failure it writes a short message into data-nx-field=“error” and fires nx:error; reloading the page shows the details. Fires nx:done before it opens the page. checkoutdata-nx-src (checkout status URL), data-nx-interval (ms, at least 2000) Follows a payment on the checkout page. Sets data-nx-state to the payment status and fills a descendant with data-nx-field=“message”. When the state is final it fires nx:done and, after a completed payment, opens the next page (portal addresses only); otherwise the message stays. consoleon a button: data-nx-src (console URL), data-nx-title (dialog title, optional) On click opens the server console in a full-screen dialog.nx-console (close button, Ctrl+Alt+Del for graphical consoles). The terminal or graphical console code is only loaded then. Fires nx:done when closed, nx:error.
Anything not listed is refused when the theme is uploaded.
Tags: apply, block, embed, extends, for, from, if, import, include, macro, set, with, verbatim
Filters: abs, batch, capitalize, column, date, default, e, escape, filter, first, format, join, json_encode, keys, last, length, lower, map, merge, nl2br, number_format, replace, reverse, round, slice, sort, split, striptags, title, trim, upper, url_encode
Functions: date, max, min, url, asset, csrf_field, t, money, feature, can, parent
Methods: only the fixed blocks on nx.
Names for url() and the form targets of the actions below.
Name Path dashboard/portal servers/portal/servers server/portal/hosts/{host}/guests/{type}/{vmid} services/portal/services hosting/portal/hosting games/portal/games service/portal/services/{id} service_auto_renew/portal/services/{id}/auto-renew service_renew/portal/services/{id}/renew service_plan/portal/services/{id}/plan service_addons/portal/services/{id}/addons service_addon_remove/portal/services/{id}/addons/{addon}/remove service_cancel/portal/services/{id}/cancel service_cancel_withdraw/portal/services/{id}/cancel/withdraw service_usage_confirm/portal/services/{id}/usage-confirm service_subscription_cancel/portal/services/{id}/subscription/cancel service_open/portal/services/{id}/open service_password/portal/services/{id}/password service_game/portal/services/{id}/game shop/portal/shop shop_category/portal/shop/c/{slug} shop_section/portal/shop/{section} shop_order/portal/shop/{id} shop_place/portal/shop/{id}/order shop_checkout/portal/shop/{id}/checkout balance/portal/balance balance_topup/portal/balance/topup checkout/portal/checkout/{id} checkout_status/portal/checkout/{id}/status invoice_pdf/portal/invoices/{id}/pdf tickets/portal/tickets ticket/portal/tickets/{number} ticket_reply/portal/tickets/{number}/reply ticket_close/portal/tickets/{number}/close ticket_attachment/portal/tickets/{number}/attachments/{id} help/portal/help notices/portal/notices notice_dismiss/portal/notices/{id}/dismiss ssh_keys/portal/ssh-keys ssh_key_delete/portal/ssh-keys/{id}/delete status/portal/status security/portal/security account/portal/account session_sign_out/portal/security/sessions/{id}/delete sessions_others/portal/security/sessions/others api/portal/api vpn/portal/vpn ips/portal/ips ips_data/portal/ips/data ip_assign/portal/ips/{id}/assign ip_unassign/portal/ips/{id}/unassign logout/logout return_to_admin/portal/impersonation/return login/portal/login reseller_login/reseller/login two_factor/login/2fa register/register register_inbox/register/inbox register_resend/register/resend forgot_password/forgot-password server_status/portal/hosts/{host}/guests/{type}/{vmid}/status server_metrics/portal/hosts/{host}/guests/{type}/{vmid}/metrics server_storage/portal/hosts/{host}/guests/{type}/{vmid}/storage server_spec/portal/hosts/{host}/guests/{type}/{vmid}/spec server_traffic/portal/hosts/{host}/guests/{type}/{vmid}/traffic server_power/portal/hosts/{host}/guests/{type}/{vmid}/power server_power_cycle/portal/hosts/{host}/guests/{type}/{vmid}/power-cycle server_hardware_pending/portal/hosts/{host}/guests/{type}/{vmid}/hardware-pending server_console/portal/hosts/{host}/guests/{type}/{vmid}/console server_provision_status/portal/hosts/{host}/guests/{type}/{vmid}/provision/status server_provision_retry/portal/hosts/{host}/guests/{type}/{vmid}/provision/retry server_app_retry/portal/hosts/{host}/guests/{type}/{vmid}/app/retry server_setup/portal/hosts/{host}/guests/{type}/{vmid}/setup server_reinstall_options/portal/hosts/{host}/guests/{type}/{vmid}/reinstall-options server_reinstall_same/portal/hosts/{host}/guests/{type}/{vmid}/reinstall-same server_reinstall/portal/hosts/{host}/guests/{type}/{vmid}/reinstall server_password/portal/hosts/{host}/guests/{type}/{vmid}/password server_ssh_keys/portal/hosts/{host}/guests/{type}/{vmid}/ssh-keys server_ssh_keys_data/portal/hosts/{host}/guests/{type}/{vmid}/ssh-keys/data server_ssh_key_remove/portal/hosts/{host}/guests/{type}/{vmid}/ssh-keys/remove server_snapshots/portal/hosts/{host}/guests/{type}/{vmid}/snapshots/data server_snapshot_create/portal/hosts/{host}/guests/{type}/{vmid}/snapshots/create server_snapshot_rollback/portal/hosts/{host}/guests/{type}/{vmid}/snapshots/rollback server_snapshot_delete/portal/hosts/{host}/guests/{type}/{vmid}/snapshots/delete server_firewall/portal/hosts/{host}/guests/{type}/{vmid}/firewall/data server_firewall_presets/portal/hosts/{host}/guests/{type}/{vmid}/firewall/presets server_firewall_apply_preset/portal/hosts/{host}/guests/{type}/{vmid}/firewall/apply-preset server_firewall_rule_add/portal/hosts/{host}/guests/{type}/{vmid}/firewall/rules server_firewall_rule/portal/hosts/{host}/guests/{type}/{vmid}/firewall/rules/{rule} server_firewall_rule_delete/portal/hosts/{host}/guests/{type}/{vmid}/firewall/rules/{rule}/delete server_backups/portal/hosts/{host}/guests/{type}/{vmid}/backups server_backup_restore/portal/hosts/{host}/guests/{type}/{vmid}/backups/{backup}/restore server_backup_delete/portal/hosts/{host}/guests/{type}/{vmid}/backups/{backup}/delete server_scheduled_restore/portal/hosts/{host}/guests/{type}/{vmid}/backups/scheduled/{backup}/restore server_scheduled_files/portal/hosts/{host}/guests/{type}/{vmid}/backups/scheduled/{backup}/files server_scheduled_download/portal/hosts/{host}/guests/{type}/{vmid}/backups/scheduled/{backup}/download server_iso/portal/hosts/{host}/guests/{type}/{vmid}/iso server_iso_eject/portal/hosts/{host}/guests/{type}/{vmid}/iso/eject server_boot/portal/hosts/{host}/guests/{type}/{vmid}/boot server_boot_order/portal/hosts/{host}/guests/{type}/{vmid}/boot/order server_boot_firmware/portal/hosts/{host}/guests/{type}/{vmid}/boot/firmware server_rescue/portal/hosts/{host}/guests/{type}/{vmid}/rescue server_rescue_end/portal/hosts/{host}/guests/{type}/{vmid}/rescue/end server_shares/portal/hosts/{host}/guests/{type}/{vmid}/shares server_share_delete/portal/hosts/{host}/guests/{type}/{vmid}/shares/{share}/delete server_rdns/portal/hosts/{host}/guests/{type}/{vmid}/rdns server_forwards/portal/hosts/{host}/guests/{type}/{vmid}/forwards server_forward_delete/portal/hosts/{host}/guests/{type}/{vmid}/forwards/{forward}/delete server_domains/portal/hosts/{host}/guests/{type}/{vmid}/domains server_domain_check/portal/hosts/{host}/guests/{type}/{vmid}/domains/{domain}/check server_domain_delete/portal/hosts/{host}/guests/{type}/{vmid}/domains/{domain}/delete server_delete/portal/hosts/{host}/guests/{type}/{vmid}/delete server_shop_auto_renew/portal/hosts/{host}/guests/{type}/{vmid}/shop/auto-renew server_shop_renew/portal/hosts/{host}/guests/{type}/{vmid}/shop/renew server_shop_cancel/portal/hosts/{host}/guests/{type}/{vmid}/shop/cancel server_shop_cancel_withdraw/portal/hosts/{host}/guests/{type}/{vmid}/shop/cancel/withdraw server_shop_usage_confirm/portal/hosts/{host}/guests/{type}/{vmid}/shop/usage-confirm server_shop_switch_monthly/portal/hosts/{host}/guests/{type}/{vmid}/shop/switch-monthly server_shop_upgrade/portal/hosts/{host}/guests/{type}/{vmid}/shop/upgrade server_shop_plan_change/portal/hosts/{host}/guests/{type}/{vmid}/shop/plan-change server_shop_plan_change_cancel/portal/hosts/{host}/guests/{type}/{vmid}/shop/plan-change/cancel server_shop_delete/portal/hosts/{host}/guests/{type}/{vmid}/shop/delete server_shop_extras/portal/hosts/{host}/guests/{type}/{vmid}/shop/extras server_shop_extra_remove/portal/hosts/{host}/guests/{type}/{vmid}/shop/extras/{extra}/remove server_shop_checkout/portal/hosts/{host}/guests/{type}/{vmid}/shop/checkout server_shop_subscription_cancel/portal/hosts/{host}/guests/{type}/{vmid}/shop/subscription/cancel share_leave/portal/shares/{share}/leave share_accept/portal/shares/accept/{token} servers_new/portal/servers/new servers_create/portal/servers/create reseller_dashboard/reseller reseller_customers/reseller/customers reseller_customer_create/reseller/customers/create reseller_customer_update/reseller/customers/{id}/update reseller_customer_reset_password/reseller/customers/{id}/reset-password reseller_customer_delete/reseller/customers/{id}/delete reseller_customer_portal/reseller/customers/{id}/portal reseller_customer_ssh_keys/reseller/customers/{id}/ssh-keys reseller_customer_ssh_key_delete/reseller/customers/{id}/ssh-keys/{key}/delete reseller_groups/reseller/customers/groups reseller_group_new/reseller/customers/groups/new reseller_group_default/reseller/customers/groups/{id}/default reseller_group_delete/reseller/customers/groups/{id}/delete reseller_guests/reseller/guests reseller_guest/reseller/guests/{host}/{type}/{vmid} reseller_guests_data/reseller/guests/data reseller_guest_owners/reseller/guests/owners reseller_guest_new/reseller/guests/new reseller_guest_status/reseller/guests/{host}/{type}/{vmid}/status reseller_guest_metrics/reseller/guests/{host}/{type}/{vmid}/metrics reseller_guest_spec/reseller/guests/{host}/{type}/{vmid}/spec reseller_guest_console/reseller/guests/{host}/{type}/{vmid}/console reseller_guest_power/reseller/guests/{host}/{type}/{vmid}/power reseller_guest_password/reseller/guests/{host}/{type}/{vmid}/password reseller_guest_reinstall_options/reseller/guests/{host}/{type}/{vmid}/reinstall-options reseller_guest_reinstall_same/reseller/guests/{host}/{type}/{vmid}/reinstall-same reseller_guest_reinstall/reseller/guests/{host}/{type}/{vmid}/reinstall reseller_guest_limits/reseller/guests/{host}/{type}/{vmid}/limits reseller_guest_ip/reseller/guests/{host}/{type}/{vmid}/ip reseller_guest_notes/reseller/guests/{host}/{type}/{vmid}/notes reseller_guest_delete/reseller/guests/{host}/{type}/{vmid}/delete reseller_guest_migrate_options/reseller/guests/{host}/{type}/{vmid}/migrate/options reseller_guest_migrate/reseller/guests/{host}/{type}/{vmid}/migrate reseller_guest_snapshots/reseller/guests/{host}/{type}/{vmid}/snapshots/data reseller_guest_snapshot_create/reseller/guests/{host}/{type}/{vmid}/snapshots/create reseller_guest_snapshot_rollback/reseller/guests/{host}/{type}/{vmid}/snapshots/rollback reseller_guest_snapshot_delete/reseller/guests/{host}/{type}/{vmid}/snapshots/delete reseller_guest_firewall/reseller/guests/{host}/{type}/{vmid}/firewall/data reseller_guest_firewall_presets/reseller/guests/{host}/{type}/{vmid}/firewall/presets reseller_guest_firewall_apply_preset/reseller/guests/{host}/{type}/{vmid}/firewall/apply-preset reseller_guest_firewall_rule_add/reseller/guests/{host}/{type}/{vmid}/firewall/rules reseller_guest_firewall_rule/reseller/guests/{host}/{type}/{vmid}/firewall/rules/{rule} reseller_guest_firewall_rule_delete/reseller/guests/{host}/{type}/{vmid}/firewall/rules/{rule}/delete reseller_guest_provision_retry/reseller/guests/{host}/{type}/{vmid}/provision/retry reseller_products/reseller/products reseller_plans/reseller/plans reseller_categories/reseller/products/categories reseller_plans_data/reseller/plans/data reseller_plan_new/reseller/plans/new reseller_product_new/reseller/products/new reseller_plan_shop/reseller/plans/{id}/shop reseller_plan_delete/reseller/plans/{id}/delete reseller_plan_restore/reseller/plans/{id}/restore reseller_extra_delete/reseller/plans/extras/{id}/delete reseller_category_new/reseller/products/categories/new reseller_category_edit/reseller/products/categories/{id}/edit reseller_category_delete/reseller/products/categories/{id}/delete reseller_ip_pools/reseller/ip-pools reseller_ip_pool_data/reseller/ip-pools/{id}/data reseller_api_tokens/reseller/api-tokens reseller_api_token_revoke/reseller/api-tokens/{id}/revoke reseller_tickets/reseller/support/tickets reseller_ticket/reseller/support/tickets/{id} reseller_faq/reseller/support/faq reseller_orders/reseller/orders reseller_order/reseller/orders/{id} reseller_notices/reseller/notices reseller_tickets_data/reseller/support/tickets/data reseller_ticket_reply/reseller/support/tickets/{id}/reply reseller_ticket_status/reseller/support/tickets/{id}/status reseller_ticket_attachment/reseller/support/tickets/{id}/attachments/{aid} reseller_topic_save/reseller/support/topics reseller_topic_delete/reseller/support/topics/{id}/delete reseller_faq_save/reseller/support/faq reseller_faq_delete/reseller/support/faq/{id}/delete reseller_orders_data/reseller/orders/data reseller_order_provision/reseller/orders/{id}/provision reseller_order_reject/reseller/orders/{id}/reject reseller_notice_new/reseller/notices/new reseller_notice_edit/reseller/notices/{id} reseller_notice_delete/reseller/notices/{id}/delete reseller_security/reseller/security reseller_session_sign_out/reseller/security/sessions/{id}/delete reseller_sessions_others/reseller/security/sessions/others reseller_branding/reseller/branding reseller_legal/reseller/legal reseller_themes/reseller/themes
These editors are not themable in this contract version: they always use the NexoVirt design, also
while a theme is active. Link to them from your templates as usual.
Page Area Path Product form reseller portal /reseller/products/newSize template form reseller portal /reseller/plans/newCategory form reseller portal /reseller/products/categories/newCreate server reseller portal /reseller/guests/newCustomer group form reseller portal /reseller/customers/groups/newNotice form reseller portal /reseller/notices/newBranding reseller portal /reseller/brandingLegal texts reseller portal /reseller/legalThemes reseller portal /reseller/themes
Reference of the customer API. A key is created on the security page (nx.api_keys()) and sent as “Authorization: Bearer <key>”. Answers are {“success”, “data”, “error”}; status codes 401 (bad key), 403 (feature off, address or read-only key), 404 (not your server), 409 (locked or busy), 422 (refused), 429 (rate limit).
Title: Customer API
Area: customer portal
Template: templates/api.twig (api.twig)
URL: /portal/api
Variable Type Null Description base_urlurl no Base URL of the API (no trailing slash). rate_limitint no Requests per minute and key. endpointslist no Endpoints, path relative to base_url. endpoints[].methodstring no GET or POST. endpoints[].pathstring no Path below base_url. endpoints[].descstring no What it does. endpoints[].rolestring no Share role a shared server needs: view or manage.
"base_url" : " https://panel.example.com/api/portal/v1 " ,
Asks for the account email. Place {{ nx.forgot_form() }} exactly once.
Title: Forgot password
Area: customer portal
Template: templates/auth/forgot_password.twig (auth/forgot_password.twig)
URL: /forgot-password
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.forgot_form()
Variable Type Null Description titlestring no Page title. login_urlurl no Sign-in page.
"title" : " Forgot password " ,
"login_url" : " /portal/login "
The customer sign-in page. Place {{ nx.signin_form() }} exactly once: it holds the fields, CSRF, captcha and the passkey button.
Title: Sign in
Area: customer portal
Template: templates/auth/login.twig (auth/login.twig)
URL: /portal/login
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.signin_form()
Variable Type Null Description noticestring yes A notice for this visit (e.g. “Please sign in here.” after a move from another domain), null for none. ssoobject no Single sign-on. sso.onbool no SSO sign-in is offered. sso.enforcedbool no Only SSO: the sign-in block then shows just the SSO button. sso.urlurl yes Link (GET) that starts the SSO sign-in, null when off. register_urlurl yes Sign-up page, null when sign-up is off. forgot_urlurl no Forgot-password page.
"forgot_url" : " /forgot-password "
The sign-up page. Place {{ nx.register_form() }} exactly once: it holds the fields, account types, terms and captcha.
Title: Create an account
Area: customer portal
Template: templates/auth/register.twig (auth/register.twig)
URL: /register
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.register_form()
Variable Type Null Description fieldsmap no Profile fields of the picked account type: name => off, optional or required. groupslist no Account types to choose from (empty when there is no choice). groups[].idint no Account type id. groups[].labelstring no Label. groups[].urlurl no The sign-up page for this type. groups[].activebool no The type shown now. login_urlurl no Sign-in page.
"url" : " /register?type=1 " ,
"login_url" : " /portal/login "
The page behind the sign-up email link. Place {{ nx.register_confirm_form() }} exactly once (the sign-up password).
Title: Confirm your email
Area: customer portal
Template: templates/auth/register_confirm.twig (auth/register_confirm.twig)
URL: none (opened from a link in an email)
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.register_confirm_form()
Variable Type Null Description titlestring no Page title.
"title" : " Confirm your email "
Shown after the email is confirmed while the account still waits for approval.
Title: Email confirmed
Area: customer portal
Template: templates/auth/register_done.twig (auth/register_done.twig)
URL: none (opened from a link in an email)
Theme JavaScript: never runs on this page
Variable Type Null Description titlestring no Page title. login_urlurl no Sign-in page.
"title" : " Email confirmed " ,
"login_url" : " /portal/login "
Shown after a sign-up. Place {{ nx.register_confirm_form() }} exactly once: the code field with code confirmation, empty with link confirmation.
Title: Check your inbox
Area: customer portal
Template: templates/auth/register_inbox.twig (auth/register_inbox.twig)
URL: /register/inbox
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.register_confirm_form()
Variable Type Null Description titlestring no Page title. verifystring no link (the email holds a link) or code (a 6-digit code, valid 30 minutes). resend_urlurl no POST here (with csrf_field()) to send the email again. login_urlurl no Sign-in page.
Action Method Target Fields Errors resendPOST /register/resend none none
"title" : " Check your inbox " ,
"resend_url" : " /register/resend " ,
"login_url" : " /portal/login "
The page behind the reset email link. Place {{ nx.reset_form() }} exactly once.
Title: Choose a new password
Area: customer portal
Template: templates/auth/reset_password.twig (auth/reset_password.twig)
URL: none (opened from a link in an email)
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.reset_form()
Variable Type Null Description titlestring no Page title.
"title" : " Choose a new password "
The second sign-in step. Place {{ nx.two_factor_form() }} exactly once.
Title: Two-factor authentication
Area: customer portal
Template: templates/auth/two_factor.twig (auth/two_factor.twig)
URL: /login/2fa
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.two_factor_form()
Variable Type Null Description show_codebool no The account uses an authenticator app (else only a recovery code or a passkey). show_passkeybool no The account has a passkey (the block shows its button when the browser supports it).
The customer’s balance, how to top it up and the invoices (PDF).
Title: Balance
Area: customer portal
Template: templates/balance.twig (balance.twig)
URL: /portal/balance
Variable Type Null Description balancemoney no Current balance (formatted). topupobject no Top-up limits. topup.minstring no Minimum amount as a decimal for the form (min attribute). topup.maxstring no Maximum amount as a decimal for the form (max attribute). topup.min_labelmoney no Minimum, formatted. topup.max_labelmoney no Maximum, formatted. gatewayslist no Payment providers; empty = no top-up form. gateways[].keystring no Value of the gateway field. gateways[].labelstring no Provider name. invoiceslist no Invoices, newest first (last 100). invoices[].numberstring no Invoice number. invoices[].datedatetime yes Issue date. invoices[].totalmoney no Gross total (formatted). invoices[].pdf_urlurl no Download link (GET).
Action Method Target Fields Errors topupPOST /portal/balance/topup amount: Amount as a decimal. gateway: A gateway key from gateways.The minimum top-up is X.
"max_label" : " 500.00 EUR "
"date" : " 2026-11-10 10:00:00 " ,
"pdf_url" : " /portal/invoices/1/pdf "
Where the payment page sends the customer back. While the payment is being confirmed, put the checkout widget on it: it updates the message and opens next_url when the payment went through.
Title: Payment
Area: customer portal
Template: templates/checkout.twig (checkout.twig)
URL: /portal/checkout/{id}
Widgets: checkout
Variable Type Null Description statusstring no open, paid (being set up), completed, failed, expired or canceled. messagestring no What happened, for the customer. amountmoney no Amount of this payment (formatted). gatewaystring no Name of the payment provider. donebool no The state is final (no longer open or being set up). next_urlurl yes Page to open after a completed payment (the server, the balance), null otherwise. status_urlurl no Status endpoint (data-nx-src of the checkout widget).
"message" : " Waiting for the payment to be confirmed. " ,
"status_url" : " /portal/checkout/7/status "
The customer’s start page: counters, the next payment, recent activity, provider news and a short server list.
Title: Dashboard
Area: customer portal
Template: templates/dashboard.twig (dashboard.twig)
URL: /portal
Variable Type Null Description serverslist no The first 5 servers. servers[].namestring no Server name. servers[].urlurl no The server page. servers[].statusstring no running, stopped, provisioning, suspended … servers[].vmidint no Server id. servers[].ipstring no Main IP address, “Internal network (no public IP)” for servers without a public IP, empty when unknown. servers[].osobject no Operating system. servers[].os.namestring no OS name. servers[].os.logo_urlurl yes OS logo, null when none. servers[].coresint no vCPU cores. servers[].memory_mbint no Memory in MB. servers[].disk_gbint no Boot disk size in GB. servers[].nodestring yes Node name, null unless the provider shows node names. servers[].sharedbool no Shared with the customer by another customer. servers[].share_rolestring yes manage or view for shared servers, null for own ones. servers[].expires_atdatetime yes Paid until (shop servers), else null. servers[].days_leftint yes Days until the paid date (shop servers), else null. server_totalint no Number of servers (own and shared). runningint no Running servers plus active services. servers_runningint no Running servers only (own and shared, no services). next_dueobject yes The next paid date of a shop server, null when none or the shop is off. next_due.namestring no Server name. next_due.datedatetime no Paid until. next_due.amountmoney yes Renewal price, null when the server is cancelled. due_within_14_daysmoney yes Renewals due in the next 14 days, null without paid servers. balancemoney yes Account balance, null when the shop is off. open_ticketsint yes Open support tickets, null when tickets are off. activitylist no Recent events, newest first. activity[].textstring no What happened. activity[].atdatetime no When. activity[].urlurl yes Link, null when none. status_newslist no Provider announcements (status page). status_news[].titlestring no Title. status_news[].atdatetime no Start. nodeslist no Public node status (status page), empty when off. nodes[].namestring no Public node name. nodes[].statestring no operational, maintenance or outage. notestring no Note from the provider to this customer, empty when none. pending_orderslist no Orders waiting for the provider to set them up. pending_orders[].productstring no Product name. pending_orders[].created_atdatetime no When the order was placed. notificationslist no Notifications of the last 30 days, newest first. notifications[].titlestring no Title. notifications[].atdatetime no When. notifications[].urlurl yes Link, null when none. notifications[].unreadbool no Not read yet. packobject yes The customer’s resource pack, null when none. pack.namestring no Pack name. pack.remainingobject no What is still free in the pack. pack.remaining.coresint no Free vCPU cores. pack.remaining.memory_mbint no Free memory in MB. pack.remaining.disk_gbint no Free disk in GB.
Key True when create_serverThe customer has a resource pack and may create servers. orderThe shop is open.
"url" : " /portal/hosts/1/guests/qemu/100 " ,
"date" : " 2026-11-10 10:00:00 " ,
"due_within_14_days" : null ,
"at" : " 2026-11-10 10:00:00 " ,
"title" : " Network maintenance " ,
"at" : " 2026-11-10 10:00:00 "
"created_at" : " 2026-11-10 10:00:00 "
"title" : " Support answered " ,
"at" : " 2026-11-10 10:00:00 " ,
The provider’s published questions and answers.
Title: FAQ
Area: customer portal
Template: templates/help.twig (help.twig)
URL: /portal/help
Variable Type Null Description entrieslist no Published entries in the provider’s order. entries[].questionstring no Question. entries[].answer_htmlhtml no Answer, escaped, line breaks kept. entries[].topicstring yes Group name, null (entries have no topic yet). tickets_onbool no Support tickets are on (show a link to open one).
"question" : " How do I reset my password? " ,
"answer_html" : " Use the server page. " ,
Addresses the provider granted the customer. Show data_url with the table widget; Assign (row action of kind fill into a form with a “server” select) posts to ip_assign_url_template, Unassign to ip_unassign_url_template. A changed address applies after the server restarts.
Title: IP addresses
Area: customer portal
Template: templates/ips.twig (ips.twig)
URL: /portal/ips
Widgets: table, form
Variable Type Null Description data_urlurl no GET: the addresses (see the endpoint “list”). ip_assign_url_templatestring no Assign URL, {id} = the address id (POST field server = a servers value). ip_unassign_url_templatestring no Unassign URL, {id} = the address id. serverslist no The customer’s servers to assign to. servers[].labelstring no Server name. servers[].valuestring no Value for the POST field server.
Action Method Target Fields Errors assignPOST /portal/ips/{id}/assign (JSON) server: A servers value.Not found. This server runs on an internal network only and cannot get extra addresses. unassignPOST /portal/ips/{id}/unassign (JSON) none Not found.
JSON endpoints for widgets and theme scripts.
GET /portal/ips/data: The customer’s addresses (query: page, perPage, search, status=free|assigned).
Variable Type Null Description rowslist no Addresses. rows[].idint no Address id. rows[].ipstring no Address. rows[].familystring no ipv4 or ipv6. rows[].zone_namestring no Pool name. rows[].cidrstring no Network of the pool. rows[].statusstring no free (yours, not on a server) or assigned. rows[].guest_namestring yes Server it is on. totalint no Matching rows.
"data_url" : " /portal/ips/data " ,
"ip_assign_url_template" : " /portal/ips/{id}/assign " ,
"ip_unassign_url_template" : " /portal/ips/{id}/unassign " ,
Messages from the provider: active ones first, then those that ended in the last 30 days.
Title: Notices
Area: customer portal
Template: templates/notices.twig (notices.twig)
URL: /portal/notices
Variable Type Null Description noticeslist no Notices for this customer. notices[].idint no Notice id. notices[].titlestring no Title. notices[].body_htmlhtml no Text (safe HTML built by NexoVirt). notices[].levelstring no info, warning or danger. notices[].statestring no active or ended. notices[].starts_atdatetime yes Start. notices[].ends_atdatetime yes End, null when open. notices[].readbool no The customer has seen it before this visit. notices[].dismiss_urlurl yes POST here (csrf_field()) to hide the banner; null when it cannot be dismissed.
"body_html" : " <p>Tonight</p> " ,
"starts_at" : " 2026-11-10 10:00:00 " ,
Bearer tokens for the reseller API (/api/reseller). Place nx.api_token_form() for creating one (the token is shown once by NexoVirt); revoke with a plain POST.
Title: API tokens
Area: reseller portal
Template: templates/reseller/api_tokens.twig (reseller/api_tokens.twig)
URL: /reseller/api-tokens
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.api_token_form()
Variable Type Null Description tokenslist no Tokens, newest first (revoked ones too). tokens[].idint no Token id. tokens[].namestring no Name. tokens[].activebool no false once revoked. tokens[].allowed_ipsstring no Allowed IPs or networks, one per line; empty = any. tokens[].rate_limitint yes Requests per minute, null = no limit. tokens[].created_atdatetime no Created. tokens[].last_used_atdatetime yes Last request, null = never. tokens[].revoke_urlurl no POST here (with csrf_field()) to revoke it.
Action Method Target Fields Errors revokePOST /reseller/api-tokens/{id}/revoke none none
"created_at" : " 2026-11-01 10:00:00 " ,
"revoke_url" : " /reseller/api-tokens/5/revoke "
The reseller sign-in page. Place {{ nx.signin_form() }} exactly once.
Title: Sign in
Area: reseller portal
Template: templates/reseller/auth/login.twig (reseller/auth/login.twig)
URL: /reseller/login
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.signin_form()
Variable Type Null Description noticestring yes A notice for this visit (e.g. “Please sign in here.” after a move from another domain), null for none. ssoobject no Single sign-on. sso.onbool no SSO sign-in is offered. sso.enforcedbool no Only SSO: the sign-in block then shows just the SSO button. sso.urlurl yes Link (GET) that starts the SSO sign-in, null when off. register_urlurl yes Sign-up page, null when sign-up is off. forgot_urlurl no Forgot-password page.
"forgot_url" : " /forgot-password "
The second sign-in step of a reseller. Place {{ nx.two_factor_form() }} exactly once.
Title: Two-factor authentication
Area: reseller portal
Template: templates/reseller/auth/two_factor.twig (reseller/auth/two_factor.twig)
URL: /login/2fa
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.two_factor_form()
Variable Type Null Description show_codebool no The account uses an authenticator app (else only a recovery code or a passkey). show_passkeybool no The account has a passkey (the block shows its button when the browser supports it).
Shop categories of the reseller’s products, by sort order. Creating and editing a category opens NexoVirt’s form; deleting keeps its products (they show under “Other”).
Title: Categories
Area: reseller portal
Template: templates/reseller/categories.twig (reseller/categories.twig)
URL: /reseller/products/categories
Variable Type Null Description categorieslist no Categories. categories[].idint no Category id. categories[].namestring no Name. categories[].slugstring no Shop address part. categories[].productsint no Products in it. categories[].visiblebool no Shown in the shop. categories[].edit_urlurl no The category form (NexoVirt design). categories[].delete_urlurl no POST here (with csrf_field()) to delete the category. new_urlurl no Form for a new category (NexoVirt design).
Action Method Target Fields Errors deletePOST /reseller/products/categories/{id}/delete none none
"edit_url" : " /reseller/products/categories/2/edit " ,
"delete_url" : " /reseller/products/categories/2/delete "
"new_url" : " /reseller/products/categories/new "
The reseller’s own customer groups: members, the default group, delete. Creating and editing a group opens NexoVirt’s group form.
Title: Customer groups
Area: reseller portal
Template: templates/reseller/customers/groups.twig (reseller/customers/groups.twig)
URL: /reseller/customers/groups
Variable Type Null Description groupslist no Groups, the default first, then by name. groups[].idint no Group id. groups[].namestring no Group name. groups[].descriptionstring no Description, may be empty. groups[].membersint no Customers in the group. groups[].defaultbool no New customers join this group. groups[].edit_urlurl no The group form (always in the NexoVirt design). groups[].default_urlurl no POST here (with csrf_field()) to make it the default group. groups[].delete_urlurl no POST here (with csrf_field()) to delete the group; its customers move to the default group. The default group cannot be deleted. new_urlurl no The form for a new group (always in the NexoVirt design).
Action Method Target Fields Errors defaultPOST /reseller/customers/groups/{id}/default none none deletePOST /reseller/customers/groups/{id}/delete none none
"edit_url" : " /reseller/customers/groups/3 " ,
"default_url" : " /reseller/customers/groups/3/default " ,
"delete_url" : " /reseller/customers/groups/3/delete "
"new_url" : " /reseller/customers/groups/new "
The reseller’s customers: add, edit, reset the password, delete, and links to each customer’s portal features and SSH keys. A new password is never in the page data: NexoVirt shows it once on its own page.
Title: Customers
Area: reseller portal
Template: templates/reseller/customers/index.twig (reseller/customers/index.twig)
URL: /reseller/customers
Variable Type Null Description customerslist no The reseller’s customers (filtered by group_filter). customers[].idint no Customer id. customers[].namestring no Username. customers[].emailstring no Email address. customers[].activebool no The account may sign in. customers[].groupstring yes Name of the customer’s group, null without one. customers[].serversint no Servers. customers[].coresint no vCPU cores. customers[].memory_mbint no Memory in MB. customers[].disk_gbint no Disk in GB. customers[].url_portalurl no The customer’s portal features page. customers[].url_ssh_keysurl no The customer’s SSH keys page. customers[].url_groupurl no The customer’s group and overrides (always in the NexoVirt design). groupslist no The reseller’s customer groups, for the filter. groups[].idint no Group id. groups[].namestring no Group name. group_filterint no Group id the list is filtered by (GET group=<id>), 0 = all.
Action Method Target Fields Errors createPOST /reseller/customers/create username: Username. email: Email address.A username and a valid email are required. A user with this email already exists. A user with this username already exists. updatePOST /reseller/customers/{id}/update username: Username. email: Email address. is_active: 1 = may sign in (leave out to disable).A username and a valid email are required. reset_passwordPOST /reseller/customers/{id}/reset-password none none deletePOST /reseller/customers/{id}/delete none Delete or reassign this customer’s servers first.
"url_portal" : " /reseller/customers/7/portal " ,
"url_ssh_keys" : " /reseller/customers/7/ssh-keys " ,
"url_group" : " /reseller/customers/7/group "
What one customer may do in the portal: per feature inherit (the group or global setting), on or off.
Title: Portal features
Area: reseller portal
Template: templates/reseller/customers/portal.twig (reseller/customers/portal.twig)
URL: /reseller/customers/{id}/portal
Variable Type Null Description customerobject no The customer. customer.idint no Customer id. customer.namestring no Username. customer.emailstring no Email address. portal_featureslist no Every portal feature with the customer’s choice. portal_features[].keystring no Feature key; post it as feature_<key>. portal_features[].labelstring no Feature name. portal_features[].helpstring no What the feature does. portal_features[].valuestring no Current choice: inherit, on or off. portal_features[].inheritedbool no What inherit gives (on = true). portal_features[].inherited_fromstring no Where inherit comes from: group or global. save_urlurl no POST the form here (with csrf_field()).
Action Method Target Fields Errors savePOST /reseller/customers/{id}/portal feature_<key>: inherit, on or off, one per feature.none
"help" : " Open the server console in the browser. " ,
"inherited_from" : " global "
"save_url" : " /reseller/customers/7/portal "
A customer’s stored SSH public keys, put on servers at create and reinstall.
Title: SSH keys
Area: reseller portal
Template: templates/reseller/customers/ssh_keys.twig (reseller/customers/ssh_keys.twig)
URL: /reseller/customers/{id}/ssh-keys
Variable Type Null Description customerobject no The customer. customer.idint no Customer id. customer.namestring no Username. customer.emailstring no Email address. keyslist no Stored keys, oldest first. keys[].idint no Key id. keys[].namestring no Name of the key. keys[].fingerprintstring no SHA256 fingerprint. keys[].created_atdatetime yes When the key was added. keys[].delete_urlurl no POST here (with csrf_field()) to delete the key. add_urlurl no POST a new key here (with csrf_field()).
Action Method Target Fields Errors addPOST /reseller/customers/{id}/ssh-keys name: Key name (optional). public_key: The OpenSSH public key.Invalid public key. Key already added. deletePOST /reseller/customers/{id}/ssh-keys/{key}/delete none none
"fingerprint" : " SHA256:Zm9vYmFy " ,
"created_at" : " 2026-11-10 10:00:00 " ,
"delete_url" : " /reseller/customers/7/ssh-keys/1/delete "
"add_url" : " /reseller/customers/7/ssh-keys "
The reseller’s start page: resources used by all own customers, the limits of the reseller plan and a list of customers.
Title: Dashboard
Area: reseller portal
Template: templates/reseller/dashboard.twig (reseller/dashboard.twig)
URL: /reseller
Variable Type Null Description usageobject no Resources of all servers of the reseller’s customers. usage.customersint no Customers. usage.serversint no Servers. usage.coresint no vCPU cores. usage.memory_mbint no Memory in MB. usage.disk_gbint no Disk in GB. usage.ipsint no IP addresses assigned to these servers. limitsobject yes Limits of the reseller plan, null without a plan. limits.customersint yes Customers. Null = no limit. limits.serversint yes Servers. Null = no limit. limits.coresint yes vCPU cores. Null = no limit. limits.memory_mbint yes Memory in MB. Null = no limit. limits.disk_gbint yes Disk in GB. Null = no limit. limits.ipsint yes IP addresses (always null: reseller plans have no IP limit yet). Null = no limit. customerslist no The reseller’s customers with their resources. customers[].idint no Customer id. customers[].namestring no Username. customers[].emailstring no Email address. customers[].activebool no The account may sign in. customers[].serversint no Servers. customers[].coresint no vCPU cores. customers[].memory_mbint no Memory in MB. customers[].disk_gbint no Disk in GB. customers[].urlurl no The customer’s portal settings page.
"url" : " /reseller/customers/7/portal "
The servers of the reseller’s customers. Rows come from endpoint servers (use the table widget); link a row with server_url_template.
Title: Servers
Area: reseller portal
Template: templates/reseller/guests/index.twig (reseller/guests/index.twig)
URL: /reseller/guests
Widgets: table
Variable Type Null Description data_urlurl no GET: the servers as table rows (endpoint servers). Query: search, page, perPage, sort, dir, status, type, owner. owners_urlurl no GET ?q=: own customers matching q, for an owner filter ([{value, label}], max 20). new_urlurl no The create server wizard (always shown in the NexoVirt design). server_url_templatestring no Server page of a row ({host_id}, {type}, {vmid} = row fields).
JSON endpoints for widgets and theme scripts.
GET /reseller/guests/data: Servers of the reseller’s customers (DB only).
Variable Type Null Description rowslist no Rows. rows[].host_idint no Connection id (part of the server URL). rows[].typestring no qemu or lxc. rows[].vmidint no Server id. rows[].namestring no Server name. rows[].statusstring no running, stopped, provisioning … rows[].nodestring no Node name. rows[].ipstring no Main IP, empty when unknown. rows[].owner_namestring no Customer. rows[].maxcpuint no vCPU cores. rows[].maxmemint no Memory in bytes. rows[].maxdiskint no Boot disk in bytes. totalint no Row count. pageint no Page. perPageint no Rows per page.
"data_url" : " /reseller/guests/data " ,
"owners_url" : " /reseller/guests/owners " ,
"new_url" : " /reseller/guests/new " ,
"server_url_template" : " /reseller/guests/{host_id}/{type}/{vmid} "
One server of a customer: status, power, charts, console, limits and plan, IP addresses, notes, snapshots, firewall, delete. nx.reinstall_form() and nx.root_password_form() place the reinstall and root password forms (root password: containers only, else an empty element). Migrate needs theme JS (endpoints migrate_options and migrate) and is not part of the starter.
Title: Server
Area: reseller portal
Template: templates/reseller/guests/show.twig (reseller/guests/show.twig)
URL: /reseller/guests/{host}/{type}/{vmid}
Optional blocks (at most once): nx.reinstall_form(), nx.root_password_form()
Widgets: status, power, charts, console, table, form
Variable Type Null Description serverobject no The server. server.namestring no Server name. server.vmidint no Server id. server.typestring no qemu (virtual machine) or lxc (container). server.statusstring no running, stopped, provisioning, suspended … server.uptimestring no Readable uptime, empty when stopped. server.ipstring no Main IP address, “Internal network (no public IP)” for servers without a public IP, “Waiting for IP assignment” while none is known. server.internal_networkbool no The server has no public IP (internal network product). server.osobject no Operating system. server.os.namestring no OS name. server.os.logo_urlurl yes OS logo, null when none. server.specsobject no Allocated resources (from the last inventory). server.specs.coresint no vCPU cores, 0 when unknown. server.specs.memory_mbint no Memory in MB, 0 when unknown. server.specs.disk_gbint no Boot disk size in GB, 0 when unknown. server.nodestring yes Node name, null unless the provider shows node names. server.sharedbool no Shared with the customer by another customer. server.share_rolestring yes manage or view for shared servers, null for own ones. server.shared_bystring yes Email of the customer who shared the server, null for own ones. server.provider_note_htmlhtml yes Note from the provider, null when none. server.lockobject yes Set while the provider has locked the server (actions are refused), else null. server.lock.reasonstring no Reason, empty when none. server.lock.sincedatetime yes Locked since, null when unknown. server.eolobject yes End-of-life notice of the operating system, null when none. server.eol.statestring no warning (end of life is coming), eol (reached) or hidden (no longer offered for new servers). server.eol.datedatetime yes End-of-life date, null when not given. server.eol.messagestring no Readable notice. server.appobject yes One-click app installed on the server, null when none. server.app.namestring no App name. server.app.statestring no installing, installed, failed or needs_attention. server.app.notes_htmlhtml yes Post-install notes, null when none. server.app.retry_urlurl yes POST here to retry a failed install, null when not offered. server.urlsmap no Endpoints of this server on the reseller routes, by name: status, metrics, spec, console, power, password (containers), reinstall_options, reinstall_same, reinstall, limits, ip (with IP zones), notes, delete, migrate_options, migrate, snapshots (with a snapshot limit), firewall. ownerobject no The customer who owns the server. owner.idint no Customer id. owner.emailstring no Email address. planobject yes The plan the server runs on, null for custom limits. plan.idint no Plan id. plan.namestring no Plan name. planslist no Plans the reseller can put the server on (post plan_id to limits). plans[].idint no Plan id. plans[].namestring no Plan name. ipamobject no IP addresses from the reseller’s IP pools. ipam.zoneslist no Pools the server can take an address from (POST action=change, zone_id, empty ip = next free address). ipam.zones[].idint no Pool id. ipam.zones[].namestring no Pool name. ipam.currentstring yes Main pool address of the server, null when none. ipam.entrieslist no Pool addresses of the server (change: action=change, zone_id, ip = one of free; release: action=release, zone_id). ipam.entries[].ipstring no Address. ipam.entries[].familystring no ipv4 or ipv6. ipam.entries[].zone_idint no Pool id. ipam.entries[].zone_namestring no Pool name. ipam.entries[].freelist no Free addresses of the pool (strings, at most 50); empty for a pool that is not assigned to the reseller. notesobject no Provider note on the server (the customer sees it read-only). notes.providerstring yes Current note, null when none. notes.save_urlurl no POST operator_note. JSON {ok, message, error}. trafficobject yes Traffic this month, null when the traffic feature is off. traffic.periodstring no Month (YYYY-MM). traffic.used_bytesint no Counted bytes (in + out when there is no limit). traffic.limit_bytesint yes Monthly limit, null for unlimited. traffic.percentint yes Used share of the limit, null for unlimited. traffic.statestring no ok, throttled, suspended or limit_reached. snapshotsobject yes Snapshots pane (endpoint snapshots), null when snapshots are off for the customer or the limit is 0. snapshots.data_urlurl no GET: the snapshots as table rows (endpoint snapshots). Reads the server live, use it lazily. snapshots.create_urlurl no POST name, description, include_ram (1, virtual machines). JSON {ok, error}. snapshots.rollback_urlurl no POST snapname. JSON {ok, error}. The server goes back to that state. snapshots.delete_urlurl no POST snapname. JSON {ok, error}. snapshots.limitint no Snapshots the server may keep. snapshots.rambool no Snapshots can include the RAM (virtual machines). firewallobject yes Firewall pane (endpoints firewall, firewall_presets), null when the firewall is off for the customer. firewall.data_urlurl no GET: the rules as table rows (endpoint firewall). firewall.presets_urlurl no GET: presets the customer can apply (endpoint firewall_presets). firewall.apply_preset_urlurl no POST preset_id. JSON {success, error}. firewall.add_urlurl no POST direction (in, out), action (ACCEPT, DROP, REJECT), enabled (1), proto, dport, sport, source, dest, comment. JSON {success, error}. firewall.rule_url_templatestring no POST the same fields here ({id} = rows[].id) to change a rule (not rows[].locked). firewall.delete_url_templatestring no POST here ({id} = rows[].id) to delete a rule (not rows[].locked). build_failedobject yes Set when creating the server failed, else null. build_failed.refundedbool no The order was refunded: no Try again. build_failed.retry_urlurl no POST here (with csrf_field()) to try again.
Key True when powerStart, stop and reboot. consoleOpen the console. reinstallReinstall the OS. root_passwordReset the root password (containers). snapshotsSnapshots (snapshot limit above 0). firewallFirewall rules. limitsChange limits and plan. ipChange IP addresses (with IP pools). notesEdit the provider note. migrateMove the server to another of the reseller’s nodes. deleteDelete the server.
Action Method Target Fields Errors limitsPOST /reseller/guests/{host}/{type}/{vmid}/limits plan_id: plans[].id, 0 for custom. cores: vCPU cores. memory_mb: Memory in MB. port_speed_mbit: Port speed, empty = none.That plan is not available to you. ipPOST /reseller/guests/{host}/{type}/{vmid}/ip (JSON) action: change or release. zone_id: ipam.zones[].id or ipam.entries[].zone_id. ip: New address (change), empty = next free.IP not available in this zone. notesPOST /reseller/guests/{host}/{type}/{vmid}/notes (JSON) operator_note: The note.none deletePOST /reseller/guests/{host}/{type}/{vmid}/delete none none retryPOST /reseller/guests/{host}/{type}/{vmid}/provision/retry none none migratePOST /reseller/guests/{host}/{type}/{vmid}/migrate (JSON) target_host_id: Target connection from migrate_options. target_node: Target node from migrate_options. mode: From migrate_options.none snapshot_createPOST /reseller/guests/{host}/{type}/{vmid}/snapshots/create (JSON) name: Snapshot name. description: Optional. include_ram: 1 to keep the RAM (virtual machines).none snapshot_rollbackPOST /reseller/guests/{host}/{type}/{vmid}/snapshots/rollback (JSON) snapname: rows[].name of endpoint snapshots.none snapshot_deletePOST /reseller/guests/{host}/{type}/{vmid}/snapshots/delete (JSON) snapname: rows[].name of endpoint snapshots.none firewall_apply_presetPOST /reseller/guests/{host}/{type}/{vmid}/firewall/apply-preset (JSON) preset_id: presets[].id of endpoint firewall_presets.none firewall_rule_addPOST /reseller/guests/{host}/{type}/{vmid}/firewall/rules (JSON) direction: in or out. action: ACCEPT, DROP or REJECT.none firewall_rule_updatePOST /reseller/guests/{host}/{type}/{vmid}/firewall/rules/{rule} (JSON) direction: in or out. action: ACCEPT, DROP or REJECT.none firewall_rule_deletePOST /reseller/guests/{host}/{type}/{vmid}/firewall/rules/{rule}/delete (JSON) none none
JSON endpoints for widgets and theme scripts.
GET /reseller/guests/{host}/{type}/{vmid}/status: Power status (DB only, poll it).
Variable Type Null Description okbool no Read worked. statusstring no running, stopped, rebooting … uptimeint no Seconds. ipstring no Main IP, empty when unknown.
GET /reseller/guests/{host}/{type}/{vmid}/metrics: Samples of the last 30 minutes.
Variable Type Null Description okbool no Read worked. pointslist no Samples, oldest first. points[].tstring no Sample time. points[].cpufloat no CPU share 0..1. points[].memint no Memory used (bytes). points[].maxmemint no Memory total (bytes). points[].diskint no Disk used (bytes). points[].maxdiskint no Disk total (bytes). points[].netinint no Bytes received (counter). points[].netoutint no Bytes sent (counter).
GET /reseller/guests/{host}/{type}/{vmid}/spec: Exact allocation from the stored config.
Variable Type Null Description okbool no Read worked. specmap no name, cores, memoryMb, disk, osLabel …
GET /reseller/guests/{host}/{type}/{vmid}/snapshots/data: Snapshots, newest first (read live from the server).
Variable Type Null Description rowslist no Rows. rows[].namestring no Snapshot name. rows[].descriptionstring no Description. rows[].snaptimeint no Unix time it was taken. rows[].parentstring no Previous snapshot. rows[].vmstateint no 1 when the RAM is included. totalint no Row count. pageint no Page. perPageint no Rows per page. errorstring yes Why the read failed (only then).
GET /reseller/guests/{host}/{type}/{vmid}/firewall/data: Firewall rules in order.
Variable Type Null Description rowslist no Rows. rows[].idint no Rule id. rows[].directionstring no in or out. rows[].actionstring no ACCEPT, DROP or REJECT. rows[].protostring no Protocol, empty = any. rows[].dportstring no Destination port. rows[].sportstring no Source port. rows[].sourcestring no Source address. rows[].deststring no Destination address. rows[].commentstring no Comment. rows[].enabledint no 1 when active. rows[].lockedbool no Set by the provider (cannot be changed). totalint no Row count. pageint no Page. perPageint no Rows per page. errorstring yes Why the read failed (only then).
GET /reseller/guests/{host}/{type}/{vmid}/firewall/presets: Rule presets the customer can apply.
Variable Type Null Description okbool no Read worked. presetslist no Presets. presets[].idint no Preset id. presets[].namestring no Name. presets[].descriptionstring no Description.
"internal_network" : false ,
"provider_note_html" : null ,
"reason" : " Abuse report " ,
"message" : " Debian 10 reaches end of life on 2026-12-01. Reinstall with a newer version. "
"zone_name" : " Public v4 " ,
"save_url" : " /reseller/guests/1/qemu/100 "
"used_bytes" : 1073741824 ,
"data_url" : " /portal/hosts/1/guests/qemu/100 " ,
"create_url" : " /portal/hosts/1/guests/qemu/100 " ,
"rollback_url" : " /portal/hosts/1/guests/qemu/100 " ,
"delete_url" : " /portal/hosts/1/guests/qemu/100 " ,
"data_url" : " /portal/hosts/1/guests/qemu/100 " ,
"presets_url" : " /portal/hosts/1/guests/qemu/100 " ,
"apply_preset_url" : " /portal/hosts/1/guests/qemu/100 " ,
"add_url" : " /portal/hosts/1/guests/qemu/100 " ,
"rule_url_template" : " /portal/hosts/1/guests/qemu/100/firewall/rules/{id} " ,
"delete_url_template" : " /portal/hosts/1/guests/qemu/100/firewall/rules/{id}/delete "
"retry_url" : " /reseller/guests/1/qemu/100 "
IP pools the provider assigned to the reseller (read only). Show a zone’s data_url with the table widget. Routed IPv6 prefix pools (family ipv6_prefix) have no address list.
Title: IP pools
Area: reseller portal
Template: templates/reseller/ip_pools.twig (reseller/ip_pools.twig)
URL: /reseller/ip-pools
Widgets: table
Variable Type Null Description zoneslist no Assigned pools. zones[].idint no Pool id. zones[].namestring no Name. zones[].familystring no ipv4, ipv6 or ipv6_prefix. zones[].cidrstring no Network. zones[].usedint no Addresses assigned or reserved. zones[].totalint no Addresses in the pool. zones[].data_urlurl yes GET: the addresses (endpoint addresses), null for a prefix pool.
JSON endpoints for widgets and theme scripts.
GET /reseller/ip-pools/{id}/data: Addresses of one pool (query: search, page, perPage, status=free|assigned|reserved).
Variable Type Null Description rowslist no Addresses. rows[].idint no Address id. rows[].ipstring no Address. rows[].statusstring no free, assigned or reserved. rows[].guest_typestring yes qemu or lxc of the server using it, null when free or used outside the account. rows[].vmidint yes Server id, null as above. rows[].notestring yes Note; “Used outside your account” for other tenants. rows[].host_namestring no Node or cluster name, empty as above. totalint no Row count. pageint no Page. perPageint no Rows per page.
"cidr" : " 203.0.113.0/24 " ,
"data_url" : " /reseller/ip-pools/3/data "
Notices of the reseller, newest first. Each shows as a banner on every portal page of its customers while it runs. Creating and editing a notice opens NexoVirt’s form.
Title: Notices
Area: reseller portal
Template: templates/reseller/notices.twig (reseller/notices.twig)
URL: /reseller/notices
Variable Type Null Description noticeslist no Notices. notices[].idint no Notice id. notices[].titlestring no Title. notices[].levelstring no info, warning or danger. notices[].statestring no scheduled, active or ended. notices[].reachint no Customers it reaches. notices[].dismissiblebool no Customers can hide the banner. notices[].starts_atdatetime yes Start. notices[].ends_atdatetime yes End, null when open. notices[].edit_urlurl no The notice form (NexoVirt design). notices[].delete_urlurl no POST here (csrf_field()) to delete it; customers stop seeing it at once. new_urlurl no Form for a new notice (NexoVirt design).
Action Method Target Fields Errors deletePOST /reseller/notices/{id}/delete none none
"title" : " Maintenance tonight " ,
"starts_at" : " 2026-11-10 20:00:00 " ,
"edit_url" : " /reseller/notices/3 " ,
"delete_url" : " /reseller/notices/3/delete "
"new_url" : " /reseller/notices/new "
Orders of the reseller’s products that are set up by hand, newest first (endpoint orders, use the table widget). They are paid; the paid time starts when the server is handed over.
Title: Orders
Area: reseller portal
Template: templates/reseller/orders/index.twig (reseller/orders/index.twig)
URL: /reseller/orders
Widgets: table
Variable Type Null Description data_urlurl no GET: the orders as table rows (endpoint orders). Query: search, page, perPage, sort, dir, status. order_url_templatestring no Order page of a row ({id} = row field).
JSON endpoints for widgets and theme scripts.
GET /reseller/orders/data: Orders of the reseller’s products (DB only).
Variable Type Null Description rowslist no Rows. rows[].idint no Order id (part of the order URL). rows[].created_atdatetime no Ordered. rows[].customerstring no Customer email. rows[].planstring no Product. rows[].namestring no Server name the customer gave. rows[].amountmoney no Paid. rows[].statusstring no pending (waiting), done (handed over) or rejected. totalint no Row count. pageint no Page. perPageint no Rows per page.
"data_url" : " /reseller/orders/data " ,
"order_url_template" : " /reseller/orders/{id} "
One order. While it waits: create the server (pick a node and storage and a network from the lists) or reject it (the full amount goes back to the customer’s balance).
Title: Order
Area: reseller portal
Template: templates/reseller/orders/show.twig (reseller/orders/show.twig)
URL: /reseller/orders/{id}
Variable Type Null Description orderobject no The order. order.idint no Order id. order.productstring no Product name. order.customer_emailstring no Customer email (user name when there is none). order.statusstring no pending, done or rejected. order.created_atdatetime yes Ordered. order.amountmoney yes Paid. order.typestring no qemu, lxc or service. order.server_namestring no Server name the customer gave, empty when none. order.addonslist no Add-ons, e.g. “2 x Extra IPv4”. order.errorstring yes Why the last attempt failed, null when none. order.reject_reasonstring yes Reason given at rejection, null when none. order.server_urlurl yes The created server, null until handed over. targetslist no Values of the target field (node and storage), only while pending. targets[].valuestring no Field value. targets[].labelstring no Label. networkslist no Values of the network field (IP zone or DHCP bridge), only while pending. networks[].valuestring no Field value. networks[].labelstring no Label. provision_urlurl yes POST here (csrf_field()) with target and network to create the server; null when not pending. reject_urlurl yes POST here (csrf_field()) with an optional reason to reject and refund; null when not pending.
Action Method Target Fields Errors provisionPOST /reseller/orders/{id}/provision target: A targets value. network: A networks value.Choose the node, storage and network from the lists. rejectPOST /reseller/orders/{id}/reject reason: Reason for the customer (optional, up to 500 characters).none
"created_at" : " 2026-11-10 10:00:00 " ,
"value" : " 1|pve1|local-lvm " ,
"label" : " pve1: local-lvm (120 GB free) "
"value" : " 1|pve1|local-lvm " ,
"label" : " pve1: local-lvm (120 GB free) "
"provision_url" : " /reseller/orders/12/provision " ,
"reject_url" : " /reseller/orders/12/reject "
The reseller’s products (role product, with a price, sold to its customers) or size templates (role template, sizes for the create form). Show data_url with the table widget; Edit and New open NexoVirt’s form (always in the NexoVirt design). Shop switch, delete and restore answer JSON to the widget ({success, message} or {success: false, error}); a used plan is archived instead of deleted.
Title: Products
Area: reseller portal
Template: templates/reseller/products.twig (reseller/products.twig)
URL: /reseller/products
Widgets: table, form
Variable Type Null Description rolestring no product or template. data_urlurl no GET: the rows of this role (endpoint plans). Query: search, page, perPage, sort, dir. new_urlurl no Form for a new product or size template (NexoVirt design). edit_url_templatestring no Form of one row, {id} = row id (NexoVirt design). shop_switch_url_templatestring no POST on=1|0: show it in the shop or hide it ({id}). Products only. delete_url_templatestring no POST: delete, or archive while servers or services use it ({id}). restore_url_templatestring no POST: restore an archived row ({id}). extraslist no Add-ons sold with the products (role product, shop licensed), else empty. extras[].idint no Add-on id. extras[].namestring no Name. extras[].kindstring no ipv4, ipv6, ipv6_prefix, disk_gb, backup_slots … extras[].pricemoney no Price per period (formatted). extras[].delete_urlurl no POST here (with csrf_field()) to delete the add-on; refused while servers use it.
Action Method Target Fields Errors shop_switchPOST /reseller/plans/{id}/shop (JSON) on: 1 to show it in the shop, 0 to hide it.Product not found. deletePOST /reseller/plans/{id}/delete (JSON) none Not found. Open orders wait for this one. Accept or reject them under Shop > Orders first. restorePOST /reseller/plans/{id}/restore (JSON) none Not found. extra_deletePOST /reseller/plans/extras/{id}/delete none Servers use this extra. Turn it off to stop selling it.
JSON endpoints for widgets and theme scripts.
GET /reseller/plans/data: The reseller’s own plans (query role=product|template).
Variable Type Null Description rowslist no Rows. rows[].idint no Plan id. rows[].namestring no Name. rows[].coresint no vCPU cores. rows[].memory_mbint no Memory in MB. rows[].disk_gbint no Disk in GB. rows[].traffic_limit_gbint no Monthly traffic in GB, 0 = no limit. rows[].runtime_daysint no Billing period in days. rows[].is_activeint no 1 = active. rows[].price_centsint yes Price in cents, null for a size template. rows[].pricestring no Formatted price, “(hidden)” when not in the shop; empty for a size template. rows[].shop_visibleint no 1 = in the shop. rows[].shop_nextstring no Value for on to flip the shop switch (“1” or “0”). rows[].archivedbool no Archived (restore it to sell it again). totalint no Row count. pageint no Page. perPageint no Rows per page.
"data_url" : " /reseller/plans/data?role=product " ,
"new_url" : " /reseller/products/new " ,
"edit_url_template" : " /reseller/products/{id}/edit " ,
"shop_switch_url_template" : " /reseller/plans/{id}/shop " ,
"delete_url_template" : " /reseller/plans/{id}/delete " ,
"restore_url_template" : " /reseller/plans/{id}/restore " ,
"delete_url" : " /reseller/plans/extras/4/delete "
The reseller’s own sign-in security. nx.password_form() and nx.two_factor_setup() are required (when the provider requires two-factor sign-in, a new reseller lands here first); nx.passkeys() is optional. Theme scripts never run on this page.
Title: Security
Area: reseller portal
Template: templates/reseller/security.twig (reseller/security.twig)
URL: /reseller/security
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.password_form(), nx.two_factor_setup()
Optional blocks (at most once): nx.passkeys()
Variable Type Null Description sessionslist no Active sessions, most recent first. sessions[].idint no Session id. sessions[].currentbool no This browser. sessions[].ipstring no IP address. sessions[].agentstring no Browser and system. sessions[].last_seendatetime no Last activity. sessions[].sign_out_urlurl yes POST here (with csrf_field()) to end that session; null for this browser. sign_out_others_urlurl no POST here (with csrf_field()) to end every other session. sign_inslist no Recent sign-ins, newest first. sign_ins[].atdatetime no Time. sign_ins[].ipstring no IP address. sign_ins[].locationstring yes Location when known. sign_ins[].okbool no Signed in (false = failed or refused). two_factorobject no Two-factor state. two_factor.enabledbool no An authenticator app is set up. two_factor.requiredbool no The provider requires a second factor for this account. passkeys_onbool no Passkeys can be used here (https).
Action Method Target Fields Errors sign_outPOST /reseller/security/sessions/{id}/delete none none sign_out_othersPOST /reseller/security/sessions/others none none
"agent" : " Firefox on Linux " ,
"last_seen" : " 2026-11-10 10:00:00 " ,
"sign_out_url" : " /reseller/security/sessions/2/delete "
"sign_out_others_url" : " /reseller/security/sessions/others " ,
"at" : " 2026-11-10 10:00:00 " ,
FAQ entries shown to the reseller’s customers on their Help page, in this order. Plain text, line breaks kept.
Title: FAQ
Area: reseller portal
Template: templates/reseller/support/faq.twig (reseller/support/faq.twig)
URL: /reseller/support/faq
Variable Type Null Description entrieslist no Entries, by order. entries[].idint no Entry id (field id when saving). entries[].questionstring no Question. entries[].answerstring no Answer as plain text (for the edit form). entries[].answer_htmlhtml no Answer, escaped, line breaks kept. entries[].sortint no Order. entries[].publishedbool no Shown to customers. entries[].delete_urlurl no POST here (csrf_field()) to delete the entry. save_urlurl no POST here (csrf_field()) to add (id 0) or change an entry.
Action Method Target Fields Errors savePOST /reseller/support/faq id: 0 = new entry, else the entry id. question: Question (up to 255 characters). answer: Answer (plain text, up to 10000 characters). sort: Order (0 to 9999). published: 1 = shown to customers.none deletePOST /reseller/support/faq/{id}/delete none none
"question" : " How do I reset my password? " ,
"answer" : " Open Security. " ,
"answer_html" : " Open Security. " ,
"delete_url" : " /reseller/support/faq/1/delete "
"save_url" : " /reseller/support/faq "
One support ticket of a customer: its messages, the answer form and the status. The customer also gets each answer by email.
Title: Ticket
Area: reseller portal
Template: templates/reseller/support/ticket.twig (reseller/support/ticket.twig)
URL: /reseller/support/tickets/{id}
Variable Type Null Description ticketobject no The ticket. ticket.idint no Ticket id. ticket.numberint no Ticket number. ticket.subjectstring no Subject. ticket.statusstring no open (waiting for you), answered or closed. ticket.customer_emailstring no Customer email (user name when there is none, empty when deleted). ticket.created_atdatetime yes Opened. ticket.topicstring yes Topic name, null when none. ticket.server_urlurl yes The server page the ticket is about, null when none or gone. messageslist no Messages, oldest first. messages[].fromstring no customer or staff (you). messages[].namestring no Author name. messages[].body_htmlhtml no Message text, escaped, line breaks kept. messages[].atdatetime yes Sent. messages[].attachmentslist no Files of the message. messages[].attachments[].namestring no File name. messages[].attachments[].sizeint no Bytes. messages[].attachments[].urlurl no Download link (GET); add ?inline=1 to show an image. reply_urlurl no POST here (csrf_field(), multipart) to answer. status_urlurl no POST here (csrf_field()) with status to change it. statuseslist no Values of the status field.
Action Method Target Fields Errors replyPOST /reseller/support/tickets/{id}/reply (multipart) body: Message (plain text). attachments[]: Files, optional.none statusPOST /reseller/support/tickets/{id}/status status: open, answered or closed.none
"created_at" : " 2026-11-10 10:00:00 " ,
"at" : " 2026-11-10 10:00:00 " ,
"url" : " /reseller/support/tickets/4/attachments/1 "
"reply_url" : " /reseller/support/tickets/4/reply " ,
"status_url" : " /reseller/support/tickets/4/status " ,
Support tickets of the reseller’s customers, open first (endpoint tickets, use the table widget), and the topics customers pick from.
Title: Tickets
Area: reseller portal
Template: templates/reseller/support/tickets.twig (reseller/support/tickets.twig)
URL: /reseller/support/tickets
Widgets: table
Variable Type Null Description data_urlurl no GET: the tickets as table rows (endpoint tickets). Query: search, page, perPage, sort, dir, status, topic. ticket_url_templatestring no Ticket page of a row ({id} = row field). topicslist no Topics, by order. With at least one, customers must pick one. topics[].idint no Topic id (field id when saving). topics[].namestring no Name. topics[].sortint no Order. topics[].delete_urlurl no POST here (csrf_field()) to delete the topic; its tickets keep their messages. topic_save_urlurl no POST here (csrf_field()) to add (id 0) or rename a topic.
Action Method Target Fields Errors topic_savePOST /reseller/support/topics id: 0 = new topic, else the topic id. name: Name (up to 60 characters). sort: Order (0 to 9999).none topic_deletePOST /reseller/support/topics/{id}/delete none none
JSON endpoints for widgets and theme scripts.
GET /reseller/support/tickets/data: Tickets of the reseller’s own customers (DB only).
Variable Type Null Description rowslist no Rows. rows[].idint no Ticket id (part of the ticket URL). rows[].numberint no Ticket number. rows[].subjectstring no Subject. rows[].statusstring no open (waiting for you), answered or closed. rows[].customerstring no Customer user name. rows[].topicstring no Topic, empty when none. rows[].last_reply_bystring no customer or staff. rows[].last_reply_atdatetime no Last message. totalint no Row count. pageint no Page. perPageint no Rows per page.
"data_url" : " /reseller/support/tickets/data " ,
"ticket_url_template" : " /reseller/support/tickets/{id} " ,
"delete_url" : " /reseller/support/topics/1/delete "
"topic_save_url" : " /reseller/support/topics "
Account settings. nx.password_form() and nx.two_factor_setup() are required (when the provider requires two-factor sign-in, a new customer lands here first); nx.passkeys() and nx.api_keys() are optional. Theme scripts never run on this page.
Title: Account settings
Area: customer portal
Template: templates/security.twig (security.twig)
URL: /portal/security
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.password_form(), nx.two_factor_setup()
Optional blocks (at most once): nx.passkeys(), nx.api_keys()
Variable Type Null Description billingobject no Billing details form. billing.fieldsmap no Field name => optional|required (only the fields the provider asks for; country, vat_id, name, company, street, zip, city, phone, …). billing.valuesmap no Field name => current value. billing.countrieslist no Countries for the country field. billing.countries[].codestring no ISO code. billing.countries[].namestring no Country name. billing.emailstring no Sign-in email (read only, the provider changes it). billing.save_urlurl no POST the fields here (with csrf_field()). sessionslist no Active sessions, most recent first. sessions[].idint no Session id. sessions[].currentbool no This browser. sessions[].ipstring no IP address. sessions[].agentstring no Browser and system. sessions[].last_seendatetime no Last activity. sessions[].sign_out_urlurl yes POST here (with csrf_field()) to end that session; null for this browser and while an admin views the account. sign_out_others_urlurl yes POST here (with csrf_field()) to end every other session; null while an admin views the account. sign_inslist no Recent sign-ins, newest first. sign_ins[].atdatetime no Time. sign_ins[].ipstring no IP address. sign_ins[].locationstring yes Location when known. sign_ins[].okbool no Signed in (false = failed or refused). two_factorobject no Two-factor state. two_factor.enabledbool no An authenticator app is set up. two_factor.requiredbool no The provider requires a second factor for this account. passkeys_onbool no Passkeys can be used here (https). api_onbool no The customer API is on for this account (nx.api_keys() shows the keys). impersonatingbool no An admin views the account: password, passkeys and API keys cannot be changed.
Action Method Target Fields Errors billingPOST /portal/account <field>: Each field of billing.fields.The field is required. sign_outPOST /portal/security/sessions/{id}/delete none none sign_out_othersPOST /portal/security/sessions/others none none
"save_url" : " /portal/account "
"agent" : " Firefox on Linux " ,
"last_seen" : " 2026-11-10 10:00:00 " ,
"sign_out_url" : " /portal/security/sessions/2/delete "
"sign_out_others_url" : " /portal/security/sessions/others " ,
"at" : " 2026-11-10 10:00:00 " ,
Shown on the server page when its creation failed. Offer “Try again” unless the order was refunded (the limits of Try again stay on the server).
Title: Server could not be set up
Area: customer portal
Template: templates/servers/build_failed.twig (servers/build_failed.twig)
URL: /portal/hosts/{host}/guests/{type}/{vmid}
Variable Type Null Description server_namestring no Name of the server. refundedbool no The shop order was refunded to the balance: no Try again, order again instead. retry_urlurl no POST here (with csrf_field()) to try again.
Action Method Target Fields Errors retryPOST /portal/hosts/{host}/guests/{type}/{vmid}/provision/retry none Please wait a little before trying again. This server cannot be set up again from here. Please contact support.
"retry_url" : " /portal/hosts/1/guests/qemu/100/provision/retry "
Every server of the customer, own and shared, plus orders waiting for the provider.
Title: My Servers
Area: customer portal
Template: templates/servers/index.twig (servers/index.twig)
URL: /portal/servers
Variable Type Null Description serverslist no All servers, own first. servers[].namestring no Server name. servers[].urlurl no The server page. servers[].statusstring no running, stopped, provisioning, suspended … servers[].vmidint no Server id. servers[].ipstring no Main IP address, “Internal network (no public IP)” for servers without a public IP, empty when unknown. servers[].osobject no Operating system. servers[].os.namestring no OS name. servers[].os.logo_urlurl yes OS logo, null when none. servers[].coresint no vCPU cores. servers[].memory_mbint no Memory in MB. servers[].disk_gbint no Boot disk size in GB. servers[].nodestring yes Node name, null unless the provider shows node names. servers[].sharedbool no Shared with the customer by another customer. servers[].share_rolestring yes manage or view for shared servers, null for own ones. servers[].expires_atdatetime yes Paid until (shop servers), else null. servers[].days_leftint yes Days until the paid date (shop servers), else null. pending_orderslist no Orders waiting for the provider to set them up. pending_orders[].productstring no Product name. pending_orders[].created_atdatetime no When the order was placed. packobject yes The customer’s resource pack, null when none. pack.namestring no Pack name. pack.remainingobject no What is still free in the pack. pack.remaining.coresint no Free vCPU cores. pack.remaining.memory_mbint no Free memory in MB. pack.remaining.disk_gbint no Free disk in GB.
Key True when create_serverThe customer has a resource pack and may create servers. orderThe shop is open.
"url" : " /portal/hosts/1/guests/qemu/100 " ,
"created_at" : " 2026-11-10 10:00:00 "
Create a server from the customer’s resource pack. nx.server_create_form() places the form (name, type, size, OS, root password, SSH keys); it renders an empty element while blocker is set. The budget is checked again on submit.
Title: Create server
Area: customer portal
Template: templates/servers/new.twig (servers/new.twig)
URL: /portal/servers/new
Required blocks (exactly once): nx.server_create_form()
Variable Type Null Description packobject no The resource pack. pack.namestring no Name of the pack. pack.remainingobject no What is left for new servers. pack.remaining.coresint no vCPU cores left. pack.remaining.memory_mbint no Memory left in MB. pack.remaining.disk_gbint no Disk left in GB. blockerstring yes Why no server can be created right now, else null.
"name" : " Developer pack " ,
Shown on the server page while the server is being created or reinstalled. Put the provisioning widget on it: it follows the job and opens the server page when it is ready.
Title: Server being set up
Area: customer portal
Template: templates/servers/provisioning.twig (servers/provisioning.twig)
URL: /portal/hosts/{host}/guests/{type}/{vmid}
Widgets: provisioning
Variable Type Null Description server_namestring no Name of the server. reinstallbool no A reinstall (true) or a new server (false). status_urlurl no Status endpoint of the server (data-nx-status of the provisioning widget). provision_urlurl no Job state endpoint (data-nx-src of the provisioning widget). done_urlurl no The server page, opened when the server is ready (data-nx-done).
"status_url" : " /portal/hosts/1/guests/qemu/100 " ,
"provision_url" : " /portal/hosts/1/guests/qemu/100 " ,
"done_url" : " /portal/hosts/1/guests/qemu/100 "
Shown on the server page while the server waits for its setup. nx.setup_form() places the form (operating system, hostname, root password, SSH keys, DNS, swap); the server is built right after.
Title: Set up your server
Area: customer portal
Template: templates/servers/setup.twig (servers/setup.twig)
URL: /portal/hosts/{host}/guests/{type}/{vmid}
Required blocks (exactly once): nx.setup_form()
Variable Type Null Description server_namestring no Name of the server. typestring no qemu (virtual machine) or lxc (container). specobject no Size of the server. spec.coresint no vCPU cores. spec.memory_mbint no Memory in MB. spec.disk_gbint no Disk in GB.
One server: status, power, live charts and console, network, traffic, subscription and sharing. nx.reinstall_form() and nx.root_password_form() place the reinstall and root password forms (each renders an empty element when its feature is off).
Title: Server
Area: customer portal
Template: templates/servers/show.twig (servers/show.twig)
URL: /portal/hosts/{host}/guests/{type}/{vmid}
Optional blocks (at most once): nx.reinstall_form(), nx.root_password_form()
Widgets: status, power, charts, console, table, form, copy
Variable Type Null Description serverobject no The server. server.namestring no Server name. server.vmidint no Server id. server.typestring no qemu (virtual machine) or lxc (container). server.statusstring no running, stopped, provisioning, suspended … server.uptimestring no Readable uptime, empty when stopped. server.ipstring no Main IP address, “Internal network (no public IP)” for servers without a public IP, “Waiting for IP assignment” while none is known. server.internal_networkbool no The server has no public IP (internal network product). server.osobject no Operating system. server.os.namestring no OS name. server.os.logo_urlurl yes OS logo, null when none. server.specsobject no Allocated resources (from the last inventory). server.specs.coresint no vCPU cores, 0 when unknown. server.specs.memory_mbint no Memory in MB, 0 when unknown. server.specs.disk_gbint no Boot disk size in GB, 0 when unknown. server.nodestring yes Node name, null unless the provider shows node names. server.sharedbool no Shared with the customer by another customer. server.share_rolestring yes manage or view for shared servers, null for own ones. server.shared_bystring yes Email of the customer who shared the server, null for own ones. server.provider_note_htmlhtml yes Note from the provider, null when none. server.lockobject yes Set while the provider has locked the server (actions are refused), else null. server.lock.reasonstring no Reason, empty when none. server.lock.sincedatetime yes Locked since, null when unknown. server.eolobject yes End-of-life notice of the operating system, null when none. server.eol.statestring no warning (end of life is coming), eol (reached) or hidden (no longer offered for new servers). server.eol.datedatetime yes End-of-life date, null when not given. server.eol.messagestring no Readable notice. server.appobject yes One-click app installed on the server, null when none. server.app.namestring no App name. server.app.statestring no installing, installed, failed or needs_attention. server.app.notes_htmlhtml yes Post-install notes, null when none. server.app.retry_urlurl yes POST here to retry a failed install, null when not offered. server.urlsmap no Endpoints of this server the customer may use right now, by name (status, metrics, storage, spec, power, console, …). A name is missing when the feature is off or the role does not allow it (a view share gets only the read endpoints). networkobject no Addresses and network services of the server. network.ipv4list no IPv4 addresses (strings). network.ipv6_prefixeslist no Routed IPv6 prefixes. network.ipv6_prefixes[].prefixstring no Prefix with length. network.ipv6_prefixes[].on_linkbool no The first address is set on the server already. network.rdnslist no Reverse DNS per address (owner with the rdns feature, else empty). network.rdns[].idint no Address id (post as ip_id). network.rdns[].ipstring no Address. network.rdns[].ptrstring no Current name, empty when none. network.rdns[].statestring no synced, pending, failed or empty. network.forwardsobject yes Port forwards of an internal-network server (owner only), null when the product has none. network.forwards.limitint no Most forwards the server may have. network.forwards.itemslist no Forwards. network.forwards.items[].idint no Forward id. network.forwards.items[].protostring no tcp or udp. network.forwards.items[].publicstring no Public address and port. network.forwards.items[].portint no Port on the server. network.forwards.items[].delete_urlurl no POST here to remove the forward. network.domainslist yes Websites on the shared IPv4 (owner with the shared_web feature), null when not offered. network.domains[].idint no Domain id. network.domains[].domainstring no Domain name. network.domains[].statestring no pending, waiting, active, paused or inactive. network.domains[].check_urlurl no POST here to check the DNS records now. network.domains[].delete_urlurl no POST here to remove the domain. trafficobject yes Traffic this month, null when the traffic feature is off. traffic.periodstring no Month (YYYY-MM). traffic.used_bytesint no Counted bytes (in + out when there is no limit). traffic.limit_bytesint yes Monthly limit, null for unlimited. traffic.percentint yes Used share of the limit, null for unlimited. traffic.statestring no ok, throttled, suspended or limit_reached. subscriptionobject yes The shop subscription (owner only), null for servers without one. subscription.planstring no Product name. subscription.pricemoney yes Price of one period incl. add-ons (formatted), null when unknown. subscription.period_daysint no Length of one period in days. subscription.expires_atdatetime yes Paid until, null when none. subscription.auto_renewbool no Renews automatically from the balance. subscription.cancelled_atdatetime yes When the customer cancelled, null when not cancelled. subscription.delete_atdatetime yes When the server is deleted (cancelled or unpaid), null when not planned. subscription.hourlyobject yes Set for servers billed by the hour, else null. subscription.hourly.price_per_hourstring no Price per hour (formatted, four decimals). subscription.hourly.month_to_datemoney no Charged this month so far. subscription.hourly.capmoney no Monthly maximum. subscription.gateway_subscriptionbool no A card or PayPal subscription pays this server. subscription.upgradeslist no Plans the server can be upgraded to now. subscription.upgrades[].plan_idint no Product id (post as plan_id). subscription.upgrades[].namestring no Product name. subscription.upgrades[].pricemoney no Price to pay now. subscription.changeslist no Plans the server can change to at the next renewal. subscription.changes[].plan_idint no Product id (post as plan_id). subscription.changes[].namestring no Product name. subscription.changes[].pricemoney no Price per period. subscription.changes[].atdatetime yes When it applies when already scheduled, else null. subscription.extraslist no Add-ons the customer can buy now. subscription.extras[].idint no Add-on id (post as extra_id). subscription.extras[].namestring no Add-on name. subscription.extras[].kindstring no ipv4, ipv6, disk_gb, backup_slots … subscription.extras[].pricemoney no Price to pay now for one step. subscription.extras[].stepint no Units per purchase. subscription.extras[].maxint no Most units that can still be bought. subscription.ownedlist no Add-ons the server has. subscription.owned[].idint no Row id. subscription.owned[].namestring no Add-on name. subscription.owned[].quantityint no Units. subscription.owned[].remove_urlurl yes POST here to remove it, null when it cannot be removed. subscription.urlsmap no Subscription endpoints by name: auto_renew, renew, cancel (GET page), cancel_withdraw, usage_confirm, switch_monthly, upgrade, plan_change, plan_change_cancel, extras, checkout, subscription_cancel, delete. POST unless noted. shareslist no People the owner shared the server with (owner only, else empty). shares[].idint no Share id. shares[].emailstring no Invited address. shares[].rolestring no manage or view. shares[].statestring no pending (invited) or active. shares[].delete_urlurl no POST here to end the share. my_shareobject yes Set when the server is shared with the customer, else null. my_share.rolestring no manage or view. my_share.leave_urlurl no POST here to leave the shared server. snapshot_limitint no Snapshots the server may keep (0 = none). snapshotsobject yes Snapshots pane (endpoint snapshots), null when snapshots are off for the customer or the limit is 0. snapshots.data_urlurl no GET: the snapshots as table rows (endpoint snapshots). Reads the server live, use it lazily. snapshots.create_urlurl no POST name, description, include_ram (1, virtual machines). JSON {ok, error}. snapshots.rollback_urlurl no POST snapname. JSON {ok, error}. The server goes back to that state. snapshots.delete_urlurl no POST snapname. JSON {ok, error}. snapshots.limitint no Snapshots the server may keep. snapshots.rambool no Snapshots can include the RAM (virtual machines). backupsobject yes Backups pane (endpoint backups), null when the server has no backups for the customer. backups.ownbool no The customer can make backups. backups.scheduledbool no The provider’s scheduled backups are shown (owner only). backups.file_restorebool no Single files can be downloaded from scheduled backups (scheduled[].can_files per backup). backups.data_urlurl no GET: own and scheduled backups (endpoint backups). backups.create_urlurl yes POST (no fields) to start a backup, null without own backups. JSON {ok, error}. backups.restore_url_templatestring yes POST here ({id} = backups[].id) to restore an own backup, null without own backups. backups.delete_url_templatestring yes POST here ({id} = backups[].id) to delete an own backup, null without own backups. backups.scheduled_restore_url_templatestring yes POST here ({id} = scheduled[].id) to restore a scheduled backup, null when not shown. backups.scheduled_files_url_templatestring yes POST path (empty = top folder, else entries[].path) here ({id} = scheduled[].id) to list files (endpoint scheduled_files), null without file restore. backups.scheduled_download_url_templatestring yes GET link ({form.backup} = scheduled[].id, {path} = entries[].path) that downloads a file, a folder as zip; null without file restore. Size limit set by the provider. firewallobject yes Firewall pane (endpoints firewall, firewall_presets), null when the firewall is off for the customer. firewall.data_urlurl no GET: the rules as table rows (endpoint firewall). firewall.presets_urlurl no GET: presets the customer can apply (endpoint firewall_presets). firewall.apply_preset_urlurl no POST preset_id. JSON {success, error}. firewall.add_urlurl no POST direction (in, out), action (ACCEPT, DROP, REJECT), enabled (1), proto, dport, sport, source, dest, comment. JSON {success, error}. firewall.rule_url_templatestring no POST the same fields here ({id} = rows[].id) to change a rule (not rows[].locked). firewall.delete_url_templatestring no POST here ({id} = rows[].id) to delete a rule (not rows[].locked). isoobject yes CD/DVD pane of a virtual machine (endpoint iso), null when off or for containers. iso.state_urlurl no GET: inserted ISO and the ISOs that can be inserted (endpoint iso). iso.insert_urlurl no POST iso_id (available[].id), boot_once (1 to start from it once). JSON {ok, error}. iso.eject_urlurl no POST (no fields). JSON {ok, error}. bootobject yes Boot pane of a virtual machine (endpoint boot, owner only), null when boot settings and rescue mode are off or for containers. boot.state_urlurl no GET: boot settings and rescue state (endpoint boot). boot.order_urlurl yes POST first (disk, cd, net). JSON {ok, message, error}. Null when boot settings are off. boot.firmware_urlurl yes POST firmware (seabios, ovmf), only while the server is stopped. JSON {ok, message, error}. Null when boot settings are off. boot.rescue_urlurl yes POST (no fields) to start rescue mode (restarts the server). Null when rescue mode is off. boot.rescue_end_urlurl yes POST (no fields) to end rescue mode. Null when rescue mode is off. ssh_keysobject yes SSH keys of root inside the server (owner with the guest_ssh_keys feature), else null. ssh_keys.data_urlurl no GET: the last read as table rows (rows[].fingerprint, comment, type). DB only, use it with the table widget. ssh_keys.read_urlurl no GET: read the keys from the running server now (slow, up to 30 seconds). Answer {ok, error, keys, read_at}. ssh_keys.add_urlurl no POST key (a pasted public key) or key_id (stored[].id). JSON answer {ok, error, keys}. ssh_keys.remove_urlurl no POST fingerprint. JSON answer {ok, error, keys}. ssh_keys.read_atstring yes When the keys were last read, null when never. ssh_keys.storedlist no The customer’s stored keys that can be added. ssh_keys.stored[].idint no Key id (post as key_id). ssh_keys.stored[].namestring no Name. ssh_keys.stored[].fingerprintstring no SHA256 fingerprint. self_servicebool no Created from the customer’s resource pack (the customer may delete it).
Key True when powerStart, stop and reboot. consoleOpen the console. reinstallReinstall the OS. root_passwordReset the root password. snapshotsSnapshots. backupsBackups. firewallFirewall rules. isoInsert an ISO (virtual machines). bootBoot order and firmware. rescueRescue mode. ssh_keysSSH keys of root inside the server. shareShare the server (owner). rdnsReverse DNS (owner). forwardsPort forwards (owner). domainsWebsites on the shared IPv4 (owner). deleteDelete the server (owner, resource pack servers). billingSubscription actions (owner, shop servers). leaveLeave a server shared with the customer.
Action Method Target Fields Errors share_invitePOST /portal/hosts/{host}/guests/{type}/{vmid}/shares email: Address to invite. role: manage or view.none share_removePOST /portal/hosts/{host}/guests/{type}/{vmid}/shares/{share}/delete none none share_leavePOST /portal/shares/{share}/leave none none rdns_setPOST /portal/hosts/{host}/guests/{type}/{vmid}/rdns ip_id: network.rdns[].id ptr: Name, empty to clear.none forward_addPOST /portal/hosts/{host}/guests/{type}/{vmid}/forwards proto: tcp or udp. port: Port on the server.none forward_removePOST /portal/hosts/{host}/guests/{type}/{vmid}/forwards/{forward}/delete none none domain_addPOST /portal/hosts/{host}/guests/{type}/{vmid}/domains domain: Domain name. proxy_protocol: 1 to send the PROXY protocol header.none domain_checkPOST /portal/hosts/{host}/guests/{type}/{vmid}/domains/{domain}/check none none domain_removePOST /portal/hosts/{host}/guests/{type}/{vmid}/domains/{domain}/delete none none auto_renewPOST /portal/hosts/{host}/guests/{type}/{vmid}/shop/auto-renew on: 1 or 0.none renewPOST /portal/hosts/{host}/guests/{type}/{vmid}/shop/renew none none cancelGET /portal/hosts/{host}/guests/{type}/{vmid}/shop/cancel none none cancel_withdrawPOST /portal/hosts/{host}/guests/{type}/{vmid}/shop/cancel/withdraw none none upgradePOST /portal/hosts/{host}/guests/{type}/{vmid}/shop/upgrade plan_id: subscription.upgrades[].plan_idnone plan_changePOST /portal/hosts/{host}/guests/{type}/{vmid}/shop/plan-change plan_id: subscription.changes[].plan_idnone plan_change_cancelPOST /portal/hosts/{host}/guests/{type}/{vmid}/shop/plan-change/cancel none none extra_buyPOST /portal/hosts/{host}/guests/{type}/{vmid}/shop/extras extra_id: subscription.extras[].id quantity: Steps to buy, default 1.none switch_monthlyPOST /portal/hosts/{host}/guests/{type}/{vmid}/shop/switch-monthly none none deletePOST /portal/hosts/{host}/guests/{type}/{vmid}/delete none none snapshot_createPOST /portal/hosts/{host}/guests/{type}/{vmid}/snapshots/create (JSON) name: Snapshot name. description: Optional. include_ram: 1 to keep the RAM (virtual machines).none snapshot_rollbackPOST /portal/hosts/{host}/guests/{type}/{vmid}/snapshots/rollback (JSON) snapname: rows[].name of endpoint snapshots.none snapshot_deletePOST /portal/hosts/{host}/guests/{type}/{vmid}/snapshots/delete (JSON) snapname: rows[].name of endpoint snapshots.none backup_createPOST /portal/hosts/{host}/guests/{type}/{vmid}/backups (JSON) none none backup_restorePOST /portal/hosts/{host}/guests/{type}/{vmid}/backups/{backup}/restore (JSON) none none backup_deletePOST /portal/hosts/{host}/guests/{type}/{vmid}/backups/{backup}/delete (JSON) none none scheduled_restorePOST /portal/hosts/{host}/guests/{type}/{vmid}/backups/scheduled/{backup}/restore (JSON) none none scheduled_filesPOST /portal/hosts/{host}/guests/{type}/{vmid}/backups/scheduled/{backup}/files (JSON) path: Empty for the top folder, else entries[].path.none firewall_apply_presetPOST /portal/hosts/{host}/guests/{type}/{vmid}/firewall/apply-preset (JSON) preset_id: presets[].id of endpoint firewall_presets.none firewall_rule_addPOST /portal/hosts/{host}/guests/{type}/{vmid}/firewall/rules (JSON) direction: in or out. action: ACCEPT, DROP or REJECT. enabled: 1 to activate. proto: tcp, udp, icmp or empty. dport: Destination port. sport: Source port. source: Source address. dest: Destination address. comment: Comment.none firewall_rule_updatePOST /portal/hosts/{host}/guests/{type}/{vmid}/firewall/rules/{rule} (JSON) direction: in or out. action: ACCEPT, DROP or REJECT. enabled: 1 to activate. proto: tcp, udp, icmp or empty. dport: Destination port. sport: Source port. source: Source address. dest: Destination address. comment: Comment.none firewall_rule_deletePOST /portal/hosts/{host}/guests/{type}/{vmid}/firewall/rules/{rule}/delete (JSON) none none iso_insertPOST /portal/hosts/{host}/guests/{type}/{vmid}/iso (JSON) iso_id: available[].id of endpoint iso. boot_once: 1 to start from it once.none iso_ejectPOST /portal/hosts/{host}/guests/{type}/{vmid}/iso/eject (JSON) none none boot_orderPOST /portal/hosts/{host}/guests/{type}/{vmid}/boot/order (JSON) first: disk, cd or net.none boot_firmwarePOST /portal/hosts/{host}/guests/{type}/{vmid}/boot/firmware (JSON) firmware: seabios or ovmf.none rescue_startPOST /portal/hosts/{host}/guests/{type}/{vmid}/rescue (JSON) none none rescue_endPOST /portal/hosts/{host}/guests/{type}/{vmid}/rescue/end (JSON) none none
JSON endpoints for widgets and theme scripts.
GET /portal/hosts/{host}/guests/{type}/{vmid}/status: Power status (DB only, poll it).
Variable Type Null Description okbool no Read worked. statusstring no running, stopped, rebooting … uptimeint no Seconds. ipstring no Main IP, empty when unknown.
GET /portal/hosts/{host}/guests/{type}/{vmid}/metrics: Samples of the last 30 minutes.
Variable Type Null Description okbool no Read worked. pointslist no Samples, oldest first. points[].tstring no Sample time. points[].cpufloat no CPU share 0..1. points[].memint no Memory used (bytes). points[].maxmemint no Memory total (bytes). points[].diskint no Disk used (bytes). points[].maxdiskint no Disk total (bytes). points[].netinint no Bytes received (counter). points[].netoutint no Bytes sent (counter).
GET /portal/hosts/{host}/guests/{type}/{vmid}/storage: Disk usage per drive.
Variable Type Null Description okbool no Read worked. driveslist no Drives. drives[].labelstring no Drive name. drives[].usedint yes Used MB, null when unknown. drives[].totalint no Size in MB. drives[].sourcestring no agent or size.
GET /portal/hosts/{host}/guests/{type}/{vmid}/spec: Exact allocation from the stored config.
Variable Type Null Description okbool no Read worked. specmap no name, cores, memoryMb, disk, osLabel …
GET /portal/hosts/{host}/guests/{type}/{vmid}/traffic: Traffic this month.
Variable Type Null Description okbool no Read worked. trafficmap no period, shown_bytes, limit_bytes, percent, state, history …
GET /portal/hosts/{host}/guests/{type}/{vmid}/hardware-pending: Whether new RAM or vCPUs wait for a power cycle (virtual machines).
Variable Type Null Description okbool no Read worked. pendingbool no A power cycle applies waiting changes. notestring no Readable explanation, missing when nothing waits.
GET /portal/hosts/{host}/guests/{type}/{vmid}/snapshots/data: Snapshots, newest first (read live from the server).
Variable Type Null Description rowslist no Rows. rows[].namestring no Snapshot name. rows[].descriptionstring no Description. rows[].snaptimeint no Unix time it was taken. rows[].parentstring no Previous snapshot. rows[].vmstateint no 1 when the RAM is included. totalint no Row count. pageint no Page. perPageint no Rows per page. errorstring yes Why the read failed (only then).
GET /portal/hosts/{host}/guests/{type}/{vmid}/backups: Own backups and the provider’s scheduled backups.
Variable Type Null Description okbool no Read worked. availablebool no Own backups are offered. limitint no Own backups the server may keep. backupslist no Own backups. backups[].idint no Backup id. backups[].created_atstring no When it was made. backups[].size_bytesint no Size. backups[].statusstring no running, done or failed. scheduledAccessstring no none, view, restore or files. scheduledlist no Scheduled backups (owner only, else empty). scheduled[].idint no Backup id. scheduled[].created_atstring no When it was made. scheduled[].size_bytesint no Size. scheduled[].can_restorebool no May be restored. scheduled[].can_filesbool no Single files can be downloaded.
POST /portal/hosts/{host}/guests/{type}/{vmid}/backups/scheduled/{backup}/files: Files in one folder of a scheduled backup (POST path, empty = top folder). The first listing can take a minute. Use it with a form and data-nx-fill.
Variable Type Null Description okbool no Listing worked. errorstring yes Why it failed (only when ok is false). entrieslist no Files and folders. entries[].pathstring no Opaque path (post it again, or use it in the download link). entries[].namestring no Name. entries[].folderbool no A folder. entries[].sizeint no Bytes. entries[].mtimeint no Unix time changed.
GET /portal/hosts/{host}/guests/{type}/{vmid}/firewall/data: Firewall rules in order.
Variable Type Null Description rowslist no Rows. rows[].idint no Rule id. rows[].directionstring no in or out. rows[].actionstring no ACCEPT, DROP or REJECT. rows[].protostring no Protocol, empty = any. rows[].dportstring no Destination port. rows[].sportstring no Source port. rows[].sourcestring no Source address. rows[].deststring no Destination address. rows[].commentstring no Comment. rows[].enabledint no 1 when active. rows[].lockedbool no Set by the provider (cannot be changed). totalint no Row count. pageint no Page. perPageint no Rows per page. errorstring yes Why the read failed (only then).
GET /portal/hosts/{host}/guests/{type}/{vmid}/firewall/presets: Rule presets the customer can apply.
Variable Type Null Description okbool no Read worked. presetslist no Presets. presets[].idint no Preset id. presets[].namestring no Name. presets[].descriptionstring no Description.
GET /portal/hosts/{host}/guests/{type}/{vmid}/iso: CD/DVD of a virtual machine (read live).
Variable Type Null Description okbool no Read worked. mountedobject yes The inserted ISO, null when none. mounted.namestring no Name. mounted.boot_oncebool no The server starts from it once. mounted.volidstring no Always empty for customers. mounted.slotstring no Always empty for customers. availablelist no ISOs that can be inserted. available[].idint no Post as iso_id. available[].namestring no Name. available[].sizeint no Bytes. hasFreeSlotbool no An ISO can be inserted.
GET /portal/hosts/{host}/guests/{type}/{vmid}/boot: Boot settings and rescue mode of a virtual machine (read live).
Variable Type Null Description okbool no Read worked. firststring no First boot device: disk, cd or net. firmwarestring no seabios (BIOS) or ovmf (UEFI). first_labelstring no First boot device in words. firmware_labelstring no Firmware in words. tpmbool no Has a TPM (stays on UEFI). rescuebool no Rescue mode is on. rescueAvailablebool no A rescue image is offered.
"internal_network" : false ,
"provider_note_html" : null ,
"reason" : " Abuse report " ,
"message" : " Debian 10 reaches end of life on 2026-12-01. Reinstall with a newer version. "
"prefix" : " 2001:db8:1::/64 " ,
"ptr" : " web.example.com " ,
"public" : " 203.0.113.1:20001 " ,
"delete_url" : " /portal/hosts/1/guests/qemu/100 "
"domain" : " shop.example.com " ,
"check_url" : " /portal/hosts/1/guests/qemu/100 " ,
"delete_url" : " /portal/hosts/1/guests/qemu/100 "
"used_bytes" : 1073741824 ,
"price_per_hour" : " 0.0068 EUR " ,
"month_to_date" : " 1.20 EUR " ,
"gateway_subscription" : false ,
"delete_url" : " /portal/hosts/1/guests/qemu/100 "
"leave_url" : " /portal/hosts/1/guests/qemu/100 "
"data_url" : " /portal/hosts/1/guests/qemu/100 " ,
"create_url" : " /portal/hosts/1/guests/qemu/100 " ,
"rollback_url" : " /portal/hosts/1/guests/qemu/100 " ,
"delete_url" : " /portal/hosts/1/guests/qemu/100 " ,
"data_url" : " /portal/hosts/1/guests/qemu/100 " ,
"restore_url_template" : null ,
"delete_url_template" : null ,
"scheduled_restore_url_template" : null ,
"scheduled_files_url_template" : null ,
"scheduled_download_url_template" : null
"data_url" : " /portal/hosts/1/guests/qemu/100 " ,
"presets_url" : " /portal/hosts/1/guests/qemu/100 " ,
"apply_preset_url" : " /portal/hosts/1/guests/qemu/100 " ,
"add_url" : " /portal/hosts/1/guests/qemu/100 " ,
"rule_url_template" : " /portal/hosts/1/guests/qemu/100/firewall/rules/{id} " ,
"delete_url_template" : " /portal/hosts/1/guests/qemu/100/firewall/rules/{id}/delete "
"state_url" : " /portal/hosts/1/guests/qemu/100 " ,
"insert_url" : " /portal/hosts/1/guests/qemu/100 " ,
"eject_url" : " /portal/hosts/1/guests/qemu/100 "
"state_url" : " /portal/hosts/1/guests/qemu/100 " ,
"data_url" : " /portal/hosts/1/guests/qemu/100 " ,
"read_url" : " /portal/hosts/1/guests/qemu/100 " ,
"add_url" : " /portal/hosts/1/guests/qemu/100 " ,
"remove_url" : " /portal/hosts/1/guests/qemu/100 " ,
"read_at" : " 2026-11-11 10:00:00 " ,
"fingerprint" : " SHA256:abc "
One form posting to save_url: game_type_id (one of the types), game_image (one of the type’s images, when it has any), game_vars[<env>] (the type’s variables), confirm (type confirm_word, only for a reinstall) and password (the customer’s password). A new version, image or server type reinstalls the server; settings only apply at the next restart. Post only the variables of the picked type.
Title: Change game settings
Area: customer portal
Template: templates/services/game.twig (services/game.twig)
URL: /portal/services/{id}/game
Variable Type Null Description service_namestring no Name of the game server. gameslist no The game and the server types the customer may pick. games[].slugstring no Game key. games[].namestring no Game name. games[].image_urlurl yes Game picture, null when none. games[].typeslist no Server types. games[].types[].idint no Post as game_type_id. games[].types[].slugstring no Type key. games[].types[].namestring no Type name. games[].types[].descriptionstring no Short description, may be empty. games[].types[].imageslist no Java versions to pick (post as game_image), empty when fixed. games[].types[].images[].labelstring no Value and label. games[].types[].variableslist no Settings the customer may change (post as game_vars[<env>]). games[].types[].variables[].envstring no Field key. games[].types[].variables[].labelstring no Label. games[].types[].variables[].helpstring no Hint, may be empty. games[].types[].variables[].modestring no choice (a select of options) or text. games[].types[].variables[].versionbool no Changing it reinstalls the server. games[].types[].variables[].optionslist no Choices of a choice field. games[].types[].variables[].options[].valuestring no Value. games[].types[].variables[].options[].labelstring no Label. games[].types[].variables[].maxlengthint no Longest value of a text field. games[].types[].variables[].valuestring no The current value (for the current type), else the default. currentobject no What the server runs now. current.gamestring yes Game slug. current.typestring yes Server type slug. current.type_idint no Server type id. current.imagestring yes Java version, null when fixed. reinstall_possiblebool no The customer may change version or type (then ask for confirm). confirm_wordstring no The word to type into confirm for a reinstall. save_urlurl no POST the form here. back_urlurl no The service page.
Action Method Target Fields Errors savePOST /portal/services/{id}/game game_type_id: Server type id. game_image: Java version (when the type has images). game_vars[<env>]: Setting values. confirm: confirm_word, only for a reinstall. password: The customer’s password.The password is not right. Too many attempts. Please wait a minute. Sign in as the customer to change the game settings.
"service_name" : " My Minecraft " ,
"env" : " MINECRAFT_VERSION " ,
"label" : " Minecraft version " ,
"reinstall_possible" : true ,
"confirm_word" : " REINSTALL " ,
"save_url" : " /portal/services/1/game " ,
"back_url" : " /portal/services/1 "
The customer’s service products of one section: hosting, games or other (the routes hosting and games use this page too).
Title: My services
Area: customer portal
Template: templates/services/index.twig (services/index.twig)
URL: /portal/services
Variable Type Null Description sectionstring no other, hosting or games. serviceslist no Services of this section. services[].namestring no Service name. services[].urlurl no The service page. services[].statusstring no pending, active, suspended, cancelled or failed. services[].planstring no Product name, empty for a custom service. services[].renews_atdatetime yes Next renewal, null when none. services[].pricemoney yes Price per period (formatted), null when not billed. shop_openbool no The shop is open (show an order link).
"url" : " /portal/services/1 " ,
One service: its state, the subscription (auto-renew, renew now, cancel, plan changes, add-ons) and, for web hosting and game servers, the panel card. “Open” posts to module.open_url (a form with target=“_blank”): NexoVirt signs the customer in and hands over to the panel. nx.remote_password_form() places the panel password form when module.password is true.
Title: Service
Area: customer portal
Template: templates/services/show.twig (services/show.twig)
URL: /portal/services/{id}
Optional blocks (at most once): nx.remote_password_form(), nx.ai_key()
Variable Type Null Description serviceobject no The service. service.idint no Service id (for the service_* routes). service.namestring no Service name. service.statusstring no pending, active, suspended, cancelled or failed. service.planstring no Product or package name, empty when none. service.sectionstring no other, hosting (web hosting) or games (game server). service.pricemoney yes Price per period (formatted), null when free or not billed. service.period_daysint no Days per period, 0 when not billed. service.freebool no Free product: renews by itself until cancelled. service.billedbool no The subscription actions apply (an active or suspended service billed here). service.paid_untildatetime yes End of the paid period, null when not billed. service.renews_atdatetime yes Next renewal, null when cancelled or not billed. service.delete_atdatetime yes When a cancelled service ends for good, null otherwise. service.ordered_atdatetime yes Ordered. service.active_sincedatetime yes Active since, null before the activation. service.auto_renewbool no Auto-renew from the balance is on. service.cancelledbool no The customer cancelled it (it runs until paid_until). service.cancelled_atdatetime yes When it was cancelled, null otherwise. service.gateway_subscriptionbool no Paid automatically by card or PayPal. service.messagestring yes A state message for the customer (being set up, suspended, failed), null when none. service.note_htmlhtml yes Note from the provider (escaped, line breaks kept), null when none. service.manage_urlurl yes Manage link of a service without a panel card (https, open in a new tab), null when none. service.usage_confirmobject yes A free service asks the customer to confirm it is still used (post to service_usage_confirm), null otherwise. service.usage_confirm.due_atdatetime yes Confirm by. service.usage_confirm.suspendedbool no Suspended because it was not confirmed. plan_optionslist no Other plans to switch to now (post plan_id and quoted to service_plan). plan_options[].plan_idint no Plan id. plan_options[].namestring no Plan name. plan_options[].pricemoney no Charged now for the rest of the paid period (formatted, 0 when cheaper). plan_options[].quotedint no The amount now in cents: post it as quoted (a higher price is refused). plan_options[].period_pricemoney no Price per period after the switch. addon_offerslist no Add-ons to buy (post extra_id, quantity and quoted to service_addons). addon_offers[].idint no Add-on id (extra_id). addon_offers[].namestring no Add-on name. addon_offers[].pricemoney no Charged now per unit (formatted). addon_offers[].quotedint no The amount now per unit in cents: post it as quoted. addon_offers[].period_pricemoney no Price per unit with every renewal. addon_offers[].maxint no Highest quantity. addonslist no Bought add-ons. addons[].idint no Row id. addons[].namestring no Add-on name. addons[].quantityint no Quantity. addons[].remove_urlurl no Remove (POST). change_blockstring yes Why the plan and add-ons cannot change now, null when they can. moduleobject yes The panel card of a web hosting or game server service, null for other services. module.kindstring no plesk, hestia, pterodactyl, litellm or other. module.labelstring no Panel name (Plesk, HestiaCP, Pterodactyl, Pelican). module.logo_urlurl yes Panel logo, null when none. module.statestring no pending (being set up), waiting (setup takes longer), ready or inactive. module.noticestring yes A note for the customer, null when none. module.domainstring yes Main domain of a web hosting service, null when none. module.addressstring yes Game server address, null when none. module.domainslist no Every website of the account (when more than one). module.domains[].namestring no Domain. module.open_urlurl yes Single sign-on: POST here (a form, target _blank), null when not available. module.panel_urlurl yes Address of the panel (plain link), null when none or when open_url applies. module.linkslist no Pages of the panel (plain links). module.links[].labelstring no Link text. module.links[].urlurl no Link. module.usageobject yes Live game server usage, null when unknown. module.usage.statestring yes running, offline … module.usage.cpufloat yes CPU in percent. module.usage.memory_mbint yes Memory in MB. module.usage.disk_mbint yes Disk in MB. module.web_usagelist no What the hosting panel reported (disk, mailboxes, …). module.web_usage[].namestring no What is counted. module.web_usage[].usedstring no Used (readable). module.web_usage[].limitstring yes Limit (readable), null when unlimited. module.web_usage[].percentint no Used in percent, 0 when unlimited. module.usage_atdatetime yes When web_usage was checked, null when never. module.gamestring yes Game, server type and version, null for web hosting. module.game_pendingbool no A game change is in progress. module.game_urlurl yes Change game settings page, null when nothing may change now. module.passwordbool no The customer may set the panel password (nx.remote_password_form()). module.ai_usageobject yes AI access usage (kind litellm), null for other services. Never the key itself: nx.ai_key() shows the base URL and the Show key / New key buttons. module.ai_usage.billingstring no flat (included budget) or metered (pay per use). module.ai_usage.spend_usdstring no Spend this period in USD (readable). module.ai_usage.budget_usdstring yes Included budget in USD (readable), null when none. module.ai_usage.chargedstring yes Charged from the balance this period (readable), null for a flat product. module.ai_usage.runway_daysint yes Days the balance lasts, null when unknown. module.ai_usage.balance_used_upbool no Suspended because the balance is used up. module.ai_usage.base_urlstring no API base URL. module.ai_usage.key_hintstring no Last 4 characters of the key, empty when unknown. module.ai_usage.modelslist no Usage per model. module.ai_usage.models[].modelstring no Model name. module.ai_usage.models[].requestsint no Requests. module.ai_usage.models[].tokensint no Tokens. module.ai_usage.models[].spend_usdstring no Spend in USD (readable). module.ai_usage.updated_atdatetime yes When the usage was pulled, null when never.
Key True when billingThe subscription actions apply. cancelThe service can be cancelled (active, billed here, not cancelled yet).
Action Method Target Fields Errors auto_renewPOST /portal/services/{id}/auto-renew on: 1 = on, 0 = off.none renewPOST /portal/services/{id}/renew none none planPOST /portal/services/{id}/plan plan_id: plan_options[].plan_id. quoted: plan_options[].quoted.none addonPOST /portal/services/{id}/addons extra_id: addon_offers[].id. quantity: 1 to max. quoted: addon_offers[].quoted.none addon_removePOST /portal/services/{id}/addons/{addon}/remove none none cancelGET /portal/services/{id}/cancel none none cancel_withdrawPOST /portal/services/{id}/cancel/withdraw none none usage_confirmPOST /portal/services/{id}/usage-confirm none Too many attempts. Please wait a minute. subscription_cancelPOST /portal/services/{id}/subscription/cancel none none openPOST /portal/services/{id}/open none Too many attempts. Please wait a minute. gameGET /portal/services/{id}/game none none
"gateway_subscription" : false ,
"due_at" : " 2026-11-20 00:00:00 " ,
"period_price" : " 10.00 EUR "
"period_price" : " 1.00 EUR " ,
"remove_url" : " /portal/services/1/addons/4/remove "
"url" : " https://panel.example.com/list/web/ "
"balance_used_up" : false ,
"base_url" : " https://llm.example.com/v1 " ,
A server share invitation. Accepting checks again that the signed-in customer has the invited address.
Title: Shared server
Area: customer portal
Template: templates/shares/accept.twig (shares/accept.twig)
URL: /portal/shares/accept/{token}
Variable Type Null Description validbool no The invitation can be accepted (false: expired, used or unknown; every other value is empty). owner_emailstring no Address of the owner who sent the invitation; empty unless you are signed in with the invited address. server_namestring no Name of the shared server. rolestring no manage or view. accept_urlurl yes POST here (with csrf_field()) to accept, null when not valid.
Action Method Target Fields Errors acceptPOST /portal/shares/accept/{token} none This invitation is not valid for your account. Sign in with the invited email address, or ask the owner for a new invitation.
"accept_url" : " /portal/shares/accept/0123abcd "
Shown for a server (route server_shop_cancel) and a service (route service_cancel). A form posting reason (optional, up to 255 characters) to cancel_url cancels it: the server or service runs until paid_until, then stops, and ends for good on delete_at. An hourly server ends at once.
Title: Cancel your subscription
Area: customer portal
Template: templates/shop/cancel.twig (shop/cancel.twig)
URL: /portal/hosts/{host}/guests/{type}/{vmid}/shop/cancel
Variable Type Null Description subjectstring no server or service. namestring no Name of the server or service. planstring no Product name, may be empty. paid_untildatetime yes It keeps running until then. delete_atdatetime yes A server and its data are deleted (a service ends for good) then. hourlybool no An hourly server: cancelling ends and deletes it now. gateway_subscriptionbool no Paid automatically: no further payment is taken. cancelled_atdatetime yes Already cancelled then (show no form), null otherwise. cancel_urlurl no POST the form here. back_urlurl no Keep it: back to the server or service page.
Action Method Target Fields Errors cancelPOST /portal/services/{id}/cancel reason: Why the customer leaves (optional).none cancel_serverPOST /portal/hosts/{host}/guests/{type}/{vmid}/shop/cancel reason: Why the customer leaves (optional).none
"paid_until" : " 2026-12-01 00:00:00 " ,
"delete_at" : " 2026-12-04 00:00:00 " ,
"gateway_subscription" : false ,
"cancel_url" : " /portal/services/1/cancel " ,
"back_url" : " /portal/services/1 "
One category of the shop. Filters are a plain GET form to form_url: one select per filter (name = key, empty value = any), price_min / price_max (decimal numbers) when price is set, sort, and game when game_slug is set. Unknown values are ignored by NexoVirt. A filter is listed only when the products differ in it.
Title: Shop category
Area: customer portal
Template: templates/shop/category.twig (shop/category.twig)
URL: /portal/shop/c/{slug}
Variable Type Null Description categoryobject no The category. category.namestring no Category name. category.descriptionstring no Description, may be empty. category.image_urlurl yes Category picture, null when none. category.icon_svghtml no The category icon as an inline SVG (class nx-icon). productslist no The products matching the filters, in the chosen order. products[].idint no Product id. products[].namestring no Product name as shown in the shop. products[].taglinestring yes Short line under the name, null when none. products[].badgestring yes Highlight badge (for example Popular), null when none. products[].descriptionstring yes Product description, null when none. products[].typestring no server or service. products[].type_labelstring no Virtual machine, Container or Service; empty when the provider hides the server type. products[].freebool no A free product (nothing to pay). products[].pricemoney no Price per period for this customer (discounts included). products[].list_pricemoney yes Price before the customer discount, null when there is no discount. products[].periodstring no Length of one period. products[].period_namestring no Name of the period. products[].setup_feemoney yes One-time setup fee, null when none. products[].specsobject yes Size of a server product, null for a service. products[].specs.coresint no vCPU cores. products[].specs.memory_mbint no Memory in MB. products[].specs.disk_gbint no Boot disk in GB. products[].specs.disksstring no All disks as text (sizes and disk types). products[].featureslist no Feature lines (plain text): traffic, port speed, IP addresses, CPU, backups, the provider’s own lines … products[].gameslist no Games of a game server product (empty otherwise). products[].games[].namestring no Game name. products[].games[].image_urlurl yes Game picture, null when none. products[].other_periodslist no The other billing periods of the product. products[].other_periods[].namestring no Period name. products[].other_periods[].pricemoney no Price of that period. products[].stock_leftint yes Units left, null when not limited. products[].stock_labelstring no Sold out, Only 3 left, or empty. products[].sold_outbool no Nothing left to order. products[].coveredbool no The customer’s balance covers the first payment. products[].order_urlurl no The order page. totalint no Products in the category before filtering. filteredbool no A filter is active (show “Clear filters”). filterslist no Select filters of this category. filters[].keystring no GET name: cores, memory, disk, period, location, os, network or type. filters[].labelstring no Readable name. filters[].optionslist no Choices (add your own empty “Any” choice). filters[].options[].valuestring no GET value. filters[].options[].labelstring no Readable name. filters[].options[].activebool no Currently chosen. priceobject yes The price range filter, null when not shown. price.labelstring no Readable name. price.minstring no Lowest product price as a decimal number (placeholder). price.maxstring no Highest product price as a decimal number (placeholder). price.value_minstring yes Current price_min, null when not set. price.value_maxstring yes Current price_max, null when not set. sortobject no Sort order (GET name sort). sort.valuestring no Current value, empty = recommended. sort.optionslist no Choices. sort.options[].valuestring no GET value. sort.options[].labelstring no Readable name. gameslist no Game tiles of a game server category with several games (each narrows the products), else empty. games[].namestring no Game name. games[].image_urlurl yes Game picture, null when none. games[].urlurl no This category for that game (for the active one: without the game). games[].activebool no Currently chosen. gameobject yes The one game of a category that sells a single game, else null. game.namestring no Game name. game.image_urlurl yes Game picture, null when none. game_slugstring yes The chosen game (send it as game with the filter form), null when none. form_urlurl no GET the filter form here; also the link without filters. balancemoney no The customer’s balance. back_urlurl no The shop start page.
"icon_svg" : " <svg></svg> "
"type_label" : " Virtual machine " ,
"period_name" : " Monthly " ,
"order_url" : " /portal/shop/3 "
"label" : " 2 vCPU or more " ,
"label" : " 2 vCPU or more "
"url" : " /portal/shop/c/games?game=minecraft " ,
"form_url" : " /portal/shop/c/cloud " ,
"back_url" : " /portal/shop "
The shop start page. mode categories: one card per category (link to its page); mode products: the product cards (no categories in use, or the web hosting / game server sections, route shop_section). Prices are the customer’s own (discounts included).
Title: Shop
Area: customer portal
Template: templates/shop/index.twig (shop/index.twig)
URL: /portal/shop
Variable Type Null Description modestring no categories or products. sectionstring yes hosting or games on the section pages, else null. categorieslist no Category cards (mode categories), Other last for products without a category. categories[].namestring no Category name. categories[].descriptionstring no Description, may be empty. categories[].urlurl no The category page. categories[].iconstring yes Icon name (server, cloud, box, cpu, database, world, shield, rocket, stack), null when the category has an image. categories[].icon_svghtml no The icon as an inline SVG (class nx-icon, fill currentColor). categories[].image_urlurl yes Category picture, null when none. categories[].countint no Number of products. categories[].frommoney yes Lowest price, null when unknown. productslist no Product cards (mode products). products[].idint no Product id. products[].namestring no Product name as shown in the shop. products[].taglinestring yes Short line under the name, null when none. products[].badgestring yes Highlight badge (for example Popular), null when none. products[].descriptionstring yes Product description, null when none. products[].typestring no server or service. products[].type_labelstring no Virtual machine, Container or Service; empty when the provider hides the server type. products[].freebool no A free product (nothing to pay). products[].pricemoney no Price per period for this customer (discounts included). products[].list_pricemoney yes Price before the customer discount, null when there is no discount. products[].periodstring no Length of one period. products[].period_namestring no Name of the period. products[].setup_feemoney yes One-time setup fee, null when none. products[].specsobject yes Size of a server product, null for a service. products[].specs.coresint no vCPU cores. products[].specs.memory_mbint no Memory in MB. products[].specs.disk_gbint no Boot disk in GB. products[].specs.disksstring no All disks as text (sizes and disk types). products[].featureslist no Feature lines (plain text): traffic, port speed, IP addresses, CPU, backups, the provider’s own lines … products[].gameslist no Games of a game server product (empty otherwise). products[].games[].namestring no Game name. products[].games[].image_urlurl yes Game picture, null when none. products[].other_periodslist no The other billing periods of the product. products[].other_periods[].namestring no Period name. products[].other_periods[].pricemoney no Price of that period. products[].stock_leftint yes Units left, null when not limited. products[].stock_labelstring no Sold out, Only 3 left, or empty. products[].sold_outbool no Nothing left to order. products[].coveredbool no The customer’s balance covers the first payment. products[].order_urlurl no The order page. balancemoney yes The customer’s balance. discountint no Customer discount in percent (already in the prices), 0 when none. openbool no The shop takes orders.
"url" : " /portal/shop/c/cloud " ,
"icon_svg" : " <svg></svg> " ,
"type_label" : " Virtual machine " ,
"period_name" : " Monthly " ,
"order_url" : " /portal/shop/3 "
Order one product. The theme shows the product (name, specs, features, billing periods as links to their own order page); nx.order_form() places the order itself: notices (sold out, balance too low, free product), game choice of a game server, operating system, location, name, root password, SSH keys, add-ons, billing, the price summary that follows the choices, coupon, the consent checkboxes of the shop’s legal texts and the pay buttons (balance, card, PayPal; a gateway opens through a NexoVirt hand-off page). Every price is computed again by NexoVirt when the order is placed.
Title: Order
Area: customer portal
Template: templates/shop/order.twig (shop/order.twig)
URL: /portal/shop/{id}
Required blocks (exactly once): nx.order_form()
Variable Type Null Description productobject no The product. product.idint no Product id. product.namestring no Product name as shown in the shop. product.taglinestring yes Short line under the name, null when none. product.badgestring yes Highlight badge (for example Popular), null when none. product.descriptionstring yes Product description, null when none. product.typestring no server or service. product.type_labelstring no Virtual machine, Container or Service; empty when the provider hides the server type. product.freebool no A free product (nothing to pay). product.pricemoney no Price per period for this customer (discounts included). product.list_pricemoney yes Price before the customer discount, null when there is no discount. product.periodstring no Length of one period. product.period_namestring no Name of the period. product.setup_feemoney yes One-time setup fee, null when none. product.specsobject yes Size of a server product, null for a service. product.specs.coresint no vCPU cores. product.specs.memory_mbint no Memory in MB. product.specs.disk_gbint no Boot disk in GB. product.specs.disksstring no All disks as text (sizes and disk types). product.featureslist no Feature lines (plain text): traffic, port speed, IP addresses, CPU, backups, the provider’s own lines … product.gameslist no Games of a game server product (empty otherwise). product.games[].namestring no Game name. product.games[].image_urlurl yes Game picture, null when none. product.other_periodslist no The other billing periods of the product. product.other_periods[].namestring no Period name. product.other_periods[].pricemoney no Price of that period. product.stock_leftint yes Units left, null when not limited. product.stock_labelstring no Sold out, Only 3 left, or empty. product.sold_outbool no Nothing left to order. product.coveredbool no The customer’s balance covers the first payment. product.order_urlurl no The order page. product.periodslist no Billing periods when the product has several (each its own order page), else empty. product.periods[].namestring no Period name. product.periods[].pricemoney no Price of the period. product.periods[].savingstring yes Saving against the dearest period, for example “Save 17 %”, null when none. product.periods[].urlurl no The order page of that period. product.periods[].activebool no The period of this page. product.locationslist no Locations the customer picks from in the form (names), empty when only one. product.networkstring yes Network note, for example “Internal network (no public IP)”, null for a normal public network. product.hourlyobject yes Set when the product can also be billed by the hour, else null. product.hourly.price_per_hourstring no Price per hour (four decimals). product.hourly.minmoney no Balance needed to start. balancemoney no The customer’s balance. back_urlurl no Back to the product’s category or the shop.
Action Method Target Fields Errors placePOST /portal/shop/{id}/order (order_form): Sent by nx.order_form(): the order paid from the balance.none checkoutPOST /portal/shop/{id}/checkout (order_form): Sent by nx.order_form(): pay at a gateway (a NexoVirt hand-off page continues there).none
"type_label" : " Virtual machine " ,
"period_name" : " Monthly " ,
"order_url" : " /portal/shop/3 " ,
"price_per_hour" : " 0.0068 EUR " ,
"back_url" : " /portal/shop "
The customer’s stored SSH public keys, used when a server is created or reinstalled.
Title: SSH keys
Area: customer portal
Template: templates/ssh_keys.twig (ssh_keys.twig)
URL: /portal/ssh-keys
Variable Type Null Description keyslist no Stored keys, oldest first. keys[].idint no Key id. keys[].namestring no Name the customer gave the key. keys[].fingerprintstring no SHA256 fingerprint. keys[].created_atdatetime yes When the key was added. keys[].delete_urlurl no POST here (with csrf_field()) to delete the key.
Action Method Target Fields Errors addPOST /portal/ssh-keys name: Key name (optional). public_key: The OpenSSH public key.Invalid public key. Key already added. deletePOST /portal/ssh-keys/{id}/delete none none
"fingerprint" : " SHA256:Zm9vYmFy " ,
"created_at" : " 2026-11-10 10:00:00 " ,
"delete_url" : " /portal/ssh-keys/1/delete "
Service status: location states with 90 days of uptime, open and planned notices. Public node names only.
Title: Status
Area: customer portal
Template: templates/status.twig (status.twig)
URL: /portal/status
Variable Type Null Description modestring no builtin, or embed when the provider’s own status page is shown. embed_urlurl yes Page to show in a frame (mode embed), else null. overallstring no operational, maintenance, degraded or outage. nodeslist no Locations (empty in embed mode). nodes[].namestring no Public name. nodes[].statestring no operational, maintenance or outage. nodes[].dayslist no Oldest first. nodes[].days[].datestring no Day (Y-m-d). nodes[].days[].uptimefloat yes Uptime in percent, null without data. noticeslist no Open notices, newest first. notices[].titlestring no Title. notices[].levelstring no maintenance, incident, info or roadmap. notices[].body_htmlhtml no Text, escaped, line breaks kept. notices[].starts_atdatetime yes Start. otherlist no Planned notices, then recently resolved ones. other[].titlestring no Title. other[].levelstring no maintenance, incident, info or roadmap. other[].body_htmlhtml no Text, escaped, line breaks kept. other[].starts_atdatetime yes Start.
"overall" : " operational " ,
"title" : " Network maintenance " ,
"starts_at" : " 2026-11-10 10:00:00 "
"title" : " Network maintenance " ,
"starts_at" : " 2026-11-10 10:00:00 "
The customer’s support tickets and the form to open a new one.
Title: Tickets
Area: customer portal
Template: templates/tickets/index.twig (tickets/index.twig)
URL: /portal/tickets
Variable Type Null Description ticketslist no Tickets, last reply first. tickets[].numberint no Ticket number. tickets[].subjectstring no Subject. tickets[].statusstring no open (waiting for support), answered or closed. tickets[].updated_atdatetime yes Last reply. tickets[].urlurl no The ticket page. serverslist no Servers a ticket can be about. servers[].valuestring no Value of the server field. servers[].labelstring no Server name. topicslist no Topics; when not empty the topic field is required. topics[].idint no Value of the topic field. topics[].namestring no Topic name.
Action Method Target Fields Errors createPOST /portal/tickets (multipart) subject: Subject (3 to 150 characters). body: Message (plain text). server: A server value, optional. topic: A topic id (required when topics exist). attachments[]: Files, optional.Too many tickets in the last hour.
"updated_at" : " 2026-11-10 10:00:00 " ,
"url" : " /portal/tickets/1234 "
One support ticket: its messages, reply form and close button.
Title: Ticket
Area: customer portal
Template: templates/tickets/show.twig (tickets/show.twig)
URL: /portal/tickets/{number}
Variable Type Null Description ticketobject no The ticket. ticket.numberint no Ticket number. ticket.subjectstring no Subject. ticket.statusstring no open (waiting for support), answered or closed. ticket.created_atdatetime yes Opened. ticket.topicstring yes Topic name, null when none. ticket.serverstring yes Server the ticket is about, null when none. messageslist no Messages, oldest first. messages[].fromstring no you or staff. messages[].namestring no You or Support. messages[].body_htmlhtml no Message text, escaped, line breaks kept. messages[].atdatetime yes Sent. messages[].attachmentslist no Files of the message. messages[].attachments[].namestring no File name. messages[].attachments[].sizeint no Bytes. messages[].attachments[].urlurl no Download link (GET); add ?inline=1 to show an image.
Key True when replyThe customer may reply (always true). closeThe ticket is not closed yet.
Action Method Target Fields Errors replyPOST /portal/tickets/{number}/reply (multipart) body: Message (plain text). attachments[]: Files, optional.Too many messages in the last hour. closePOST /portal/tickets/{number}/close none none
"created_at" : " 2026-11-10 10:00:00 " ,
"at" : " 2026-11-10 10:00:00 " ,
"url" : " /portal/tickets/1/attachments/1 "
WireGuard access to the customer’s servers. nx.vpn_devices() is required: device list, add device, new config, revoke; the config and its private key are shown once inside the block. Theme scripts never run on this page.
Title: VPN
Area: customer portal
Template: templates/vpn.twig (vpn.twig)
URL: /portal/vpn
Theme JavaScript: never runs on this page
Required blocks (exactly once): nx.vpn_devices()
Variable Type Null Description limitint no Most devices the customer may have. usedint no Devices the customer has. reachablelist no Servers reachable over the VPN. reachable[].namestring no Server name, empty when unknown. reachable[].ipstring no Address reached through the VPN.