import Nuntly from '@nuntly/sdk';
const client = new Nuntly({
apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const domainListResponse of client.domains.list()) {
console.log(domainListResponse.id);
}
Returns all domains with their verification and capability status.
GET
/
domains
JavaScript
Copy
import Nuntly from '@nuntly/sdk';
const client = new Nuntly({
apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const domainListResponse of client.domains.list()) {
console.log(domainListResponse.id);
}