Skip to main content
GET
List Offer Templates

Authorizations

Authorization
string
header
required

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 dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
  • Password: On your MoEngage workspace, navigate to Settings > Account > API keys. Use the Key listed within the Personalize tile.

For more information on authentication and getting your credentials, refer to Getting your credentials. Send the value in the Authorization header as Basic followed by Base64-encoding of appkey:apisecret (workspace ID and API key).

Headers

X-MOE-Request-Id
string<uuid>

Client-supplied trace ID (UUID v4). Echoed back in the X-MOE-Request-Id response header and in server logs. If omitted, the server generates a trace ID automatically.

Query Parameters

cursor
string

An opaque pagination token used to retrieve the next page of results.

  • Initial Request: Omit this parameter entirely on the first call to fetch the beginning of the list.
  • Subsequent Pages: Pass the exact string received from the next_cursor field of the immediate previous response.
  • Handling: Pass this token completely verbatim. Do not decode, alter, or modify the string in any way.
limit
integer
default:20

Number of templates per page. Default 20, maximum 100.

Required range: 1 <= x <= 100

Response

Paginated list of offer templates.

response_id
string
required

Stable trace identifier for this response. Format: "resp_" + X-MOE-Request-Id. Identical on retries that carry the same X-MOE-Request-Id header, enabling client-side deduplication and cross-log correlation.

type
enum<string>
required
Available options:
template
data
object[]
required

List of templates matching the applied pagination.

pagination
object
required

Pagination metadata included in list responses.