Email
Create an email rule
from_name, reply_to, to, cc, bcc, subject, html and text use the template language with the document's context (data keys, data, render including render.invoice) plus files and download_links; condition is an expression. Every field must compile, else 422 email_template_error with errors[].path, line and column. A from_email the provider hasn't verified is saved with the warning email_sender_unverified.
post/v1/templates/{template_id}/email-rules
Request
- Base URL: https://api-eu.dynamicdocumentapi.com
- URL: https://api-eu.dynamicdocumentapi.com/v1/templates/{template_id}/email-rules
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Path parameters
template_idstring required
Template id (tpl_…).
Headers
Idempotency-Keystring
Replays the stored response for 24 h; a different body with the same key → 422.
Request body
Response
Changes
No recorded changes to this operation across all 2 revisions of this API.