---
updatedAt: 2026-09-06T13:22:22.000Z
agentTools:
  projectIndex: https://developers.trengo.com/llms.txt
---

# Fetch an email message

Fetch the email data of one message of a ticket. The html field holds the original HTML body of the email as it was received.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "trengo",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://app.trengo.com/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/tickets/{ticket_id}/full_email_messages/{message_id}": {
      "get": {
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "examples": {
                  "OK": {
                    "summary": "OK",
                    "value": {
                      "id": 1,
                      "message_id": 12,
                      "html": "<p>Hi, can you help me with my order?</p>",
                      "to": "support@example.com",
                      "from": "John Doe <john@doe.com>",
                      "subject": "Help with my order",
                      "message_identifier": "<CAE1k2j3@mail.example.com>",
                      "created_at": "2023-02-17 16:06:02",
                      "updated_at": "2023-02-17 16:06:02"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 1,
                      "default": 0,
                      "description": "The id of the email message."
                    },
                    "message_id": {
                      "type": "integer",
                      "example": 12,
                      "default": 0,
                      "description": "The id of the message that the email data belongs to."
                    },
                    "html": {
                      "type": "string",
                      "example": "<p>Hi, can you help me with my order?</p>",
                      "description": "The HTML body of the email as it was received."
                    },
                    "to": {
                      "type": "string",
                      "example": "support@example.com",
                      "description": "The recipient addresses of the email, separated by commas."
                    },
                    "from": {
                      "type": "string",
                      "example": "John Doe <john@doe.com>",
                      "description": "The sender of the email, as a name and address."
                    },
                    "subject": {
                      "type": "string",
                      "example": "Help with my order",
                      "description": "The subject of the email."
                    },
                    "message_identifier": {
                      "type": "string",
                      "example": "<CAE1k2j3@mail.example.com>",
                      "description": "The Message-ID header of the email."
                    },
                    "created_at": {
                      "type": "string",
                      "example": "2023-02-17 16:06:02",
                      "description": "The date and time the email message was created."
                    },
                    "updated_at": {
                      "type": "string",
                      "example": "2023-02-17 16:06:02",
                      "description": "The date and time the email message was last updated."
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "ticket_id",
            "schema": {
              "type": "integer"
            },
            "required": true,
            "description": "The id of the ticket."
          },
          {
            "in": "path",
            "name": "message_id",
            "schema": {
              "type": "integer"
            },
            "required": true,
            "description": "The id of the message. The message must be an email message."
          }
        ],
        "summary": "Fetch an email message",
        "description": "Fetch the email data of one message of a ticket. The html field holds the original HTML body of the email as it was received.",
        "operationId": "get_tickets-ticket-id-full-email-messages-message-id"
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```