---
title: "Update solution for a message"
method: POST
path: "/api/v1/messages/{id}"
tags: ["Messages"]
---

# Update solution for a message

`POST /api/v1/messages/{id}`

## Path parameters

- `id` string, required

## Headers

- `x-api-key` string

## Request body

- object
  - `solutionId` string, nullable, required

## Response `200`

Response for status 200

- object
  - `success` boolean, required

## Other responses

- `400` — Response for status 400
- `401` — Response for status 401
- `403` — Response for status 403
- `404` — Response for status 404
- `500` — Response for status 500

---

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