Skip to content

Repository files navigation

Hostinger API Python SDK

PyPI version

About

This is a Python SDK for the Hostinger API.

For more information, please visit https://developers.hostinger.com.

Requirements.

Python 3.9+

Installation & Usage

pip install

Setup new virtual environment (optional but recommended):

python3 -m venv venv
source venv/bin/activate

Install the package via pip:

pip install hostinger_api

Then import the package:

importhostinger_api

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

importhostinger_api

Getting Started

Please follow the installation procedure and then run the following:

importhostinger_apifromhostinger_api.restimportApiExceptionfrompprintimportpprint# Configure Bearer authorization: apiTokenconfiguration=hostinger_api.Configuration(
access_token=os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API clientwithhostinger_api.ApiClient(configuration) asapi_client:
# Create an instance of the API classapi_instance=hostinger_api.AgencyHostingCacheApi(api_client)
website_uid='zpwlGlp19'# str | Agency Plan website UIDtry:
# Clear Agency Plan website cacheapi_response=api_instance.clear_agency_plan_website_cache_v1(website_uid)
print("The response of AgencyHostingCacheApi->clear_agency_plan_website_cache_v1:\n")
pprint(api_response)
exceptApiExceptionase:
print("Exception when calling AgencyHostingCacheApi->clear_agency_plan_website_cache_v1: %s\n"%e)

Documentation for API Endpoints

All URIs are relative to https://developers.hostinger.com

ClassMethodHTTP requestDescription
AgencyHostingCacheApiclear_agency_plan_website_cache_v1DELETE /api/agency-hosting/v1/websites/{website_uid}/cacheClear Agency Plan website cache
AgencyHostingCronJobsApicreate_agency_plan_website_cron_job_v1POST /api/agency-hosting/v1/websites/{website_uid}/cron-jobsCreate Agency Plan website cron job
AgencyHostingCronJobsApidelete_agency_plan_website_cron_job_v1DELETE /api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}Delete Agency Plan website cron job
AgencyHostingCronJobsApilist_agency_plan_website_cron_jobs_v1GET /api/agency-hosting/v1/websites/{website_uid}/cron-jobsList Agency Plan website cron jobs
AgencyHostingDatabasesApicreate_agency_plan_website_database_user_v1POST /api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/usersCreate Agency Plan website database user
AgencyHostingDatabasesApicreate_agency_plan_website_database_v1POST /api/agency-hosting/v1/websites/{website_uid}/databasesCreate Agency Plan website database
AgencyHostingDatabasesApidelete_agency_plan_website_database_user_v1DELETE /api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}Delete Agency Plan website database user
AgencyHostingDatabasesApidelete_agency_plan_website_database_v1DELETE /api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}Delete Agency Plan website database
AgencyHostingDatabasesApilist_agency_plan_website_databases_v1GET /api/agency-hosting/v1/websites/{website_uid}/databasesList Agency Plan website databases
AgencyHostingDatacentersApilist_available_datacenters_for_an_agency_plan_order_v1GET /api/agency-hosting/v1/orders/{order_id}/datacentersList available datacenters for an Agency Plan order
AgencyHostingDomainsApichange_agency_plan_website_domain_v1PUT /api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain}Change Agency Plan website domain
AgencyHostingDomainsApilink_domain_to_agency_plan_website_v1POST /api/agency-hosting/v1/websites/{website_uid}/domainsLink domain to Agency Plan website
AgencyHostingDomainsApilist_agency_plan_domains_v1GET /api/agency-hosting/v1/domainsList Agency Plan domains
AgencyHostingDomainsApiunlink_domain_from_agency_plan_website_v1DELETE /api/agency-hosting/v1/websites/{website_uid}/domains/{domain}Unlink domain from Agency Plan website
AgencyHostingFilesApiimport_agency_plan_website_from_archive_v1POST /api/agency-hosting/v1/websites/{website_uid}/files/import-archiveImport Agency Plan website from archive
AgencyHostingOrdersApilist_agency_plan_orders_v1GET /api/agency-hosting/v1/ordersList Agency Plan orders
AgencyHostingWebsiteSetupsApiget_agency_plan_website_setup_status_v1GET /api/agency-hosting/v1/orders/{order_id}/websites/setups/{setup_uuid}Get Agency Plan website setup status
AgencyHostingWebsiteSetupsApiprovision_a_new_agency_plan_website_v1POST /api/agency-hosting/v1/orders/{order_id}/websites/setupsProvision a new Agency Plan website
AgencyHostingWebsitesApibuild_agency_plan_website_node_js_assets_v1POST /api/agency-hosting/v1/websites/{website_uid}/build-assetsBuild Agency Plan website NodeJS assets
AgencyHostingWebsitesApidelete_agency_plan_website_v1DELETE /api/agency-hosting/v1/websites/{website_uid}Delete Agency Plan website
AgencyHostingWebsitesApiget_agency_plan_website_details_v1GET /api/agency-hosting/v1/websites/{website_uid}Get Agency Plan website details
AgencyHostingWebsitesApilist_running_agency_plan_website_processes_v1GET /api/agency-hosting/v1/websites/{website_uid}/processesList running Agency Plan website processes
AgencyHostingWordPressApichange_agency_plan_website_word_press_core_version_v1PATCH /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/versionChange Agency Plan website WordPress core version
AgencyHostingWordPressApiget_agency_plan_website_word_press_settings_v1GET /api/agency-hosting/v1/websites/{website_uid}/wordpress/settingsGet Agency Plan website WordPress settings
AgencyHostingWordPressApilist_available_word_press_versions_for_an_agency_plan_website_v1GET /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/versionsList available WordPress versions for an Agency Plan website
BillingCatalogApiget_catalog_item_list_v1GET /api/billing/v1/catalogGet catalog item list
BillingOrdersApicreate_purchase_order_v1POST /api/billing/v1/ordersCreate purchase order
BillingPaymentMethodsApidelete_payment_method_v1DELETE /api/billing/v1/payment-methods/{paymentMethodId}Delete payment method
BillingPaymentMethodsApiget_payment_method_list_v1GET /api/billing/v1/payment-methodsGet payment method list
BillingPaymentMethodsApiset_default_payment_method_v1POST /api/billing/v1/payment-methods/{paymentMethodId}Set default payment method
BillingSubscriptionsApidisable_auto_renewal_v1DELETE /api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/disableDisable auto-renewal
BillingSubscriptionsApienable_auto_renewal_v1PATCH /api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/enableEnable auto-renewal
BillingSubscriptionsApiget_subscription_list_v1GET /api/billing/v1/subscriptionsGet subscription list
BillingSubscriptionsApirenew_subscription_v1POST /api/billing/v1/subscriptions/{subscriptionId}/renewRenew subscription
DNSSnapshotApiget_dns_snapshot_list_v1GET /api/dns/v1/snapshots/{domain}Get DNS snapshot list
DNSSnapshotApiget_dns_snapshot_v1GET /api/dns/v1/snapshots/{domain}/{snapshotId}Get DNS snapshot
DNSSnapshotApirestore_dns_snapshot_v1POST /api/dns/v1/snapshots/{domain}/{snapshotId}/restoreRestore DNS snapshot
DNSZoneApidelete_dns_records_v1DELETE /api/dns/v1/zones/{domain}Delete DNS records
DNSZoneApiget_dns_records_v1GET /api/dns/v1/zones/{domain}Get DNS records
DNSZoneApireset_dns_records_v1POST /api/dns/v1/zones/{domain}/resetReset DNS records
DNSZoneApiupdate_dns_records_v1PUT /api/dns/v1/zones/{domain}Update DNS records
DNSZoneApivalidate_dns_records_v1POST /api/dns/v1/zones/{domain}/validateValidate DNS records
DomainAccessVerifierVerificationsApiget_domain_verifications_directGET /api/v2/direct/verifications/activeGet domain verifications
DomainsAvailabilityApicheck_domain_availability_v1POST /api/domains/v1/availabilityCheck domain availability
DomainsForwardingApicreate_domain_forwarding_v1POST /api/domains/v1/forwardingCreate domain forwarding
DomainsForwardingApidelete_domain_forwarding_v1DELETE /api/domains/v1/forwarding/{domain}Delete domain forwarding
DomainsForwardingApiget_domain_forwarding_v1GET /api/domains/v1/forwarding/{domain}Get domain forwarding
DomainsForwardingApiupdate_domain_forwarding_v1PUT /api/domains/v1/forwarding/{domain}Update domain forwarding
DomainsMoveApiaccept_incoming_domain_move_v1PUT /api/domains/v1/move/incoming/{domain}Accept incoming domain move
DomainsMoveApicancel_outgoing_domain_move_v1DELETE /api/domains/v1/move/outgoing/{domain}Cancel outgoing domain move
DomainsMoveApiget_incoming_domain_move_list_v1GET /api/domains/v1/move/incomingGet incoming domain move list
DomainsMoveApiget_incoming_domain_move_v1GET /api/domains/v1/move/incoming/{domain}Get incoming domain move
DomainsMoveApiget_outgoing_domain_move_list_v1GET /api/domains/v1/move/outgoingGet outgoing domain move list
DomainsMoveApiget_outgoing_domain_move_v1GET /api/domains/v1/move/outgoing/{domain}Get outgoing domain move
DomainsMoveApireject_incoming_domain_move_v1DELETE /api/domains/v1/move/incoming/{domain}Reject incoming domain move
DomainsMoveApistart_outgoing_domain_move_v1POST /api/domains/v1/move/outgoing/{domain}Start outgoing domain move
DomainsPortfolioApiclaim_free_domain_v1POST /api/domains/v1/portfolio/claimClaim free domain
DomainsPortfolioApidisable_domain_lock_v1DELETE /api/domains/v1/portfolio/{domain}/domain-lockDisable domain lock
DomainsPortfolioApidisable_privacy_protection_v1DELETE /api/domains/v1/portfolio/{domain}/privacy-protectionDisable privacy protection
DomainsPortfolioApienable_domain_lock_v1PUT /api/domains/v1/portfolio/{domain}/domain-lockEnable domain lock
DomainsPortfolioApienable_privacy_protection_v1PUT /api/domains/v1/portfolio/{domain}/privacy-protectionEnable privacy protection
DomainsPortfolioApiget_domain_authorization_code_v1GET /api/domains/v1/portfolio/{domain}/auth-codeGet domain authorization code
DomainsPortfolioApiget_domain_details_v1GET /api/domains/v1/portfolio/{domain}Get domain details
DomainsPortfolioApiget_domain_list_v1GET /api/domains/v1/portfolioGet domain list
DomainsPortfolioApiget_domain_renewal_information_v1GET /api/domains/v1/portfolio/{domain}/renewalGet domain renewal information
DomainsPortfolioApipurchase_new_domain_v1POST /api/domains/v1/portfolioPurchase new domain
DomainsPortfolioApiupdate_domain_nameservers_v1PUT /api/domains/v1/portfolio/{domain}/nameserversUpdate domain nameservers
DomainsTransferApiclaim_free_domain_transfer_v1POST /api/domains/v1/transfers/claimClaim free domain transfer
DomainsTransferApiget_transfer_list_v1GET /api/domains/v1/transfersGet transfer list
DomainsTransferApiget_transfer_v1GET /api/domains/v1/transfers/{domain}Get transfer
DomainsWHOISApicancel_pending_irtp_verification_v1DELETE /api/domains/v1/irtp/{domain}Cancel pending IRTP verification
DomainsWHOISApichange_whois_profile_for_domain_v1PUT /api/domains/v1/whois/changeChange WHOIS profile for domain
DomainsWHOISApicreate_whois_profile_v1POST /api/domains/v1/whoisCreate WHOIS profile
DomainsWHOISApidelete_whois_profile_v1DELETE /api/domains/v1/whois/{whoisId}Delete WHOIS profile
DomainsWHOISApiget_pending_irtp_verification_v1GET /api/domains/v1/irtp/{domain}Get pending IRTP verification
DomainsWHOISApiget_whois_profile_list_v1GET /api/domains/v1/whoisGet WHOIS profile list
DomainsWHOISApiget_whois_profile_usage_v1GET /api/domains/v1/whois/{whoisId}/usageGet WHOIS profile usage
DomainsWHOISApiget_whois_profile_v1GET /api/domains/v1/whois/{whoisId}Get WHOIS profile
DomainsWHOISApiset_whois_profile_as_default_v1PUT /api/domains/v1/whois/default/{whoisId}Set WHOIS profile as default
DomainsWHOISApiunset_default_whois_profile_v1DELETE /api/domains/v1/whois/default/{whoisId}Unset default WHOIS profile
EcommerceMiscellaneousApiget_custom_storefront_setup_instructions_v1GET /api/ecommerce/v1/miscellaneous/custom-storefront-instructionsGet custom storefront setup instructions
EcommercePaymentsApienable_manual_payment_method_v1POST /api/ecommerce/v1/stores/{store_id}/payment-methods/manualEnable manual payment method
EcommerceProductsApicreate_digital_product_v1POST /api/ecommerce/v1/stores/{store_id}/products/digitalCreate digital product
EcommerceProductsApicreate_physical_product_v1POST /api/ecommerce/v1/stores/{store_id}/products/physicalCreate physical product
EcommerceSalesChannelsApicreate_custom_sales_channel_v1POST /api/ecommerce/v1/stores/{store_id}/sales-channelsCreate custom sales channel
EcommerceSalesChannelsApilist_sales_channels_v1GET /api/ecommerce/v1/stores/{store_id}/sales-channelsList sales channels
EcommerceSalesChannelsApiupdate_sales_channel_v1PATCH /api/ecommerce/v1/stores/{store_id}/sales-channels/{sales_channel_id}Update sales channel
EcommerceShippingApiset_store_shipping_v1POST /api/ecommerce/v1/stores/{store_id}/shippingSet store shipping
EcommerceStoresApicreate_store_v1POST /api/ecommerce/v1/storesCreate store
EcommerceStoresApidelete_store_v1DELETE /api/ecommerce/v1/stores/{store_id}Delete store
EcommerceStoresApiget_store_metadata_v1GET /api/ecommerce/v1/stores/{store_id}/metadataGet store metadata
EcommerceStoresApiget_stores_v1GET /api/ecommerce/v1/storesGet stores
HorizonsWebsitesApicreate_website_v1POST /api/horizons/v1/websitesCreate website
HorizonsWebsitesApiget_website_v1GET /api/horizons/v1/websites/{websiteId}Get website
HostingCacheApiclear_website_cache_v1DELETE /api/hosting/v1/accounts/{username}/websites/{domain}/cache/clearClear website cache
HostingCacheApitoggle_cacheless_mode_v1PATCH /api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggleToggle cacheless mode
HostingCacheApitoggle_website_cache_v1PATCH /api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggleToggle website cache
HostingCronJobsApicreate_account_cron_job_v1POST /api/hosting/v1/accounts/{username}/cron-jobsCreate account cron job
HostingCronJobsApidelete_account_cron_job_v1DELETE /api/hosting/v1/accounts/{username}/cron-jobs/{uid}Delete account cron job
HostingCronJobsApiget_cron_job_output_v1GET /api/hosting/v1/accounts/{username}/cron-jobs/{uid}/outputGet cron job output
HostingCronJobsApilist_account_cron_jobs_v1GET /api/hosting/v1/accounts/{username}/cron-jobsList account cron jobs
HostingDatabasesApichange_database_password_v1PATCH /api/hosting/v1/accounts/{username}/databases/{name}/change-passwordChange database password
HostingDatabasesApicreate_account_database_v1POST /api/hosting/v1/accounts/{username}/databasesCreate account database
HostingDatabasesApicreate_database_remote_connection_v1POST /api/hosting/v1/accounts/{username}/databases/{name}/remote-connectionsCreate database remote connection
HostingDatabasesApidelete_account_database_v1DELETE /api/hosting/v1/accounts/{username}/databases/{name}Delete account database
HostingDatabasesApidelete_database_remote_connection_v1DELETE /api/hosting/v1/accounts/{username}/databases/{name}/remote-connectionsDelete database remote connection
HostingDatabasesApiget_php_my_admin_link_v1GET /api/hosting/v1/accounts/{username}/databases/{name}/phpmyadmin-linkGet phpMyAdmin link
HostingDatabasesApilist_account_databases_v1GET /api/hosting/v1/accounts/{username}/databasesList account databases
HostingDatabasesApilist_database_remote_connections_v1GET /api/hosting/v1/accounts/{username}/databases/remote-connectionsList database remote connections
HostingDatabasesApirepair_database_v1PATCH /api/hosting/v1/accounts/{username}/databases/{name}/repairRepair database
HostingDatacentersApilist_available_datacenters_v1GET /api/hosting/v1/datacentersList available datacenters
HostingDomainsApicreate_website_parked_domain_v1POST /api/hosting/v1/accounts/{username}/websites/{domain}/parked-domainsCreate website parked domain
HostingDomainsApicreate_website_subdomain_v1POST /api/hosting/v1/accounts/{username}/websites/{domain}/subdomainsCreate website subdomain
HostingDomainsApidelete_website_parked_domain_v1DELETE /api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains/{parkedDomain}Delete website parked domain
HostingDomainsApidelete_website_subdomain_v1DELETE /api/hosting/v1/accounts/{username}/websites/{domain}/subdomains/{subdomain}Delete website subdomain
HostingDomainsApigenerate_a_free_subdomain_v1POST /api/hosting/v1/domains/free-subdomainsGenerate a free subdomain
HostingDomainsApilist_website_parked_domains_v1GET /api/hosting/v1/accounts/{username}/websites/{domain}/parked-domainsList website parked domains
HostingDomainsApilist_website_subdomains_v1GET /api/hosting/v1/accounts/{username}/websites/{domain}/subdomainsList website subdomains
HostingDomainsApiverify_domain_ownership_v1POST /api/hosting/v1/domains/verify-ownershipVerify domain ownership
HostingNodeJSApicreate_node_js_build_from_archive_v1POST /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archiveCreate NodeJS build from archive
HostingNodeJSApiget_node_js_build_logs_v1GET /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logsGet NodeJS build logs
HostingNodeJSApilist_node_js_builds_v1GET /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/buildsList NodeJS builds
HostingNodeJSApilist_node_js_vulnerabilities_v1GET /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/vulnerabilitiesList Node.js vulnerabilities
HostingNodeJSApipatch_node_js_vulnerabilities_v1POST /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/vulnerabilities/patchPatch Node.js vulnerabilities
HostingNodeJSApirestart_node_js_application_v1POST /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restartRestart Node.js application
HostingOrdersApilist_orders_v1GET /api/hosting/v1/ordersList orders
HostingPHPApiget_php_details_v1GET /api/hosting/v1/accounts/{username}/websites/{domain}/php/detailsGet PHP details
HostingPHPApiget_php_info_v1GET /api/hosting/v1/accounts/{username}/websites/{domain}/php/php-infoGet PHP info
HostingPHPApireset_php_extensions_v1PATCH /api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions/resetReset PHP extensions
HostingPHPApiupdate_php_extensions_v1PATCH /api/hosting/v1/accounts/{username}/websites/{domain}/php/extensionsUpdate PHP extensions
HostingPHPApiupdate_php_options_v1PATCH /api/hosting/v1/accounts/{username}/websites/{domain}/php/optionsUpdate PHP options
HostingPHPApiupdate_php_version_v1PATCH /api/hosting/v1/accounts/{username}/websites/{domain}/php/versionUpdate PHP version
HostingWebsitesApicreate_website_v1POST /api/hosting/v1/websitesCreate website
HostingWebsitesApidelete_website_v1DELETE /api/hosting/v1/websites/{domain}Delete website
HostingWebsitesApilist_websites_v1GET /api/hosting/v1/websitesList websites
MailAPITokensApicreate_api_token_v1POST /api/mail/v1/orders/{orderId}/api-tokensCreate API token
MailAPITokensApilist_api_tokens_v1GET /api/mail/v1/api-tokensList API tokens
MailAPITokensApirevoke_api_token_v1DELETE /api/mail/v1/api-tokens/{tokenId}Revoke API token
MailAliasesApicreate_alias_v1POST /api/mail/v1/mailboxes/{mailboxId}/aliasesCreate alias
MailAliasesApidelete_alias_v1DELETE /api/mail/v1/aliases/{aliasId}Delete alias
MailAliasesApilist_aliases_v1GET /api/mail/v1/orders/{orderId}/aliasesList aliases
MailAutorepliesApicreate_autoreply_v1POST /api/mail/v1/mailboxes/{mailboxId}/autorepliesCreate autoreply
MailAutorepliesApidelete_autoreply_v1DELETE /api/mail/v1/autoreplies/{autoreplyId}Delete autoreply
MailAutorepliesApilist_autoreplies_v1GET /api/mail/v1/orders/{orderId}/autorepliesList autoreplies
MailAutorepliesApiupdate_autoreply_v1PUT /api/mail/v1/autoreplies/{autoreplyId}Update autoreply
MailCatchallsApicreate_catch_all_v1POST /api/mail/v1/mailboxes/{mailboxId}/catchallsCreate catch-all
MailCatchallsApidelete_catch_all_v1DELETE /api/mail/v1/catchalls/{catchallId}Delete catch-all
MailCatchallsApilist_catch_alls_v1GET /api/mail/v1/orders/{orderId}/catchallsList catch-alls
MailCatchallsApiresend_catch_all_confirmation_v1POST /api/mail/v1/catchalls/{catchallId}/confirmation/resendResend catch-all confirmation
MailForwardersApicreate_forwarder_v1POST /api/mail/v1/mailboxes/{mailboxId}/forwardersCreate forwarder
MailForwardersApidelete_forwarder_v1DELETE /api/mail/v1/forwarders/{forwarderId}Delete forwarder
MailForwardersApilist_forwarders_v1GET /api/mail/v1/orders/{orderId}/forwardersList forwarders
MailForwardersApiresend_forwarder_confirmation_v1POST /api/mail/v1/forwarders/{forwarderId}/confirmation/resendResend forwarder confirmation
MailForwardersApiupdate_forwarder_keep_copy_setting_v1PATCH /api/mail/v1/forwarders/{forwarderId}/keep-copyUpdate forwarder keep-copy setting
MailLogsApilist_access_logs_v1GET /api/mail/v1/orders/{orderId}/logs/accessList access logs
MailLogsApilist_action_logs_v1GET /api/mail/v1/orders/{orderId}/logs/actionList action logs
MailLogsApilist_inbound_logs_v1GET /api/mail/v1/orders/{orderId}/logs/inboundList inbound logs
MailLogsApilist_mailbox_action_logs_v1GET /api/mail/v1/orders/{orderId}/logs/mailbox-actionsList mailbox action logs
MailLogsApilist_outbound_logs_v1GET /api/mail/v1/orders/{orderId}/logs/outboundList outbound logs
MailMailboxesApichange_mailbox_password_v1PATCH /api/mail/v1/mailboxes/{mailboxId}/passwordChange mailbox password
MailMailboxesApicreate_mailbox_v1POST /api/mail/v1/orders/{orderId}/mailboxesCreate mailbox
MailMailboxesApidelete_mailbox_v1DELETE /api/mail/v1/mailboxes/{mailboxId}Delete mailbox
MailMailboxesApilist_mailboxes_v1GET /api/mail/v1/orders/{orderId}/mailboxesList mailboxes
MailOrdersApiget_order_plan_v1GET /api/mail/v1/orders/{orderId}/planGet order plan
MailOrdersApilist_orders_v1GET /api/mail/v1/ordersList orders
MailWebhooksApicreate_webhook_v1POST /api/mail/v1/mailboxes/{mailboxId}/webhooksCreate webhook
MailWebhooksApidelete_webhook_v1DELETE /api/mail/v1/webhooks/{webhookId}Delete webhook
MailWebhooksApiget_webhook_v1GET /api/mail/v1/webhooks/{webhookId}Get webhook
MailWebhooksApilist_webhook_delivery_logs_v1GET /api/mail/v1/orders/{orderId}/webhooks/delivery-logsList webhook delivery logs
MailWebhooksApilist_webhooks_v1GET /api/mail/v1/orders/{orderId}/webhooksList webhooks
MailWebhooksApiregenerate_webhook_secret_v1POST /api/mail/v1/webhooks/{webhookId}/regenerate-secretRegenerate webhook secret
MailWebhooksApitest_webhook_v1POST /api/mail/v1/webhooks/{webhookId}/testTest webhook
MailWebhooksApiupdate_webhook_v1PATCH /api/mail/v1/webhooks/{webhookId}Update webhook
ReachContactFieldsApicreate_a_contact_field_v1POST /api/reach/v1/profiles/{profileUuid}/contacts/fieldsCreate a contact field
ReachContactFieldsApidelete_a_contact_field_v1DELETE /api/reach/v1/profiles/{profileUuid}/contacts/fields/{fieldUuid}Delete a contact field
ReachContactFieldsApilist_contact_fields_v1GET /api/reach/v1/profiles/{profileUuid}/contacts/fieldsList contact fields
ReachContactFieldsApiupdate_a_contact_field_v1PATCH /api/reach/v1/profiles/{profileUuid}/contacts/fields/{fieldUuid}Update a contact field
ReachContactsApicreate_a_new_contact_v1POST /api/reach/v1/contactsCreate a new contact
ReachContactsApicreate_contacts_in_bulk_v1POST /api/reach/v1/profiles/{profileUuid}/contacts/bulkCreate contacts in bulk
ReachContactsApicreate_new_contacts_v1POST /api/reach/v1/profiles/{profileUuid}/contactsCreate new contacts
ReachContactsApidelete_a_contact_v1DELETE /api/reach/v1/contacts/{uuid}Delete a contact
ReachContactsApidelete_a_profile_contact_v1DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}Delete a profile contact
ReachContactsApiget_contact_details_v1GET /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}Get contact details
ReachContactsApilist_contact_groups_v1GET /api/reach/v1/contacts/groupsList contact groups
ReachContactsApilist_contacts_v1GET /api/reach/v1/contactsList contacts
ReachContactsApilist_profile_contacts_v1GET /api/reach/v1/profiles/{profileUuid}/contactsList profile contacts
ReachContactsApiupdate_a_contact_v1PATCH /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}Update a contact
ReachProfilesApiget_profile_domain_dns_status_v1GET /api/reach/v1/profiles/{profileUuid}/domains/dns-statusGet profile domain DNS status
ReachProfilesApilist_profiles_v1GET /api/reach/v1/profilesList Profiles
ReachSegmentsApicount_profile_segment_contacts_v1GET /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/countCount profile segment contacts
ReachSegmentsApicreate_a_new_contact_segment_v1POST /api/reach/v1/segmentation/segmentsCreate a new contact segment
ReachSegmentsApicreate_a_profile_segment_v1POST /api/reach/v1/profiles/{profileUuid}/segmentation/segmentsCreate a profile segment
ReachSegmentsApidelete_a_profile_segment_v1DELETE /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}Delete a profile segment
ReachSegmentsApiget_profile_segment_details_v1GET /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}Get profile segment details
ReachSegmentsApiget_segment_details_v1GET /api/reach/v1/segmentation/segments/{segmentUuid}Get segment details
ReachSegmentsApilist_profile_segment_contacts_v1GET /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/contactsList profile segment contacts
ReachSegmentsApilist_profile_segments_v1GET /api/reach/v1/profiles/{profileUuid}/segmentation/segmentsList profile segments
ReachSegmentsApilist_segment_contacts_v1GET /api/reach/v1/segmentation/segments/{segmentUuid}/contactsList segment contacts
ReachSegmentsApilist_segments_v1GET /api/reach/v1/segmentation/segmentsList segments
ReachSegmentsApiupdate_a_profile_segment_v1PUT /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}Update a profile segment
ReachTagsApiassign_a_contact_to_a_tag_v1POST /api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contacts/{contactUuid}Assign a contact to a tag
ReachTagsApiassign_contacts_to_a_tag_v1POST /api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contactsAssign contacts to a tag
ReachTagsApicreate_or_find_tags_v1POST /api/reach/v1/profiles/{profileUuid}/tagsCreate or find tags
ReachTagsApidelete_a_tag_v1DELETE /api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}Delete a tag
ReachTagsApilist_profile_tags_v1GET /api/reach/v1/profiles/{profileUuid}/tagsList profile tags
ReachTagsApiremove_a_contact_from_a_tag_v1DELETE /api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contacts/{contactUuid}Remove a contact from a tag
ReachTagsApiremove_contacts_from_a_tag_v1DELETE /api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contactsRemove contacts from a tag
ReachTagsApirename_a_tag_v1PATCH /api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}Rename a tag
VPSActionsApiget_action_details_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}/actions/{actionId}Get action details
VPSActionsApiget_actions_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}/actionsGet actions
VPSBackupsApiget_backups_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}/backupsGet backups
VPSBackupsApirestore_backup_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/backups/{backupId}/restoreRestore backup
VPSDataCentersApiget_data_center_list_v1GET /api/vps/v1/data-centersGet data center list
VPSDockerManagerApicreate_new_project_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/dockerCreate new project
VPSDockerManagerApidelete_project_v1DELETE /api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/downDelete project
VPSDockerManagerApiget_project_containers_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/containersGet project containers
VPSDockerManagerApiget_project_contents_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}Get project contents
VPSDockerManagerApiget_project_list_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}/dockerGet project list
VPSDockerManagerApiget_project_logs_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/logsGet project logs
VPSDockerManagerApirestart_project_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/restartRestart project
VPSDockerManagerApistart_project_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/startStart project
VPSDockerManagerApistop_project_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/stopStop project
VPSDockerManagerApiupdate_project_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/updateUpdate project
VPSFirewallApiactivate_firewall_v1POST /api/vps/v1/firewall/{firewallId}/activate/{virtualMachineId}Activate firewall
VPSFirewallApicreate_firewall_rule_v1POST /api/vps/v1/firewall/{firewallId}/rulesCreate firewall rule
VPSFirewallApicreate_new_firewall_v1POST /api/vps/v1/firewallCreate new firewall
VPSFirewallApideactivate_firewall_v1POST /api/vps/v1/firewall/{firewallId}/deactivate/{virtualMachineId}Deactivate firewall
VPSFirewallApidelete_firewall_rule_v1DELETE /api/vps/v1/firewall/{firewallId}/rules/{ruleId}Delete firewall rule
VPSFirewallApidelete_firewall_v1DELETE /api/vps/v1/firewall/{firewallId}Delete firewall
VPSFirewallApiget_firewall_details_v1GET /api/vps/v1/firewall/{firewallId}Get firewall details
VPSFirewallApiget_firewall_list_v1GET /api/vps/v1/firewallGet firewall list
VPSFirewallApisync_firewall_v1POST /api/vps/v1/firewall/{firewallId}/sync/{virtualMachineId}Sync firewall
VPSFirewallApiupdate_firewall_rule_v1PUT /api/vps/v1/firewall/{firewallId}/rules/{ruleId}Update firewall rule
VPSMalwareScannerApiget_scan_metrics_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}/monarxGet scan metrics
VPSMalwareScannerApiinstall_monarx_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/monarxInstall Monarx
VPSMalwareScannerApiuninstall_monarx_v1DELETE /api/vps/v1/virtual-machines/{virtualMachineId}/monarxUninstall Monarx
VPSOSTemplatesApiget_template_details_v1GET /api/vps/v1/templates/{templateId}Get template details
VPSOSTemplatesApiget_templates_v1GET /api/vps/v1/templatesGet templates
VPSPTRRecordsApicreate_ptr_record_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/ptr/{ipAddressId}Create PTR record
VPSPTRRecordsApidelete_ptr_record_v1DELETE /api/vps/v1/virtual-machines/{virtualMachineId}/ptr/{ipAddressId}Delete PTR record
VPSPostInstallScriptsApicreate_post_install_script_v1POST /api/vps/v1/post-install-scriptsCreate post-install script
VPSPostInstallScriptsApidelete_post_install_script_v1DELETE /api/vps/v1/post-install-scripts/{postInstallScriptId}Delete post-install script
VPSPostInstallScriptsApiget_post_install_script_v1GET /api/vps/v1/post-install-scripts/{postInstallScriptId}Get post-install script
VPSPostInstallScriptsApiget_post_install_scripts_v1GET /api/vps/v1/post-install-scriptsGet post-install scripts
VPSPostInstallScriptsApiupdate_post_install_script_v1PUT /api/vps/v1/post-install-scripts/{postInstallScriptId}Update post-install script
VPSPublicKeysApiattach_public_key_v1POST /api/vps/v1/public-keys/attach/{virtualMachineId}Attach public key
VPSPublicKeysApicreate_public_key_v1POST /api/vps/v1/public-keysCreate public key
VPSPublicKeysApidelete_public_key_v1DELETE /api/vps/v1/public-keys/{publicKeyId}Delete public key
VPSPublicKeysApiget_public_keys_v1GET /api/vps/v1/public-keysGet public keys
VPSRecoveryApistart_recovery_mode_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/recoveryStart recovery mode
VPSRecoveryApistop_recovery_mode_v1DELETE /api/vps/v1/virtual-machines/{virtualMachineId}/recoveryStop recovery mode
VPSSnapshotsApicreate_snapshot_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/snapshotCreate snapshot
VPSSnapshotsApidelete_snapshot_v1DELETE /api/vps/v1/virtual-machines/{virtualMachineId}/snapshotDelete snapshot
VPSSnapshotsApiget_snapshot_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}/snapshotGet snapshot
VPSSnapshotsApirestore_snapshot_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/snapshot/restoreRestore snapshot
VPSVirtualMachineApiget_attached_public_keys_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}/public-keysGet attached public keys
VPSVirtualMachineApiget_metrics_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}/metricsGet metrics
VPSVirtualMachineApiget_virtual_machine_details_v1GET /api/vps/v1/virtual-machines/{virtualMachineId}Get virtual machine details
VPSVirtualMachineApiget_virtual_machines_v1GET /api/vps/v1/virtual-machinesGet virtual machines
VPSVirtualMachineApipurchase_new_virtual_machine_v1POST /api/vps/v1/virtual-machinesPurchase new virtual machine
VPSVirtualMachineApirecreate_virtual_machine_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/recreateRecreate virtual machine
VPSVirtualMachineApireset_hostname_v1DELETE /api/vps/v1/virtual-machines/{virtualMachineId}/hostnameReset hostname
VPSVirtualMachineApirestart_virtual_machine_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/restartRestart virtual machine
VPSVirtualMachineApiset_hostname_v1PUT /api/vps/v1/virtual-machines/{virtualMachineId}/hostnameSet hostname
VPSVirtualMachineApiset_nameservers_v1PUT /api/vps/v1/virtual-machines/{virtualMachineId}/nameserversSet nameservers
VPSVirtualMachineApiset_panel_password_v1PUT /api/vps/v1/virtual-machines/{virtualMachineId}/panel-passwordSet panel password
VPSVirtualMachineApiset_root_password_v1PUT /api/vps/v1/virtual-machines/{virtualMachineId}/root-passwordSet root password
VPSVirtualMachineApisetup_purchased_virtual_machine_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/setupSetup purchased virtual machine
VPSVirtualMachineApistart_virtual_machine_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/startStart virtual machine
VPSVirtualMachineApistop_virtual_machine_v1POST /api/vps/v1/virtual-machines/{virtualMachineId}/stopStop virtual machine
WordPressAIToolsApiset_ai_option_status_v1PATCH /api/hosting/v1/accounts/{username}/wordpress/{software}/hostinger-plugins/ai-option/statusSet AI option status
WordPressAIToolsApishow_ai_option_status_v1GET /api/hosting/v1/accounts/{username}/wordpress/{software}/hostinger-plugins/ai-option/statusShow AI option status
WordPressInstallationsApicheck_if_word_press_installations_are_valid_v1POST /api/hosting/v1/accounts/{username}/wordpress/installations/check-is-validCheck if WordPress installations are valid
WordPressInstallationsApidelete_word_press_installation_v1DELETE /api/hosting/v1/accounts/{username}/wordpress/{software}Delete WordPress installation
WordPressInstallationsApidetect_word_press_installations_v1POST /api/hosting/v1/accounts/{username}/wordpress/installations/detectDetect WordPress installations
WordPressInstallationsApiget_installation_jwt_token_v1GET /api/hosting/v1/accounts/{username}/wordpress/{software}/jwt-tokenGet installation JWT token
WordPressInstallationsApiinstall_word_press_v1POST /api/hosting/v1/accounts/{username}/wordpress/installationsInstall WordPress
WordPressInstallationsApilist_available_word_press_core_updates_v1GET /api/hosting/v1/accounts/{username}/wordpress/{software}/updatesList available WordPress core updates
WordPressInstallationsApilist_word_press_installations_v1GET /api/hosting/v1/wordpress/installationsList WordPress installations
WordPressInstallationsApishow_word_press_core_version_v1GET /api/hosting/v1/accounts/{username}/wordpress/{software}/versionShow WordPress core version
WordPressInstallationsApiupdate_word_press_core_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/updateUpdate WordPress core
WordPressLiteSpeedCacheApipurge_lite_speed_cache_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/purgePurge LiteSpeed Cache
WordPressLiteSpeedCacheApishow_lite_speed_cache_status_v1GET /api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/statusShow LiteSpeed Cache status
WordPressLoginApicreate_login_links_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/login/linksCreate login links
WordPressMaintenanceApishow_maintenance_status_v1GET /api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/statusShow maintenance status
WordPressMaintenanceApitoggle_maintenance_mode_v1PATCH /api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/toggleToggle maintenance mode
WordPressObjectCacheApishow_memcached_object_cache_status_v1GET /api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/statusShow Memcached object cache status
WordPressObjectCacheApitoggle_memcached_object_cache_v1PATCH /api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/toggleToggle Memcached object cache
WordPressPluginsApiactivate_word_press_plugin_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/activateActivate WordPress plugin
WordPressPluginsApicheck_if_woo_commerce_is_installed_v1GET /api/hosting/v1/wordpress/plugins/is-woocommerce-installedCheck if WooCommerce is installed
WordPressPluginsApideactivate_word_press_plugin_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/deactivateDeactivate WordPress plugin
WordPressPluginsApiinstall_word_press_plugins_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/installInstall WordPress plugins
WordPressPluginsApilist_available_word_press_plugins_v1GET /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/availableList available WordPress plugins
WordPressPluginsApilist_installed_word_press_plugins_v1GET /api/hosting/v1/accounts/{username}/wordpress/{software}/pluginsList installed WordPress plugins
WordPressPluginsApilist_suggested_word_press_plugins_v1GET /api/hosting/v1/wordpress/plugins/suggestedList suggested WordPress plugins
WordPressPluginsApisearch_word_press_plugins_v1GET /api/hosting/v1/wordpress/pluginsSearch WordPress plugins
WordPressPluginsApiuninstall_word_press_plugins_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/uninstallUninstall WordPress plugins
WordPressPluginsApiupdate_hostinger_word_press_plugin_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/hostinger/updateUpdate Hostinger WordPress plugin
WordPressPluginsApiupdate_word_press_plugins_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/updateUpdate WordPress plugins
WordPressThemesApiactivate_word_press_theme_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/themes/activateActivate WordPress theme
WordPressThemesApiinstall_word_press_theme_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/themes/installInstall WordPress theme
WordPressThemesApilist_installed_word_press_themes_v1GET /api/hosting/v1/accounts/{username}/wordpress/{software}/themesList installed WordPress themes
WordPressThemesApilist_word_press_themes_v1GET /api/hosting/v1/wordpress/themesList WordPress themes
WordPressThemesApiuninstall_word_press_themes_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/themes/uninstallUninstall WordPress themes
WordPressThemesApiupdate_word_press_themes_v1POST /api/hosting/v1/accounts/{username}/wordpress/{software}/themes/updateUpdate WordPress themes

Documentation For Models

About

Hostinger API Python SDK

Topics

Resources

Stars

30 stars

Watchers

7 watching

Forks

Releases

Used by

Contributors

Languages