Home
/
API
/
Applications

Applications

Redirect to URI with encrypted API key

Code samples

# Example request using curl
curl -X GET http://coder-server:8080/api/v2/applications/auth-redirect \
  -H 'Coder-Session-Token: API_KEY'

GET /applications/auth-redirect

Parameters

NameInTypeRequiredDescription
redirect_uriquerystringfalseRedirect destination

Responses

StatusMeaningDescriptionSchema
307Temporary RedirectTemporary Redirect

To perform this operation, you must be authenticated. Learn more.

Get applications host

Code samples

# Example request using curl
curl -X GET http://coder-server:8080/api/v2/applications/host \
  -H 'Accept: application/json' \
  -H 'Coder-Session-Token: API_KEY'

GET /applications/host

Example responses

200 Response

{
  "host": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOKcodersdk.AppHostResponse

To perform this operation, you must be authenticated. Learn more.

See an opportunity to improve our docs? Make an edit.