Skip to main content
GET
Get Offer Template

Rate Limit

The rate limit is 150 requests per minute, 500 requests per hour, and 1000 requests per day per consumer.

承認

Authorization
string
header
必須

Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format username:password.

  • Username: Use your MoEngage Workspace ID (also known as the App ID). Find it in the MoEngage dashboard at Settings > Account > API keys.
  • Password: Use an API key from Settings > Account > API keys.

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

パスパラメータ

template_id
string
必須

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

レスポンス

Template retrieved successfully.

Full detail for a single personalization template.

response_id
string
必須

Trace identifier for the response.

例:

"resp_<trace-id>"

type
enum<string>
必須

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

利用可能なオプション:
template
data
object
必須

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