channels
email
email-templates

Generate email template preview

Generates a rendered preview of an email template by replacing placeholders with the provided key-value data.

post/email/1/templates/{templateId}/preview

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Path parameters

templateIdinteger required

Unique identifier (ID) of the email template.

Request body multipart/form-data

placeholdersobject

A map of placeholder names and their replacement values.

Example request

{
  "placeholders": {
    "firstName": "Joe"
  }
}

Response

OK

Changes

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