Load Balancer

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Request body

domainstring required
enabledboolean nullable

Whether the route serves traffic as soon as it is created. Defaults to true; send false to create the route disabled and enable it later with PUT /lb/routes/{domain}.

hoststring required
portinteger required
route_typestring nullable

Route type: "http" (default) matches on HTTP Host header, "tls" matches on TLS SNI hostname for TCP passthrough

Response

Route created successfully

created_atstring date-time required

When the route was created (ISO 8601, UTC)

domainstring required
enabledboolean required
hoststring required
idinteger required
portinteger required
route_typestring required

Route type: "http" or "tls"

updated_atstring date-time required

When the route was last changed (ISO 8601, UTC)

Example response

{
  "created_at": "2026-11-25T11:39:26Z",
  "updated_at": "2026-11-25T11:39:26Z"
}

Changes

    • breaking

      the created_at response's property type changed from integer to string, and format from int64 to date-time for status

    • breaking

      the updated_at response's property type changed from integer to string, and format from int64 to date-time for status

    • info

      added the new optional request property enabled