---
title: "GET /_twake/v1/metrics/messages"
method: GET
path: "/_twake/v1/metrics/messages"
tags: ["Metrics"]
---

# GET /_twake/v1/metrics/messages

`GET /_twake/v1/metrics/messages`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/docs/_twake/v1/metrics/messages/get.ts> (a function with typed inputs; its response is checked against the schema)

Get user messages metrics

## Response `200`

Messages metrics found

- object[]
  - `user_id` string
  - `message_count` number

## Other responses

- `400`: Bad request
- `403`: Forbidden
- `500`: Internal error

## Changes

- **2025-01-09** `164fc886d7a3`: 2 info
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`
- **2024-12-10** `ebae94f58300`: 1 info
  - endpoint added
- **2024-01-09** `c7a6d3a400a7`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/changes/_twake/v1/metrics/messages/get.md)

---

[API](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation.md) - [All operations](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/revisions/3428c7bb5a46?raw)
