---
title: "Add upstream"
method: POST
path: "/v1/kong-admin/upstreams"
tags: ["Kong Admin Controller"]
---

# Add upstream

`POST /v1/kong-admin/upstreams`

Creates a new upstream

## Request body

- Upstream
  - `id` string
  - `name` string
  - `algorithm` string
  - `slots` integer
  - `healthchecks` object
  - `tags` object
  - `createdAt` string
  - `updatedAt` string

## Response `200`

Upstream created successfully

- Upstream
  - `id` string
  - `name` string
  - `algorithm` string
  - `slots` integer
  - `healthchecks` object
  - `tags` object
  - `createdAt` string
  - `updatedAt` string

## Other responses

- `400` — Invalid upstream configuration
- `500` — Internal server error

---

[API](https://skmtc.dev/floik/apis/floik-authentication-server.md) · [All operations](https://skmtc.dev/floik/apis/floik-authentication-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/floik/floik-authentication-server/revisions/2b2a5dad2f5e/schema)
