conversations
Direct conversations with other participants. (Currently, just threads containing a post with "direct" visibility.)
Show conversation
GET
https://mastodon.example/api/v1/conversations
Returns: Array of Conversation
OAuth: User token + read:statuses
Version history:
2.6.0 - added
Query Parameters
limit
string
Maximum number of results. Defaults to 20. Max 40.
max_id
string
Return results older than this ID. Use HTTP Link header to paginate.
since_id
string
Return results newer than this ID. Use HTTP Link header to paginate.
min_id
string
Return results immediately newer than this ID. Use HTTP Link header to paginate.
Headers
Authorization
string
Bearer <user token>
Remove conversation
DELETE
https://mastodon.example/api/v1/conversations/:id
Returns: empty object
OAuth: User token + write:conversations
Version history:
2.6.0 - added
Path Parameters
:id
string
ID of the conversation in the database
Headers
Authorization
string
Mark as read
POST
https://mastodon.example/api/v1/conversations/:id/read
Returns: Conversation
OAuth: User token + write:conversations
Version history:
2.6.0 - added
Path Parameters
:id
string
ID of the conversation in the database
Headers
Authorization
string
Last updated
Was this helpful?