Emails
Get email
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
Minimum length:
3
Example:
"cuiwqdj74rygf74"
Response
200 - application/json
Retrieve the email
The response is of type object
.
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>"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.