Skip to main content
POST
/
inboxes
/
{inboxId}
/
messages
JavaScript
import Nuntly from '@nuntly/sdk';

const client = new Nuntly({
  apiKey: process.env['NUNTLY_API_KEY'],
});

const response = await client.inboxes.messages.send('inboxId_value', { /* ... */ });
{
  "data": {
    "id": "<string>",
    "threadId": "<string>",
    "messageId": "<string>",
    "subject": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://nuntly.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

inboxId
string
required

Body

application/json
to
string[]
required

The recipient addresses.

Example:

"brian67@gmail.com"

subject
string
required

The message subject.

Example:

"Verify your email address"

cc
string[]

The CC addresses.

Example:

"carlo43@gmail.com"

bcc
string[]

The BCC addresses.

Example:

"archive@company.com"

text
string

The plain text body.

Example:

"Thank you for signing up! Please verify your email address."

html
string

The HTML body.

Example:

"<h1>Welcome</h1><p>Thank you for signing up! Please verify your email address.</p>"

Response

Request accepted.

data
object
required