---
title: "Update a thread message"
method: PUT
path: "/v1/{innovationId}/threads/{threadId}/messages/{messageId}"
tags: ["[v1] Innovation Threads"]
---

# Update a thread message

`PUT /v1/{innovationId}/threads/{threadId}/messages/{messageId}`

## Request

- Base URL: `https://nhse-${ENV}-innovation-service-innovation-functions.azurewebsites.net/api`
- URL: `https://nhse-${ENV}-innovation-service-innovation-functions.azurewebsites.net/api/v1/{innovationId}/threads/{threadId}/messages/{messageId}`
- Auth: none declared

Update a thread message

## Path parameters

- `innovationId` string, uuid, required
- `threadId` string, uuid, required
- `messageId` string, uuid, required

## Request body

- object
  - `message` string, required

## Response `200`

Success

- object
  - `id` string, uuid, required: Message Id

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2024-11-07** `761f95f46b23`: 4 breaking, 1 warning, 1 info
  - for the `path` request parameter `innovationId`, the format changed from no format to `uuid`
  - for the `path` request parameter `messageId`, the format changed from no format to `uuid`
  - for the `path` request parameter `threadId`, the format changed from no format to `uuid`
  - the request property `message` became required
  - …2 more

[Operation history](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service/changes/v1/:innovationId/threads/:threadId/messages/:messageId/put.md)

---

[API](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service.md) - [All operations](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service/llms.txt) - [OpenAPI document](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service/revisions/c7535c8a7a65?raw)
