Skip to main content
GET
Get Offer Template

Authorizations

Authorization
string
header
required

Send your Workspace ID and API key as a base64-encoded username:password string.

  • Username: Your MoEngage Workspace ID (also known as the App ID), from Settings > Account > API keys.
  • Password: An API key generated from Settings > Account > API keys. Click + Create new key, set Authentication type to Basic Auth, select the Offerings group, and assign at least the View permission.

Refer to API Key Dashboard for details on creating and managing API keys.

Path Parameters

template_id
string
required

The ID of the personalization template to retrieve (for example, promo_banner_demo). This is the template's natural key, not a prefixed ObjectId. You can fetch template IDs using the List Offer Templates API.

Response

Template retrieved successfully.

Full detail for a single personalization template.

response_id
string

Trace identifier for the response.

Example:

"resp_5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3"

type
enum<string>

Object type of the response. Always template for this endpoint.

Available options:
template
data
object

A personalization template's identity, its field-level configuration, and its preview HTML.