Swiftmail Docs

Get Email

GET
/emails/{id}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

curl -X GET "https://sm-api.thrn.cc/v1/emails/string"
{
  "id": 0,
  "project_id": 0,
  "message_id": "string",
  "from": {
    "name": "string",
    "email": "string"
  },
  "to": [
    {
      "name": "string",
      "email": "string"
    }
  ],
  "cc": [
    {
      "name": "string",
      "email": "string"
    }
  ],
  "bcc": [
    {
      "name": "string",
      "email": "string"
    }
  ],
  "attachments": [
    {
      "filename": "string",
      "download_url": "string",
      "content_type": "string",
      "size": "string"
    }
  ],
  "subject": "string",
  "content": "string",
  "html_body": "string",
  "text_body": "string",
  "status": "sent",
  "direction": "inbound",
  "created_at": "string"
}