---
title: "Fix any code or problem"
method: POST
path: "/api/zambot/fix"
tags: ["ZAMBOT"]
---

# Fix any code or problem

`POST /api/zambot/fix`

## Request

- Base URL: `https://zambo.dev`
- URL: `https://zambo.dev/api/zambot/fix`
- Auth: none declared

Submit broken code, an error message, or a stuck problem. Returns a fix with explanation.

## Request body

- object
  - `code` string, required
  - `error` string
  - `context` string

## Response `200`

Fix and explanation

---

[API](https://skmtc.dev/zambo/apis/zambo-api.md) · [All operations](https://skmtc.dev/zambo/apis/zambo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zambo/apis/zambo-api/revisions/70eaaa7b062c?raw)
