Jump to Content
DatHost
GuidesAPI ReferenceChangelog
DatHost
API Reference
GuidesAPI ReferenceChangelog
All
Pages
Start typing to search…

The DatHost api

  • CS2 Servers REST API
  • Server Locations Mapping

API

  • Game Servers > General
    • List game serversget
    • Create a game serverpost
    • Delete a game serverdelete
    • Get a game serverget
    • Update a game serverput
    • Get game server metricsget
    • Purchase subscription / Cancel subscription / Switch to Pay as you Gopost
  • Game Servers > Actions
    • Duplicate a game serverpost
    • Reset a game serverpost
    • Start a game serverpost
    • Stop a game serverpost
    • Sync the files between the API cache and a game serverpost
  • Game Servers > File Management
    • List files on gameserverget
    • Delete a file/directory from a game serverdelete
    • Download a file from a game serverget
    • Upload a file to a game serverpost
    • Move a file/directory on a game serverput
    • Regenerate FTP password for a game serverpost
    • Unzip a file on a game serverpost
  • Game Servers > Console
    • Get the last lines of backlog from a game server consoleget
    • Send a line of text to a game server consolepost
  • CS2 Matches
    • Start a CS2 matchpost
    • Get a CS2 matchget
    • Cancel a CS2 match in progresspost
    • Add a player to a CS2 matchpost
  • Account
    • Get the current accountget
    • List all invoices/receiptsget
    • Get an invoice as HTMLget
  • System
    • Get all available custom domainsget
Powered by 

Get the current account

get https://dathost.net/api/0.1/account
Language
Click Try It! to start a request and see the response here!