Skip to content
Skip to Content
Coder Docs

Get applications host

Deprecated

GET
/api/v2/applications/host

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

OK

application/json
  1. response
host?string

Host is the externally accessible URL for the Coder instance.

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/v2/applications/host" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response200
{  "host": "string"}