Node.js SDK
Update Email Artifact
Replace one generated email artifact with updated Migma Email source. Migma compiles the source, persists the new HTML, refreshes previews, and keeps the parent canvas/conversation in sync.
PATCH
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