Node.js SDK
Compile Email Artifact
Compile one generated email artifact without saving changes. Pass source to preview local edits, or omit source to compile the saved artifact source.
POST
Node.js SDK
Authorizations
API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.
Path Parameters
Email artifact ID returned in generation status result.emails[].artifactId or shown in Publish -> Send via API.
Pattern:
^[0-9a-fA-F]{24}$Body
application/json