GET
/
v1
/
emails
/
{emailId}
curl --request GET \
  --url https://app.unsend.dev/api/v1/emails/{emailId}
{
  "id": "<string>",
  "teamId": 123,
  "to": "<string>",
  "replyTo": "<string>",
  "cc": "<string>",
  "bcc": "<string>",
  "from": "<string>",
  "subject": "<string>",
  "html": "<string>",
  "text": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "emailEvents": [
    {
      "emailId": "<string>",
      "status": "SCHEDULED",
      "createdAt": "<string>",
      "data": "<any>"
    }
  ]
}

Path Parameters

emailId
string
required
Minimum length: 3
Example:

"cuiwqdj74rygf74"

Response

200 - application/json
Retrieve the email
id
string
required
teamId
number
required
to
required
from
string
required
subject
string
required
html
string | null
required
text
string | null
required
createdAt
string
required
updatedAt
string
required
emailEvents
object[]
required
replyTo
cc
bcc