Dynamic Templates

Send a dynamically templated message

Send an email using a dynamic template with variable substitution

post/templated_messages

Request

  • Base URL: https://api.paubox.com/v1/email
  • URL: https://api.paubox.com/v1/email/templated_messages
  • Auth: HTTP bearer

Request body

Example request

{
  "data": {
    "template_name": "detailed_test",
    "template_values": "{ \"name\": \"Howard\", \"conditional\":\"true\",\"items\":[\"one\",\"two\",\"three\"] }"
  }
}

Response

Templated message sent successfully

sourceTrackingIdstring

Identifier for tracking the message source.

customHeadersobject
datastring

Example response

{
  "data": "Service OK"
}

Changes

No recorded changes to this operation across all 1 revision of this API.