---
title: "Forward a specific service"
method: POST
path: "/v1/services"
tags: ["Services"]
---

# Forward a specific service

`POST /v1/services`

Start forwarding a specific Kubernetes service

## Request body

- AddServiceRequest
  - `namespace` string, required — Kubernetes namespace
  - `serviceName` string, required — Name of the service to forward
  - `context` string — Kubernetes context (defaults to current context)
  - `ports` string[] — Specific ports to forward (optional, forwards all if omitted)
  - `localIP` string — Reserve a specific local IP address (optional)

## Response `200`

Service forwarding started

- Response
  - `success` boolean
  - `data` object
  - `error` ErrorInfo
    - `code` string
    - `message` string
  - `meta` MetaInfo
    - `count` integer
    - `timestamp` string, date-time

## Other responses

- `400` — Invalid request
- `401` — Missing or invalid API key
- `409` — Service already forwarded

---

[API](https://skmtc.net/txn2/apis/kubefwd-api.md) · [All operations](https://skmtc.net/txn2/apis/kubefwd-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/txn2/kubefwd-api/versions/e4f8bfb653cf/schema)
