---
title: "Adds a LB endpoint for monitoring"
method: POST
path: "/config/endpoint"
---

# Adds a LB endpoint for monitoring

`POST /config/endpoint`

Adds a LB endpoint for monitoring

## Request body

- EndPoint
  - `hostName` string, required — Host name in CIDR
  - `name` string — Endpoint Identifier
  - `inactiveReTries` integer — Number of inactive retries
  - `probeType` 'tcp' | 'udp' | 'sctp' | 'ping' | 'http' | 'https' | 'none' — Type of probe used
  - `probeReq` string — URI for http/https probes
  - `probeResp` string — Response for http/https probes
  - `probeDuration` integer — How frequently to probe in seconds
  - `probePort` integer — The l4port to probe on

## Response `204`

OK

## Other responses

- `400` — Malformed arguments for API call
- `401` — Invalid authentication credentials
- `403` — Capacity insufficient
- `404` — Resource not found
- `409` — Resource Conflict.
- `500` — Internal service error
- `503` — Maintenance mode

---

[API](https://skmtc.net/loxilb-io/apis/loxilb-rest-api.md) · [All operations](https://skmtc.net/loxilb-io/apis/loxilb-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loxilb-io/loxilb-rest-api/revisions/45e9f0a95af0/schema)
