Skip to main content
GET
/
v1
/
emails
/
{id}
cURL
curl --request GET \
  --url https://api.transmit.dev/v1/emails/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "from": "jsmith@example.com",
  "to": [
    "jsmith@example.com"
  ],
  "subject": "<string>",
  "html": "<string>",
  "text": "<string>",
  "status": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "sent_at": "2023-11-07T05:31:56Z",
  "delivered_at": "2023-11-07T05:31:56Z",
  "opened_at": "2023-11-07T05:31:56Z",
  "clicked_at": "2023-11-07T05:31:56Z",
  "open_count": 123,
  "click_count": 123,
  "events": [
    {
      "type": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "data": {
        "user_agent": "<string>",
        "ip_address": "<string>",
        "location": "<string>",
        "link": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter your API key with 'tx_' prefix. Get your API key from the dashboard.

Path Parameters

id
string
required

Response

Email details retrieved successfully

id
string
required

Email ID

from
string<email>
required

Sender email address

to
string<email>[]
required

Recipient email addresses

subject
string
required

Email subject

status
string
required

Email status

created_at
string<date-time>
required

Creation timestamp

sent_at
string<date-time> | null
required

Sent timestamp

delivered_at
string<date-time> | null
required

Delivery timestamp

opened_at
string<date-time> | null
required

First open timestamp

clicked_at
string<date-time> | null
required

First click timestamp

open_count
number
required

Total open count

click_count
number
required

Total click count

events
object[]
required

Email events

html
string

HTML content

text
string

Plain text content

⌘I