GET
/
emails
/
{id}
/
events
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>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The email id

Query Parameters

limit
number
default:10

The number of emails to return

Required range: 1 <= x <= 30
cursor
string

The cursor to use for pagination

Response

200
application/json

A successful response

The response is of type object.