---
title: "Create Or Update Controller Config"
method: POST
path: "/controllers/configs/{config_name}"
tags: ["Controllers"]
---

# Create Or Update Controller Config

`POST /controllers/configs/{config_name}`

Create a new controller configuration or update an existing one.

Saves the provided configuration dictionary as a YAML file in the conf/controllers directory.
If a configuration with the same name exists, it will be overwritten. The configuration
should include all required fields for the target controller type.

Use this endpoint to create new strategy configurations, update existing ones,
or import configurations from external sources.

## Path parameters

- `config_name` string, required

## Request body

- object

## Response `201`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2025-12-20** `1005bcd47280` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hummingbot/apis/hummingbot-api/changes/controllers/configs/:config_name/post.md)

---

[API](https://skmtc.dev/hummingbot/apis/hummingbot-api.md) · [All operations](https://skmtc.dev/hummingbot/apis/hummingbot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hummingbot/hummingbot-api/revisions/cb6b6935c8e2/schema)
