Skip to main content
POST
Node.js SDK

Authorizations

Authorization
string
header
required

API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → Developers → API Keys.

Body

application/json
emailId
string
required

Email ID to test-send. Recommended for generated emails and required for series slots.

Pattern: ^[0-9a-fA-F]{24}$
to
string<email>
required

Recipient email address

conversationId
string

Single-email conversation ID. For series, use emailId.

Pattern: ^[0-9a-fA-F]{24}$

Response

Test email sent successfully

success
boolean
required
data
object
error
string | null