# List messages (/zh/growsocmed/docs/api-reference/inbox/list-messages)

Messages of a conversation, oldest first (marks it read)

GET /inbox/conversations/{id}/messages

```json
{
  "tags": [
    "Inbox"
  ],
  "summary": "List messages",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "format": "uuid"
      },
      "required": true,
      "name": "id",
      "in": "path"
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "direction": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "text": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "type",
                          "url"
                        ]
                      }
                    },
                    "status": {
                      "type": "string"
                    },
                    "error_code": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sent_at": {
                      "type": "string"
                    },
                    "reaction": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "direction",
                    "source",
                    "text",
                    "attachments",
                    "status",
                    "error_code",
                    "sent_at",
                    "reaction"
                  ]
                }
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    }
  },
  "operationId": "list-messages",
  "description": "Messages of a conversation, oldest first (marks it read)"
}
```