Mail merge
Create a campaign
Parses the recipient list, maps its columns to the template's fields and validates every row. Returns a draft with a validation report (201), or with start: true and consent, queues it straight away (202). Each email the mail server accepts costs one PDF credit.
post/mailmerge/campaigns
Request
- Base URL: https://api.podpdf.com
- URL: https://api.podpdf.com/mailmerge/campaigns
- Auth: API key in header X-API-Key
Request body
Example request
{
"email": {
"subject": "Your statement, {{customer.name}}"
}
}Response
Draft created
Example response
{
"campaign": {
"email": {
"subject": "Your statement, {{customer.name}}"
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.