Skip to main content
POST
Create a message from a template

Authorizations

x-api-key
string
header
required

Body

application/json
templateId
string
required

ID of the template to use

recipients
object[]
required

List of recipient objects

emailSubject
string

Optional custom subject for the email sent to recipients.

Response

Successfully created message from template

Response data

message
string

Status message

pdf_id
string

Identifier of the created PDF

recipients
string<email>[]

List of recipient email addresses