Skip to main content
GET
/
emails
/
{id}
/
events
JavaScript
import Nuntly from '@nuntly/sdk';

const client = new Nuntly({
  apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted
});

const events = await client.emails.events.list('em_01ka8k8s80gvx9604cn9am5st4');

console.log(events);
{
  "data": [
    {
      "id": "<string>",
      "orgId": "<string>",
      "emailId": "<string>",
      "createdAt": "<string>",
      "eventType": "email.queued",
      "payload": "<unknown>",
      "occurredAt": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>

Path Parameters

id
string
required

The id of the email

Example:

"em_01ka8k8s80gvx9604cn9am5st4"

Response

200 response

The events email

data
object[]
required