Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Render Content Block Email

POST /tenants/{tenant}/contentblocks/{code}/render-email

Completes a content block's subject and body for a one-off email, from the client and To addresses given. The result has no email header or footer, because the composer adds those on send.

Requires: ViewAll on ContentBlocks.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string
{
  "clientCode": "string",
  "toEmails": [
    "string"
  ]
}

Responses

401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found