Private Messages

Get a list of private messages for a user

GET
https://discourse.example.com/topics/private-messages/{username}.json

Parameters

usernamestringrequiredpath

Response

200OKobject

private messages

Response fields application/json
usersArray<object>
Show child attributes
idinteger
usernamestring
namestring
avatar_templatestring
primary_groupsArray<any>
topic_listobject
Show child attributes
can_create_topicboolean
draftstring | null
draft_keystring
draft_sequenceinteger
per_pageinteger
topicsArray<object>
Show child attributes
idinteger
titlestring
fancy_titlestring
slugstring
posts_countinteger
reply_countinteger
highest_post_numberinteger
image_urlstring | null
created_atstring
last_posted_atstring
bumpedboolean
bumped_atstring
archetypestring
unseenboolean
last_read_post_numberinteger
unread_postsinteger
pinnedboolean
unpinnedstring | null
visibleboolean
closedboolean
archivedboolean
notification_levelinteger
bookmarkedboolean
likedboolean
viewsinteger
like_countinteger
has_summaryboolean
last_poster_usernamestring
category_idstring | null
pinned_globallyboolean
allowed_user_countinteger
postersArray<object>
Show child attributes
extrasstring
descriptionstring
user_idinteger
primary_group_idinteger | null
participantsArray<object>
Show child attributes
extrasstring
descriptionstring | null
user_idinteger
primary_group_idinteger | null