TypeScript
import Nuntly from '@nuntly/sdk'; const client = new Nuntly({ apiKey: 'My API Key', }); const events = await client.emails.events.list('em_qiPSkLrTmXvDohbxCcYt3pFEMGgnjHD6kbDL8d4uGKvNGboT'); console.log(events);
{ "data": [], "next_cursor": "<string>" }
Return the events related to this email id
Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>
The email id
The maximum number of items to return
1 <= x <= 30
The cursor to use for pagination
A successful response
The events email
Show child attributes
The email event id
The id of the organization
The id of the email
Date at which the events occurs (ISO 8601 format)
The type of the email event
email.queued
email.scheduled
email.processed
email.sending
email.sent
email.delivered
email.opened
email.clicked
email.bounced
email.complained
email.rejected
email.delivery_delayed
email.failed
Detail of the event
The kind of object returned
event-email
[]