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>"
}
]
}
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>"
}
]
}
3
"cuiwqdj74rygf74"
Retrieve the email
The response is of type object
.