399 lines
27 KiB
Markdown
399 lines
27 KiB
Markdown
# Operations
|
|
|
|
256 operations, generated from the API specification 1.0.0.
|
|
|
|
## status
|
|
|
|
Service status.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->status->pingGet()` | `GET /v1/ping` | Check that the API is responding |
|
|
|
|
## token
|
|
|
|
The key in use and its limits.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->token->get()` | `GET /v1/token` | See the key in use |
|
|
| `$client->token->limitsGet()` | `GET /v1/limits` | See the limits of the key |
|
|
|
|
## actions
|
|
|
|
Long-running operations.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->actions->get()` | `GET /v1/actions/{id}` | Follow a long-running operation |
|
|
|
|
## specification
|
|
|
|
This API described in OpenAPI.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->specification->openapiGet()` | `GET /v1/openapi.json` | Download this specification |
|
|
|
|
## sms
|
|
|
|
Send SMS and check balance and senders. Only for accounts with SMS active.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->sms->messagesCreate()` | `POST /v1/sms/messages` | Send an SMS (Idempotency-Key) |
|
|
| `$client->sms->messagesList()` | `GET /v1/sms/messages` | List sent messages |
|
|
| `$client->sms->messagesGet()` | `GET /v1/sms/messages/{id}` | See one SMS |
|
|
| `$client->sms->balanceGet()` | `GET /v1/sms/balance` | See the SMS balance |
|
|
| `$client->sms->sendersList()` | `GET /v1/sms/senders` | List the SMS senders |
|
|
| `$client->sms->sendersCreate()` | `POST /v1/sms/senders` | Request a sender |
|
|
| `$client->sms->statsGet()` | `GET /v1/sms/stats` | See sending statistics |
|
|
| `$client->sms->templatesList()` | `GET /v1/sms/templates` | List templates |
|
|
| `$client->sms->templatesCreate()` | `POST /v1/sms/templates` | Create a template |
|
|
| `$client->sms->templatesGet()` | `GET /v1/sms/templates/{id}` | See a template |
|
|
| `$client->sms->templatesUpdate()` | `PATCH /v1/sms/templates/{id}` | Change a template |
|
|
| `$client->sms->templatesDelete()` | `DELETE /v1/sms/templates/{id}` | Delete a template |
|
|
| `$client->sms->sendersGet()` | `GET /v1/sms/senders/{sender}` | See a sender request |
|
|
| `$client->sms->optOutsList()` | `GET /v1/sms/opt-outs` | List numbers that do not receive |
|
|
| `$client->sms->optOutsCreate()` | `POST /v1/sms/opt-outs` | Stop sending to a number |
|
|
| `$client->sms->messagesCancel()` | `POST /v1/sms/messages/{id}/cancel` | Cancel a scheduled SMS (Idempotency-Key) |
|
|
| `$client->sms->contactsList()` | `GET /v1/sms/contacts` | List contacts |
|
|
| `$client->sms->contactsCreate()` | `POST /v1/sms/contacts` | Create a contact |
|
|
| `$client->sms->contactsGet()` | `GET /v1/sms/contacts/{id}` | Get a contact |
|
|
| `$client->sms->contactsUpdate()` | `PATCH /v1/sms/contacts/{id}` | Update a contact |
|
|
| `$client->sms->contactsDelete()` | `DELETE /v1/sms/contacts/{id}` | Delete a contact |
|
|
| `$client->sms->groupsList()` | `GET /v1/sms/groups` | List contact groups |
|
|
| `$client->sms->groupsCreate()` | `POST /v1/sms/groups` | Create a contact group |
|
|
| `$client->sms->groupsGet()` | `GET /v1/sms/groups/{id}` | Get a contact group |
|
|
| `$client->sms->groupsUpdate()` | `PATCH /v1/sms/groups/{id}` | Rename a contact group |
|
|
| `$client->sms->groupsDelete()` | `DELETE /v1/sms/groups/{id}` | Delete a contact group |
|
|
| `$client->sms->otpCreate()` | `POST /v1/sms/otp` | Send a verification code (Idempotency-Key) |
|
|
| `$client->sms->otpGet()` | `GET /v1/sms/otp/{id}` | Get a verification code |
|
|
| `$client->sms->otpVerify()` | `POST /v1/sms/otp/{id}/verify` | Verify a code |
|
|
| `$client->sms->otpCancel()` | `POST /v1/sms/otp/{id}/cancel` | Cancel a verification code |
|
|
| `$client->sms->messagesBatch()` | `POST /v1/sms/messages/batch` | Send messages in a batch (Idempotency-Key) |
|
|
| `$client->sms->otpResend()` | `POST /v1/sms/otp/{id}/resend` | Resend a verification code |
|
|
| `$client->sms->webhookGet()` | `GET /v1/sms/webhook` | Get the delivery webhook |
|
|
| `$client->sms->webhookSet()` | `PUT /v1/sms/webhook` | Save the delivery webhook |
|
|
| `$client->sms->webhookDelete()` | `DELETE /v1/sms/webhook` | Delete the delivery webhook |
|
|
| `$client->sms->webhookTest()` | `POST /v1/sms/webhook/test` | Test the delivery webhook |
|
|
| `$client->sms->otpSettingsGet()` | `GET /v1/sms/otp-settings` | Get the verification code rules |
|
|
| `$client->sms->otpSettingsSet()` | `PUT /v1/sms/otp-settings` | Set the verification code rules |
|
|
| `$client->sms->creditsPrices()` | `GET /v1/sms/credits/prices` | SMS credit prices |
|
|
| `$client->sms->creditsPurchase()` | `POST /v1/sms/credits/purchase` | Buy SMS credits (Idempotency-Key) |
|
|
|
|
## emailCenter
|
|
|
|
Transactional email: sender domains, sending, templates, suppressions, statistics and webhooks. Only for accounts with E-mail Center active.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->emailCenter->messagesCreate()` | `POST /v1/email/messages` | Send an email (Idempotency-Key) |
|
|
| `$client->emailCenter->messagesList()` | `GET /v1/email/messages` | List emails |
|
|
| `$client->emailCenter->messagesBatch()` | `POST /v1/email/messages/batch` | Send emails in a batch (Idempotency-Key) |
|
|
| `$client->emailCenter->messagesGet()` | `GET /v1/email/messages/{id}` | See an email |
|
|
| `$client->emailCenter->messagesCancel()` | `POST /v1/email/messages/{id}/cancel` | Cancel a scheduled email (Idempotency-Key) |
|
|
| `$client->emailCenter->balanceGet()` | `GET /v1/email/balance` | See the email balance |
|
|
| `$client->emailCenter->statsGet()` | `GET /v1/email/stats` | See email statistics |
|
|
| `$client->emailCenter->domainsList()` | `GET /v1/email/domains` | List sender domains |
|
|
| `$client->emailCenter->domainsCreate()` | `POST /v1/email/domains` | Add a sender domain (Idempotency-Key) |
|
|
| `$client->emailCenter->domainsGet()` | `GET /v1/email/domains/{domain}` | See a sender domain |
|
|
| `$client->emailCenter->domainsDelete()` | `DELETE /v1/email/domains/{domain}` | Delete a sender domain |
|
|
| `$client->emailCenter->domainsVerify()` | `POST /v1/email/domains/{domain}/verify` | Verify a sender domain |
|
|
| `$client->emailCenter->domainsMailFrom()` | `PUT /v1/email/domains/{domain}/mail-from` | Set the MAIL FROM subdomain |
|
|
| `$client->emailCenter->templatesList()` | `GET /v1/email/templates` | List email templates |
|
|
| `$client->emailCenter->templatesCreate()` | `POST /v1/email/templates` | Create an email template (Idempotency-Key) |
|
|
| `$client->emailCenter->templatesGet()` | `GET /v1/email/templates/{id}` | See an email template |
|
|
| `$client->emailCenter->templatesUpdate()` | `PATCH /v1/email/templates/{id}` | Change an email template |
|
|
| `$client->emailCenter->templatesDelete()` | `DELETE /v1/email/templates/{id}` | Delete an email template |
|
|
| `$client->emailCenter->suppressionsList()` | `GET /v1/email/suppressions` | List suppressed addresses |
|
|
| `$client->emailCenter->suppressionsCreate()` | `POST /v1/email/suppressions` | Suppress an address (Idempotency-Key) |
|
|
| `$client->emailCenter->suppressionsDelete()` | `DELETE /v1/email/suppressions/{email}` | Remove a suppressed address |
|
|
| `$client->emailCenter->webhookGet()` | `GET /v1/email/webhook` | Get the email webhook |
|
|
| `$client->emailCenter->webhookSet()` | `PUT /v1/email/webhook` | Save the email webhook |
|
|
| `$client->emailCenter->webhookDelete()` | `DELETE /v1/email/webhook` | Delete the email webhook |
|
|
| `$client->emailCenter->webhookTest()` | `POST /v1/email/webhook/test` | Test the email webhook |
|
|
| `$client->emailCenter->campaignsList()` | `GET /v1/email/campaigns` | List campaigns |
|
|
| `$client->emailCenter->campaignsCreate()` | `POST /v1/email/campaigns` | Create a campaign (Idempotency-Key) |
|
|
| `$client->emailCenter->campaignsGenerate()` | `POST /v1/email/campaigns/generate` | Generate a campaign with AI |
|
|
| `$client->emailCenter->campaignsGet()` | `GET /v1/email/campaigns/{id}` | See a campaign |
|
|
| `$client->emailCenter->campaignsUpdate()` | `PATCH /v1/email/campaigns/{id}` | Change a campaign |
|
|
| `$client->emailCenter->campaignsDelete()` | `DELETE /v1/email/campaigns/{id}` | Delete a campaign |
|
|
| `$client->emailCenter->campaignsSpamCheck()` | `GET /v1/email/campaigns/{id}/spam-check` | Check a campaign for spam |
|
|
| `$client->emailCenter->campaignsSend()` | `POST /v1/email/campaigns/{id}/send` | Send a campaign now (Idempotency-Key) |
|
|
| `$client->emailCenter->campaignsSchedule()` | `POST /v1/email/campaigns/{id}/schedule` | Schedule a campaign (Idempotency-Key) |
|
|
| `$client->emailCenter->campaignsCancel()` | `POST /v1/email/campaigns/{id}/cancel` | Cancel a campaign (Idempotency-Key) |
|
|
| `$client->emailCenter->campaignsStats()` | `GET /v1/email/campaigns/{id}/stats` | See campaign statistics |
|
|
| `$client->emailCenter->campaignsRecipients()` | `GET /v1/email/campaigns/{id}/recipients` | List campaign recipients |
|
|
| `$client->emailCenter->campaignsTest()` | `POST /v1/email/campaigns/{id}/test` | Send a test of a campaign (Idempotency-Key) |
|
|
| `$client->emailCenter->contactsList()` | `GET /v1/email/contacts` | List email contacts |
|
|
| `$client->emailCenter->contactsCreate()` | `POST /v1/email/contacts` | Add an email contact (Idempotency-Key) |
|
|
| `$client->emailCenter->contactsGet()` | `GET /v1/email/contacts/{email}` | See an email contact |
|
|
| `$client->emailCenter->contactsSubscription()` | `PUT /v1/email/contacts/{email}/subscription` | Change a subscription |
|
|
| `$client->emailCenter->groupsList()` | `GET /v1/email/groups` | List contact groups |
|
|
| `$client->emailCenter->formsList()` | `GET /v1/email/forms` | List subscription forms |
|
|
| `$client->emailCenter->formsSignups()` | `GET /v1/email/forms/{id}/signups` | List the sign-ups of a form |
|
|
| `$client->emailCenter->automationsList()` | `GET /v1/email/automations` | List automations |
|
|
| `$client->emailCenter->automationsGet()` | `GET /v1/email/automations/{id}` | Get an automation |
|
|
| `$client->emailCenter->automationsActivity()` | `GET /v1/email/automations/{id}/activity` | List what an automation has done |
|
|
| `$client->emailCenter->automationsEnable()` | `POST /v1/email/automations/{id}/enable` | Turn an automation on (Idempotency-Key) |
|
|
| `$client->emailCenter->automationsDisable()` | `POST /v1/email/automations/{id}/disable` | Turn an automation off (Idempotency-Key) |
|
|
| `$client->emailCenter->relayGet()` | `GET /v1/email/relay` | Get the SMTP Relay status |
|
|
| `$client->emailCenter->relayCredentials()` | `GET /v1/email/relay/credentials` | List the SMTP credentials |
|
|
| `$client->emailCenter->creditsPrices()` | `GET /v1/email/credits/prices` | Email credit prices |
|
|
| `$client->emailCenter->creditsPurchase()` | `POST /v1/email/credits/purchase` | Buy email credits (Idempotency-Key) |
|
|
|
|
## account
|
|
|
|
Details of the account, its contacts and users.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->account->get()` | `GET /v1/account` | See the account |
|
|
| `$client->account->contactsList()` | `GET /v1/account/contacts` | List the contacts |
|
|
| `$client->account->usersList()` | `GET /v1/account/users` | List the users |
|
|
|
|
## catalog
|
|
|
|
What is for sale, with prices.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->catalog->productsList()` | `GET /v1/catalog/products` | List the products |
|
|
| `$client->catalog->tldsList()` | `GET /v1/catalog/tlds` | List the domain extensions |
|
|
| `$client->catalog->currenciesList()` | `GET /v1/catalog/currencies` | List the currencies |
|
|
| `$client->catalog->billingCyclesList()` | `GET /v1/catalog/billing-cycles` | List the billing cycles |
|
|
| `$client->catalog->productsGet()` | `GET /v1/catalog/products/{id}` | Get a product |
|
|
|
|
## domains
|
|
|
|
The domains of the account.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->domains->list()` | `GET /v1/domains` | List the domains |
|
|
| `$client->domains->get()` | `GET /v1/domains/{domain}` | See a domain |
|
|
| `$client->domains->availability()` | `GET /v1/domains/availability` | Check a domain name |
|
|
| `$client->domains->register()` | `POST /v1/domains/register` | Register a domain (Idempotency-Key) |
|
|
| `$client->domains->transfer()` | `POST /v1/domains/transfer` | Transfer a domain to us (Idempotency-Key) |
|
|
| `$client->domains->renew()` | `POST /v1/domains/{domain}/renew` | Renew a domain (Idempotency-Key) |
|
|
| `$client->domains->nameserversGet()` | `GET /v1/domains/{domain}/nameservers` | See the nameservers |
|
|
| `$client->domains->nameserversUpdate()` | `PUT /v1/domains/{domain}/nameservers` | Change the nameservers |
|
|
| `$client->domains->lockGet()` | `GET /v1/domains/{domain}/lock` | See the transfer lock |
|
|
| `$client->domains->lockUpdate()` | `PUT /v1/domains/{domain}/lock` | Change the transfer lock |
|
|
| `$client->domains->autoRenewUpdate()` | `PUT /v1/domains/{domain}/auto-renew` | Change auto-renewal |
|
|
| `$client->domains->contactsGet()` | `GET /v1/domains/{domain}/contacts` | See the domain contacts |
|
|
| `$client->domains->transferCodeRequest()` | `POST /v1/domains/{domain}/transfer-code` | Request the transfer code |
|
|
|
|
## whois
|
|
|
|
Free WHOIS lookup of a domain name.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->whois->list()` | `GET /v1/whois` | Look up several domain names (WHOIS) |
|
|
| `$client->whois->get()` | `GET /v1/whois/{domain}` | Look up a domain name (WHOIS) |
|
|
|
|
## services
|
|
|
|
The services of the account: hosting, servers and others.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->services->list()` | `GET /v1/services` | List the services |
|
|
| `$client->services->get()` | `GET /v1/services/{id}` | See a service |
|
|
| `$client->services->purchase()` | `POST /v1/services/purchase` | Buy a plan (Idempotency-Key) |
|
|
|
|
## billing
|
|
|
|
Invoices, credit and transactions.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->billing->invoicesList()` | `GET /v1/invoices` | List the invoices |
|
|
| `$client->billing->invoicesGet()` | `GET /v1/invoices/{id}` | See an invoice |
|
|
| `$client->billing->creditGet()` | `GET /v1/billing/credit` | See the credit |
|
|
| `$client->billing->transactionsList()` | `GET /v1/billing/transactions` | List the transactions |
|
|
| `$client->billing->invoicesPdf()` | `GET /v1/invoices/{id}/pdf` | Get the PDF of an invoice |
|
|
| `$client->billing->invoicesPay()` | `POST /v1/invoices/{id}/pay` | Pay an invoice with credit (Idempotency-Key) |
|
|
| `$client->billing->ordersList()` | `GET /v1/orders` | List the orders |
|
|
| `$client->billing->ordersGet()` | `GET /v1/orders/{id}` | See an order |
|
|
| `$client->billing->quotesList()` | `GET /v1/quotes` | List the quotes |
|
|
| `$client->billing->quotesGet()` | `GET /v1/quotes/{id}` | See a quote |
|
|
| `$client->billing->servicesBillingCyclesList()` | `GET /v1/services/{id}/billing-cycles` | See the renewal cycles of a service |
|
|
| `$client->billing->servicesBillingCycleUpdate()` | `PUT /v1/services/{id}/billing-cycle` | Change the cycle of the next renewal |
|
|
| `$client->billing->servicesUpgradeLinkGet()` | `GET /v1/services/{id}/upgrade-link` | Get the upgrade link of a service |
|
|
| `$client->billing->servicesCancellationCreate()` | `POST /v1/services/{id}/cancellation` | Request the cancellation of a service |
|
|
| `$client->billing->servicesUpgradesList()` | `GET /v1/services/{id}/upgrades` | List plan upgrades |
|
|
| `$client->billing->servicesUpgrade()` | `POST /v1/services/{id}/upgrade` | Change plan (Idempotency-Key) |
|
|
|
|
## support
|
|
|
|
Tickets and departments.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->support->ticketsList()` | `GET /v1/tickets` | List the tickets |
|
|
| `$client->support->ticketsCreate()` | `POST /v1/tickets` | Open a ticket (Idempotency-Key) |
|
|
| `$client->support->ticketsGet()` | `GET /v1/tickets/{id}` | See a ticket |
|
|
| `$client->support->departmentsList()` | `GET /v1/support/departments` | List the departments |
|
|
| `$client->support->ticketsRepliesCreate()` | `POST /v1/tickets/{id}/replies` | Reply to a ticket (Idempotency-Key) |
|
|
| `$client->support->ticketsClose()` | `POST /v1/tickets/{id}/close` | Close a ticket |
|
|
| `$client->support->kbCategoriesList()` | `GET /v1/kb/categories` | List the Knowledge Base categories |
|
|
| `$client->support->kbArticlesList()` | `GET /v1/kb/articles` | List or search Knowledge Base articles |
|
|
| `$client->support->kbArticlesGet()` | `GET /v1/kb/articles/{id}` | Read a Knowledge Base article |
|
|
| `$client->support->announcementsList()` | `GET /v1/announcements` | List the announcements |
|
|
| `$client->support->announcementsGet()` | `GET /v1/announcements/{id}` | Read an announcement |
|
|
|
|
## dns
|
|
|
|
The DNS zone of each domain.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->dns->recordsList()` | `GET /v1/domains/{domain}/dns` | List the DNS records |
|
|
| `$client->dns->recordsCreate()` | `POST /v1/domains/{domain}/dns` | Add a DNS record |
|
|
| `$client->dns->recordsValidate()` | `POST /v1/domains/{domain}/dns/validate` | Check a DNS record |
|
|
| `$client->dns->recordsUpdate()` | `PUT /v1/domains/{domain}/dns/{record_id}` | Change a DNS record |
|
|
| `$client->dns->recordsDelete()` | `DELETE /v1/domains/{domain}/dns/{record_id}` | Delete a DNS record |
|
|
| `$client->dns->zoneReset()` | `POST /v1/domains/{domain}/dns/reset` | Reset the DNS zone |
|
|
| `$client->dns->backupsList()` | `GET /v1/domains/{domain}/dns/backups` | List the zone backups |
|
|
| `$client->dns->backupsRestore()` | `POST /v1/domains/{domain}/dns/backups/{id}/restore` | Restore a zone backup |
|
|
|
|
## servers
|
|
|
|
VPS servers: state, power, password, backups, reverse DNS and reinstall.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->servers->list()` | `GET /v1/servers` | List the servers |
|
|
| `$client->servers->get()` | `GET /v1/servers/{id}` | See a server |
|
|
| `$client->servers->trafficGet()` | `GET /v1/servers/{id}/traffic` | See the traffic of the month |
|
|
| `$client->servers->operatingSystemsList()` | `GET /v1/servers/{id}/operating-systems` | List the systems to reinstall |
|
|
| `$client->servers->backupsList()` | `GET /v1/servers/{id}/backups` | List the backups |
|
|
| `$client->servers->backupsCreate()` | `POST /v1/servers/{id}/backups` | Make a backup (Idempotency-Key) |
|
|
| `$client->servers->start()` | `POST /v1/servers/{id}/start` | Start a server (Idempotency-Key) |
|
|
| `$client->servers->stop()` | `POST /v1/servers/{id}/stop` | Stop a server (Idempotency-Key) |
|
|
| `$client->servers->restart()` | `POST /v1/servers/{id}/restart` | Restart a server (Idempotency-Key) |
|
|
| `$client->servers->passwordChange()` | `POST /v1/servers/{id}/password` | Generate a new root password (Idempotency-Key) |
|
|
| `$client->servers->reverseDnsGet()` | `GET /v1/servers/{id}/reverse-dns` | See the reverse DNS |
|
|
| `$client->servers->reverseDnsUpdate()` | `PUT /v1/servers/{id}/reverse-dns` | Change the reverse DNS |
|
|
| `$client->servers->timezoneGet()` | `GET /v1/servers/{id}/timezone` | See the time zone |
|
|
| `$client->servers->timezoneUpdate()` | `PUT /v1/servers/{id}/timezone` | Change the time zone |
|
|
| `$client->servers->reinstall()` | `POST /v1/servers/{id}/reinstall` | Reinstall a server (Idempotency-Key) |
|
|
| `$client->servers->restore()` | `POST /v1/servers/{id}/restore` | Restore a backup (Idempotency-Key) |
|
|
| `$client->servers->extrasGet()` | `GET /v1/servers/{id}/extras` | Server extras |
|
|
| `$client->servers->extrasPurchase()` | `POST /v1/servers/{id}/extras` | Buy a server extra (Idempotency-Key) |
|
|
|
|
## hosting
|
|
|
|
Usage, panel login, domains, databases, cron, SSL, PHP, backups and FTP of a hosting service.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->hosting->usageGet()` | `GET /v1/services/{id}/usage` | See disk, traffic and resource usage |
|
|
| `$client->hosting->loginCreate()` | `POST /v1/services/{id}/cpanel-login` | Create a direct login link |
|
|
| `$client->hosting->subdomainsList()` | `GET /v1/services/{id}/subdomains` | List subdomains |
|
|
| `$client->hosting->subdomainsCreate()` | `POST /v1/services/{id}/subdomains` | Create a subdomain (Idempotency-Key) |
|
|
| `$client->hosting->subdomainsDelete()` | `DELETE /v1/services/{id}/subdomains/{domain}` | Delete a subdomain |
|
|
| `$client->hosting->addonDomainsList()` | `GET /v1/services/{id}/addon-domains` | List addon domains |
|
|
| `$client->hosting->addonDomainsCreate()` | `POST /v1/services/{id}/addon-domains` | Add an addon domain (Idempotency-Key) |
|
|
| `$client->hosting->addonDomainsDelete()` | `DELETE /v1/services/{id}/addon-domains/{domain}` | Remove an addon domain |
|
|
| `$client->hosting->redirectsList()` | `GET /v1/services/{id}/redirects` | List redirects |
|
|
| `$client->hosting->redirectsCreate()` | `POST /v1/services/{id}/redirects` | Create a redirect (Idempotency-Key) |
|
|
| `$client->hosting->redirectsDelete()` | `DELETE /v1/services/{id}/redirects/{redirect_id}` | Delete a redirect |
|
|
| `$client->hosting->databasesList()` | `GET /v1/services/{id}/databases` | List databases |
|
|
| `$client->hosting->databasesCreate()` | `POST /v1/services/{id}/databases` | Create a database (Idempotency-Key) |
|
|
| `$client->hosting->databasesDelete()` | `DELETE /v1/services/{id}/databases/{name}` | Delete a database |
|
|
| `$client->hosting->databaseUsersList()` | `GET /v1/services/{id}/database-users` | List database users |
|
|
| `$client->hosting->databaseUsersCreate()` | `POST /v1/services/{id}/database-users` | Create a database user |
|
|
| `$client->hosting->databaseUsersPassword()` | `PUT /v1/services/{id}/database-users/{name}/password` | Change a database user password |
|
|
| `$client->hosting->databaseUsersDelete()` | `DELETE /v1/services/{id}/database-users/{name}` | Delete a database user |
|
|
| `$client->hosting->databasesGrant()` | `PUT /v1/services/{id}/databases/{name}/users/{user}` | Give a user access to a database |
|
|
| `$client->hosting->databasesRevoke()` | `DELETE /v1/services/{id}/databases/{name}/users/{user}` | Remove a user access to a database |
|
|
| `$client->hosting->cronList()` | `GET /v1/services/{id}/cron` | List cron jobs |
|
|
| `$client->hosting->cronCreate()` | `POST /v1/services/{id}/cron` | Create a cron job (Idempotency-Key) |
|
|
| `$client->hosting->cronDelete()` | `DELETE /v1/services/{id}/cron/{cron_id}` | Delete a cron job |
|
|
| `$client->hosting->sslGet()` | `GET /v1/services/{id}/ssl` | See the SSL certificates |
|
|
| `$client->hosting->sslAutossl()` | `POST /v1/services/{id}/ssl/autossl` | Request free certificates (Idempotency-Key) |
|
|
| `$client->hosting->phpGet()` | `GET /v1/services/{id}/php` | See the PHP version of each site |
|
|
| `$client->hosting->phpOptions()` | `GET /v1/services/{id}/php/options` | See the PHP options |
|
|
| `$client->hosting->phpOptionsUpdate()` | `PUT /v1/services/{id}/php/options` | Change the PHP options |
|
|
| `$client->hosting->backupsList()` | `GET /v1/services/{id}/backups` | List backup dates |
|
|
| `$client->hosting->backupsCreate()` | `POST /v1/services/{id}/backups` | Request a full backup (Idempotency-Key) |
|
|
| `$client->hosting->ftpList()` | `GET /v1/services/{id}/ftp-accounts` | List FTP accounts |
|
|
| `$client->hosting->ftpCreate()` | `POST /v1/services/{id}/ftp-accounts` | Create an FTP account |
|
|
| `$client->hosting->ftpPassword()` | `PUT /v1/services/{id}/ftp-accounts/{login}/password` | Change an FTP password |
|
|
| `$client->hosting->ftpDelete()` | `DELETE /v1/services/{id}/ftp-accounts/{login}` | Delete an FTP account |
|
|
|
|
## email
|
|
|
|
Mailboxes, forwarders, autoresponders, default address and authentication of a hosting service.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->email->mailboxesList()` | `GET /v1/services/{id}/email/mailboxes` | List mailboxes |
|
|
| `$client->email->mailboxesCreate()` | `POST /v1/services/{id}/email/mailboxes` | Create a mailbox |
|
|
| `$client->email->mailboxesDelete()` | `DELETE /v1/services/{id}/email/mailboxes/{address}` | Delete a mailbox |
|
|
| `$client->email->mailboxesPassword()` | `PUT /v1/services/{id}/email/mailboxes/{address}/password` | Change a mailbox password |
|
|
| `$client->email->mailboxesQuota()` | `PUT /v1/services/{id}/email/mailboxes/{address}/quota` | Change a mailbox quota |
|
|
| `$client->email->forwardersList()` | `GET /v1/services/{id}/email/forwarders` | List forwarders |
|
|
| `$client->email->forwardersCreate()` | `POST /v1/services/{id}/email/forwarders` | Create a forwarder (Idempotency-Key) |
|
|
| `$client->email->forwardersDelete()` | `DELETE /v1/services/{id}/email/forwarders/{address}/{forward_to}` | Delete a forwarder |
|
|
| `$client->email->autorespondersList()` | `GET /v1/services/{id}/email/autoresponders` | List autoresponders |
|
|
| `$client->email->autorespondersGet()` | `GET /v1/services/{id}/email/autoresponders/{address}` | See an autoresponder |
|
|
| `$client->email->autorespondersPut()` | `PUT /v1/services/{id}/email/autoresponders/{address}` | Save an autoresponder |
|
|
| `$client->email->autorespondersDelete()` | `DELETE /v1/services/{id}/email/autoresponders/{address}` | Delete an autoresponder |
|
|
| `$client->email->defaultAddressGet()` | `GET /v1/services/{id}/email/default-address` | See the default address |
|
|
| `$client->email->defaultAddressPut()` | `PUT /v1/services/{id}/email/default-address` | Change the default address |
|
|
| `$client->email->authenticationGet()` | `GET /v1/services/{id}/email/authentication` | See SPF, DKIM and DMARC |
|
|
|
|
## extras
|
|
|
|
Certificates, SiteLock, radio and other extras of the account.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->extras->catalogList()` | `GET /v1/extras/catalog` | List extras for sale |
|
|
| `$client->extras->list()` | `GET /v1/extras` | List the extras of the account |
|
|
| `$client->extras->get()` | `GET /v1/extras/{id}` | See an extra |
|
|
| `$client->extras->purchase()` | `POST /v1/extras/purchase` | Buy an extra (Idempotency-Key) |
|
|
|
|
## reseller
|
|
|
|
The reseller programs and accounts of this account.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->reseller->get()` | `GET /v1/reseller` | See the reseller programs |
|
|
| `$client->reseller->servicesList()` | `GET /v1/reseller/services` | List reseller accounts |
|
|
| `$client->reseller->servicesGet()` | `GET /v1/reseller/services/{id}` | See a reseller account |
|
|
| `$client->reseller->programGet()` | `GET /v1/reseller/program` | See your Agency |
|
|
| `$client->reseller->pricingList()` | `GET /v1/reseller/pricing` | See your prices |
|
|
| `$client->reseller->customersList()` | `GET /v1/reseller/customers` | List end customers |
|
|
| `$client->reseller->customersSet()` | `PUT /v1/reseller/customers/{type}/{id}` | Label an end customer |
|
|
| `$client->reseller->topUpCreate()` | `POST /v1/reseller/top-up` | Create a top-up invoice (Idempotency-Key) |
|
|
| `$client->reseller->statementsGet()` | `GET /v1/reseller/statements` | See the credit statement |
|
|
| `$client->reseller->webhooksGet()` | `GET /v1/webhooks` | See the account webhook |
|
|
| `$client->reseller->webhooksSet()` | `PUT /v1/webhooks` | Save the account webhook |
|
|
| `$client->reseller->webhooksDelete()` | `DELETE /v1/webhooks` | Delete the account webhook |
|
|
| `$client->reseller->webhooksTest()` | `POST /v1/webhooks/test` | Test the account webhook |
|
|
|
|
## ai
|
|
|
|
Artificial intelligence: text, image, video and voice models, paid with credits. Chat is compatible with the OpenAI SDKs.
|
|
|
|
| Method | HTTP | Summary |
|
|
|---|---|---|
|
|
| `$client->ai->modelsList()` | `GET /v1/models` | List the AI models |
|
|
| `$client->ai->modelsGet()` | `GET /v1/models/{id}` | Get an AI model |
|
|
| `$client->ai->chatCreate()` | `POST /v1/chat/completions` | Chat with a text model (Idempotency-Key) |
|
|
| `$client->ai->mediaCreate()` | `POST /v1/media/generations` | Start an image, video or voice generation (Idempotency-Key) |
|
|
| `$client->ai->mediaGet()` | `GET /v1/media/generations/{id}` | Check a generation |
|
|
| `$client->ai->balanceGet()` | `GET /v1/ai/balance` | See the AI credit balance |
|
|
| `$client->ai->messagesCreate()` | `POST /v1/messages` | Send a message in the Anthropic format (Idempotency-Key) |
|
|
| `$client->ai->messagesCountTokens()` | `POST /v1/messages/count_tokens` | Count the tokens of a message |
|
|
| `$client->ai->responsesCreate()` | `POST /v1/responses` | Create a response in the OpenAI Responses format (Idempotency-Key) |
|
|
| `$client->ai->responsesGet()` | `GET /v1/responses/{id}` | Get a saved response |
|
|
| `$client->ai->creditsPrices()` | `GET /v1/ai/credits/prices` | AI credit prices |
|
|
| `$client->ai->creditsPurchase()` | `POST /v1/ai/credits/purchase` | Buy AI credits (Idempotency-Key) |
|