---
title: "Create Or Update Script Config"
method: POST
path: "/scripts/configs/{config_name}"
tags: ["Scripts"]
---

# Create Or Update Script Config

`POST /scripts/configs/{config_name}`

Create a new script configuration or update an existing one.

Saves the provided configuration dictionary as a YAML file in the conf/scripts directory.
If a configuration with the same name exists, it will be overwritten. The configuration
should include the script file name and any required parameters.

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/scripts/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)
