> For the complete documentation index, see [llms.txt](https://mastodon.gitbook.io/mastodon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mastodon.gitbook.io/mastodon/entities/conversation.md).

# Conversation

## Example

```javascript
{
  "id": "418450",
  "unread": true,
  "accounts": [
    {
      "id": "482403",
      "username": "amic",
      "acct": "amic@nulled.red",
      ...
    }
  ],
  "last_status": {
    "id": "103196583826321184",
    "created_at": "2019-11-25T04:08:24.000Z",
    "in_reply_to_id": "103196540587943467",
    "in_reply_to_account_id": "14715",
    ...
  }
}
```

## Required attributes

### `id`

**Description:** Local database ID of the conversation.\
**Type:** String (cast from an integer, but not guaranteed to be a number)\
**Version history:** Added in 2.6.0

### `accounts`

**Description:** Participants in the conversation.\
**Type:** Array of [Account](/mastodon/entities/account.md)\
**Version history:** Added in 2.6.0

### `unread`

**Description:** Is the conversation currently marked as unread?\
**Type:** Boolean\
**Version history:** Added in 2.6.0

## Optional attributes

### `last_status`

**Description:** The last status in the conversation, to be used for optional display.\
**Type:** [Status](/mastodon/entities/status.md)\
**Version history:** Added in 2.6.0

## See also

{% content-ref url="/pages/-LqIeRnt7iYjGon6jOoc" %}
[conversations](/mastodon/methods/timelines/conversations.md)
{% endcontent-ref %}

{% embed url="<https://github.com/tootsuite/mastodon/blob/master/app/serializers/rest/conversation_serializer.rb>" %}
app/serializers/rest/conversation\_serializer.rb
{% endembed %}
