---
title: "TopicsPrivateMessagesSent_UsersByUsername (Discourse)"
description: "Private Messages Sent Users by Username"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.PrivateMessages.TopicsPrivateMessagesSent_UsersByUsername
original: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.PrivateMessages.TopicsPrivateMessagesSent_UsersByUsername
updated: 2026-11-01T16:08:49Z
license: https://documentation.invantive.eu/en/
---

# TopicsPrivateMessagesSent_UsersByUsername: Discourse Private Messages Sent Users by Username

`read only` `REST`

- Catalog: `Discourse`
- Schema: `PrivateMessages`
- Label: Private Messages Sent Users by Username

Get a list of private messages sent

Can only retrieve data.

## Summary

Get a list of private messages sent

## API Source

- Endpoint: `/topics/private-messages-sent/{username}.json`
- Operation: `get /topics/private-messages-sent/{username}.json`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 243 |
| Write rows per minute | 219 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `username` | `` | [x] |  |  |

## Table Columns

The columns of the table `TopicsPrivateMessagesSent_UsersByUsername` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `admin` | `char` | Administrator | [ ] | filters on the platform, writable, `admin` |  |
| `avatar_template` | `varchar2` | Avatar Template | [ ] | writable, `avatar_template` |  |
| `id` | `decimal` | ID | [ ] | writable, `id` |  |
| `moderator` | `char` | Moderator | [ ] | filters on the platform, writable, `moderator` |  |
| `topic_list_can_create_topic` | `char` | Topic List Can Create Topic | [ ] | filters on the platform, writable, `::ancestor.topic_list.can_create_topic` |  |
| `topic_list_draft` | `varchar2` | Topic List Draft | [ ] | writable | The JSON text of the nested object. |
| `topic_list_draft_key` | `varchar2` | Topic List Draft Key | [ ] | filters on the platform, writable, `::ancestor.topic_list.draft_key` |  |
| `topic_list_draft_sequence` | `decimal` | Topic List Draft Sequence | [ ] | filters on the platform, writable, `::ancestor.topic_list.draft_sequence` |  |
| `topic_list_per_page` | `decimal` | Topic List Per Page | [ ] | filters on the platform, writable, `::ancestor.topic_list.per_page` |  |
| `trust_level` | `int32` | Trust Level | [ ] | filters on the platform, writable, `trust_level` |  |
| `username` | `varchar2` | User Name | [ ] | writable, `username` |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Discourse](/en/release-notes/drivers?driver=discourse)

### Changes of This Table, 26.0 to 27.0

<a id="DCE-27.0-D419"></a><a id="DCE-27.0-D420"></a><a id="DCE-27.0-D421"></a><a id="DCE-27.0-D422"></a><a id="DCE-27.0-D423"></a><a id="DCE-27.0-D424"></a><a id="DCE-27.0-D1552"></a>

- `~` `id` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `id` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `topic_list_draft_sequence` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `topic_list_draft_sequence` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `topic_list_per_page` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `topic_list_per_page` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `+` `name` (`varchar2`)

[All changes of the driver, 26.0 to 27.0](/en/release-notes/drivers?driver=discourse&step=26.0-to-27.0#discourse-26.0-to-27.0)

