---
title: "Update the status of messages"
method: PUT
path: "/v1/messages?ids={id}&status={status)"
---

# Update the status of messages

`PUT /v1/messages?ids={id}&status={status)`

## Request

- Base URL: `https://api.gomotive.com`
- URL: `https://api.gomotive.com/v1/messages?ids={id}&status={status)`
- Auth: API key in header `x-api-key`

## Query parameters

- `ids[]` integer[], required
- `status` string, required

## Headers

- `X-Time-Zone` string
- `X-Metric-Units` boolean
- `X-User-Id` integer

## Response `200`

200

- object
  - `success` boolean

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/gomotive/apis/motive.md) - [All operations](https://skmtc.dev/gomotive/apis/motive/llms.txt) - [OpenAPI document](https://skmtc.dev/gomotive/apis/motive/revisions/c71780e497f5?raw)
