Skip to main content
GET
/
messages
/
{messageId}
Get message details
curl --request GET \
  --url https://api.lettermint.co/v1/messages/{messageId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "type": "inbound",
  "status": "pending",
  "status_changed_at": "2023-11-07T05:31:56Z",
  "tag": "<string>",
  "from_email": "<string>",
  "from_name": "<string>",
  "reply_to": [
    "<string>"
  ],
  "subject": "<string>",
  "to": [
    {
      "email": "<string>",
      "name": "<string>"
    }
  ],
  "cc": [
    {
      "email": "<string>",
      "name": "<string>"
    }
  ],
  "bcc": [
    {
      "email": "<string>",
      "name": "<string>"
    }
  ],
  "attachments": [
    {
      "size": 123,
      "filename": "<string>",
      "content_id": "<string>",
      "content_type": "<string>"
    }
  ],
  "metadata": {},
  "spam_score": 123,
  "spam_symbols": [
    {
      "name": "<string>",
      "score": 123,
      "options": [],
      "description": "<string>"
    }
  ],
  "route_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

messageId
string
required

Response

200 - application/json

MessageData

id
string
required
type
enum<string>
required
Available options:
inbound,
outbound
status
enum<string>
required
Available options:
pending,
queued,
suppressed,
processed,
delivered,
soft_bounced,
hard_bounced,
spam_complaint,
failed,
blocked,
policy_rejected,
unsubscribed
status_changed_at
string<date-time> | null
required
tag
string | null
required
from_email
string
required
from_name
string | null
required
reply_to
string[] | null
required
subject
string | null
required
to
MessageRecipientData · object[] | null
required
cc
MessageRecipientData · object[] | null
required
bcc
MessageRecipientData · object[] | null
required
attachments
MessageAttachmentData · object[] | null
required
metadata
object | null
required
route_id
string
required
created_at
string<date-time>
required
spam_score
number | null
spam_symbols
SpamSymbol · object[]