Skip to content

Get MaaS gateway URL

GET /api/v1/gateway-url

GET /maas/api/v1/gateway-url

Returns the externally reachable MaaS API base URL discovered from the maas-default-gateway tenant. The URL includes the /maas-api path.

Authorization

Responses

Status Description Response body
200 OK

MaaS gateway URL

object

application/json

503 Service Unavailable

MaaS gateway discovery is not complete

ErrorResponse

application/json

200 OK response body

Property Type Required Description
data MaaSGatewayURL Yes

Example request

curl -X GET "/maas/api/v1/gateway-url" \
  -H "Authorization: Bearer $TOKEN"

Example response

200 OK, application/json

{
  "data": {
    "url": "https://maas.apps.example.com/maas-api"
  }
}