JUMP TOCTRL-/The DatHost apiCS2 Servers REST APIServer Locations MappingAPIGame Servers > GeneralList game serversgetCreate a game serverpostDelete a game serverdeleteGet a game servergetUpdate a game serverputGet game server metricsgetPurchase subscription / Cancel subscription / Switch to Pay as you GopostGame Servers > ActionsDuplicate a game serverpostReset a game serverpostStart a game serverpostStop a game serverpostSync the files between the API cache and a game serverpostGame Servers > File ManagementList files on gameservergetDelete a file/directory from a game serverdeleteDownload a file from a game servergetUpload a file to a game serverpostMove a file/directory on a game serverputRegenerate FTP password for a game serverpostUnzip a file on a game serverpostGame Servers > ConsoleGet the last lines of backlog from a game server consolegetSend a line of text to a game server consolepostCS2 MatchesStart a CS2 matchpostGet a CS2 matchgetCancel a CS2 match in progresspostAdd a player to a CS2 matchpostAccountGet the current accountgetList all invoices/receiptsgetGet an invoice as HTMLgetSystemGet all available custom domainsgetPowered by Get the current accountget https://dathost.net/api/0.1/accountResponse 200SuccessResponse bodyobjectaccepted_terms_of_service_versionintegerAccepted ToS versionaffiliatebooleanTrue if this account is an affiliateautorefill_amountnumberautorefill_belownumberconfirmed_atintegerTimestamp of email confirmationcreditsnumberrequiredNumber of credits leftdisabled_notification_typesarray of stringsdisabled_notification_typesemailstringrequiredAccount emailfirst_month_discount_percentageintegerDiscount percentage for the first month of a subscriptiongravatar_urlstringrequiredGravatar URLidstringrequiredAccount IDlifetime_hourly_discount_percentageintegerAccount hourly discount percentagelifetime_subscription_discount_percentageintegerAccount subscription discount percentagemarketing_emails_enabledbooleanrolesarray of stringsSpecial roles at dathost.netrolesseconds_leftintegerApproximately seconds the credits will last with current usage. Returns null if no servers are onsubscription_pay_with_creditsbooleanIf true, try to pay subscription with credits firsttime_leftstringHuman readable approximate of the time the credits will last with current usage, for seconds see seconds_lefttrialbooleanAn account is considered trial when no payments has been madeUpdated about 1 month ago Add a player to a CS2 matchList all invoices/receiptsDid this page help you?YesNo