{"uid":"cap_u1DIplo1ETDKatMYNKgEA","slug":"docforge-email-generator-c221cd58","name":"DocForge Email Generator","description":"Machine-payable document & media generation via x402 (USDC on Base). Endpoints respond 402 with payment instructions; retry with an x402 payment header.","url":"https://docforge-selim.duckdns.org/email?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{"mjml":{"type":"string","description":"Raw MJML source. Mutually exclusive with 'blocks'."},"brand":{"type":"object","description":"{ name?, logoUrl?, color? (#hex) }"},"title":{"type":"string","description":"Friendly spec: document title"},"blocks":{"type":"array","description":"Ordered blocks: text|heading|button|image|divider|spacer. Mutually exclusive with 'mjml'."},"preheader":{"type":"string","description":"Friendly spec: inbox preview text"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":"Responsive HTML email (text/html); 400 with details[] if MJML is invalid"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_l5TLqZe-AVT5QVzHtWv9e","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts MJML email markup into responsive HTML email output, payable via x402 USDC on Base","exampleAgentPrompt":"Take this MJML template I have for our product launch announcement and render it into a responsive HTML email I can drop straight into our mailing system: <mjml><mj-body><mj-section><mj-column><mj-text>Welcome to our launch!</mj-text></mj-column></mj-section></mj-body></mjml>","exampleUseCases":null,"resultDescription":"Returns a text/html response containing fully rendered, responsive HTML email derived from the submitted MJML; if the MJML is invalid, returns a 400 status with a details array listing the specific validation errors.","failureModes":["400 with details[] array if the submitted MJML is syntactically invalid or contains unsupported components","402 Payment Required on first call — retry with x402 payment header containing USDC on Base","Network timeout if the duckdns host is temporarily unreachable","Malformed request body if MJML is not properly encoded in the POST payload"],"whenToPreferThis":"Choose this endpoint when you need to programmatically convert MJML source markup into production-ready responsive HTML email and want to pay per-call in USDC via the x402 protocol with no subscription or API key setup. Ideal for agents orchestrating email campaign generation or transactional email pipelines that already handle x402 payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T05:25:49.483Z","isFirstParty":false,"canonicalSlug":"docforge-email-generator-c221cd58"}