Dhesend

Email

Get Email

Fetch single Email details

import Dhesend from 'dhesend';

const dhesend = new Dhesend('dhe_fdd03c4eb1');

dhesend.email.get("2dbcd111-445d-4810-8641-09d96d87d1b0");
{
  "id": "759cd214-98db-40c1-9df4-66d818a51c3a",
  "from": "Test <send@dhesend.com>",
  "to": ["dhesend@gmail.com"],
  "subject": "Hello, it is working!",
  "htmlBody": "<h1>Nice to meet you</h1>",
  "createdAt": "2024-12-31T11:17:26.332Z",
  "status": "scheduled",
  "tags": null,
  "cc": null,
  "bcc": null,
  "replyTo": null,
  "textBody": null,
  "statusMetadata": null,
  "completedAt": null,
  "scheduledAt": null
}
Endpoint
Use this endpoint to fetch an email with GET request.
GET /email/:id
Path parameters
idstringrequired
The Email ID.

Dhesend @ 2024 - Made with ❤ by  DHEM