Websupport
v0.1.1Manage a Websupport account: DNS, FTP, hosting, databases, mailboxes, VPS and invoices.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ws_auth_check Verify API credentials
Verify that the configured Websupport API key and secret authenticate successfully. Returns {verified: true} on success. Use this first when diagnosing 401 errors.
ws_dns_zone_get Get DNS zone
Get the DNS zone attached to a service.
| Parameter | Type | Description |
|---|---|---|
service * | string | Service identifier the zone belongs to. See ws_service_list for the account's services. |
ws_dns_record_list List DNS records
List DNS records in a service zone, with paging and server-side filtering. Returns the API pagination envelope unflattened.
| Parameter | Type | Description |
|---|---|---|
service * | string | Service identifier the zone belongs to. See ws_service_list for the account's services. |
descending | boolean | Reverse the sort order. |
filters | object | Server-side filters. Note the type list here excludes DNSSEC and NS, which are creatable but not filterable. |
page | integer | 1-based page number. |
rowsPerPage | integer | Records per page. |
sortBy | string | Field name to sort by. |
ws_ftp_account_list List FTP accounts
List FTP accounts on a hosting service. Passwords are never returned — the API response schema has no password field.
| Parameter | Type | Description |
|---|---|---|
service * | string | Service identifier the zone belongs to. See ws_service_list for the account's services. |
descending | boolean | Reverse the sort order. |
page | integer | 1-based page number. |
rowsPerPage | integer | Records per page. |
sortBy | string | Field name to sort by. |
ws_ftp_account_get Get FTP account
Get one FTP account by id. The password is never returned.
| Parameter | Type | Description |
|---|---|---|
ftpAccount * | string | FTP account id. |
service * | string | Service identifier the zone belongs to. See ws_service_list for the account's services. |
ws_user_get Get account
Get the account record: id, contact details, billing profiles, market and currency. SENSITIVE — the response includes the billing address, email address, phone number, and a verifyUrl containing a live account-verification key. Do not echo the full response to the user or store it; read the specific field needed.
| Parameter | Type | Description |
|---|---|---|
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_service_list List services
List the account's services (hosting, domains, VPS and so on). Returns the v1 envelope {items, pager}. Service ids from here are the candidates for the v2 tools' `service` argument.
| Parameter | Type | Description |
|---|---|---|
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_service_get Get service
Get one service by id, including its type, status and expiry. Use ws_service_list first to find the id.
| Parameter | Type | Description |
|---|---|---|
serviceId * | string | Service id, as returned by ws_service_list. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_zone_list List DNS zones
List the DNS zones on the account. For the records inside a zone use the v2 tool ws_dns_record_list — v1 record CRUD is deprecated and deliberately not exposed.
| Parameter | Type | Description |
|---|---|---|
page | integer | 1-based page number. |
pagesize | integer | Records per page. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_zone_get Get DNS zone
Get one DNS zone by domain name.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Zone domain name, e.g. "example.com". |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_hosting_list List hosting services
List the hosting services on the account.
| Parameter | Type | Description |
|---|---|---|
page | integer | 1-based page number. |
pagesize | integer | Records per page. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_hosting_get Get hosting service
Get one hosting service by id or uuid, including its package, limits and current usage.
| Parameter | Type | Description |
|---|---|---|
hostingId * | string | Hosting id or uuid, as returned by ws_hosting_list. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_hosting_vhost_list List virtual hosts
List the virtual hosts (domains) served by a hosting service.
| Parameter | Type | Description |
|---|---|---|
hostingId * | string | Hosting id or uuid, as returned by ws_hosting_list. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_hosting_vhost_get Get virtual host
Get one virtual host by id, including its document root and domain configuration.
| Parameter | Type | Description |
|---|---|---|
hostingId * | string | Hosting id or uuid, as returned by ws_hosting_list. |
vhostId * | string | Virtual host id. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_hosting_stats Hosting statistics
Usage statistics for a hosting service. `kind` selects the series: size (disk usage), domain (per-domain traffic), or ftp (FTP activity).
| Parameter | Type | Description |
|---|---|---|
hostingId * | string | Hosting id or uuid, as returned by ws_hosting_list. |
kind * | string | Which statistics series to return. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_db_list List databases
List the databases on a hosting service.
| Parameter | Type | Description |
|---|---|---|
hostingId * | string | Hosting id or uuid the database belongs to. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_db_get Get database
Get one database by id, including its name, type and connection details.
| Parameter | Type | Description |
|---|---|---|
databaseId * | string | Database id, as returned by ws_db_list. |
hostingId * | string | Hosting id or uuid the database belongs to. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_db_users_list List database users
List the database users on a hosting service.
| Parameter | Type | Description |
|---|---|---|
hostingId * | string | Hosting id or uuid the database belongs to. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_db_stats Database statistics
Usage statistics for one database. `kind` selects the series: size (storage used) or cpu (query load).
| Parameter | Type | Description |
|---|---|---|
databaseId * | string | Database id, as returned by ws_db_list. |
hostingId * | string | Hosting id or uuid the database belongs to. |
kind * | string | Which statistics series to return. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_mailbox_list List mailboxes
List the mailboxes on a hosting service.
| Parameter | Type | Description |
|---|---|---|
hostingId * | string | Hosting id or uuid the mailbox belongs to. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_mailbox_get Get mailbox
Get one mailbox by id, including its address, quota and forwarding configuration.
| Parameter | Type | Description |
|---|---|---|
hostingId * | string | Hosting id or uuid the mailbox belongs to. |
mailboxId * | string | Mailbox id, as returned by ws_mailbox_list. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_mail_stats Mail statistics
Mail storage statistics for a hosting service. Supply `domain` to scope the figures to one domain; omit it for the whole service.
| Parameter | Type | Description |
|---|---|---|
hostingId * | string | Hosting id or uuid the mailbox belongs to. |
domain | string | Restrict the statistics to this domain. Omit for the whole hosting service. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_vps_list List VPS instances
List the VPS instances on the account.
| Parameter | Type | Description |
|---|---|---|
page | integer | 1-based page number. |
pagesize | integer | Records per page. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_vps_get Get VPS
Get one VPS by id or name, including its specification, IP addresses and power state.
| Parameter | Type | Description |
|---|---|---|
vpsId * | string | VPS id or name, as returned by ws_vps_list. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_vps_stats VPS statistics
Usage statistics for a VPS. `kind` selects the series: cpu (processor load) or traffic (network transfer).
| Parameter | Type | Description |
|---|---|---|
kind * | string | Which statistics series to return. |
vpsId * | string | VPS id or name, as returned by ws_vps_list. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_vps_vnc Get VPS console access
Get VNC console access details for a VPS. SENSITIVE — the response may carry a one-time console URL or session credential that grants direct machine access. Hand it to the user who asked for it and nothing else: do not log it, do not repeat it in a summary, and treat it as expiring.
| Parameter | Type | Description |
|---|---|---|
vpsId * | string | VPS id or name, as returned by ws_vps_list. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_invoice_list List invoices
List the account's invoices with their amounts, dates and payment status. Paying an invoice is deliberately out of scope for this server.
| Parameter | Type | Description |
|---|---|---|
page | integer | 1-based page number. |
pagesize | integer | Records per page. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_invoice_get Get invoice
Get one invoice by id, including line items, totals and payment status. Use ws_invoice_pdf for the document itself.
| Parameter | Type | Description |
|---|---|---|
invoiceId * | string | Invoice id, as returned by ws_invoice_list. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_invoice_pdf Get invoice PDF
Fetch an invoice as a PDF. `base64` returns the document encoded for a caller that will decode and save it. `binary` reports the size and type only — raw PDF bytes are never inlined into a tool result, because they would flood the conversation without being usable.
| Parameter | Type | Description |
|---|---|---|
invoiceId * | string | Invoice id, as returned by ws_invoice_list. |
format | string | base64 returns the encoded document; binary returns metadata and a byte count only. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |
ws_vps_snapshot_list List VPS snapshots
List the snapshots taken of a VPS, with their names and creation times.
| Parameter | Type | Description |
|---|---|---|
vpsId * | string | VPS id or name, as returned by ws_vps_list. |
userId | string | Account id, or the literal "self" for the authenticated account. Defaults to "self". |