Creating an offering with a template: call List Offer Templates to find the template id, then Get Offer Template to read its fields (template_config). In your request, set the content type to template and send:
value: the field values, keyed by each field’s outputKeyName. Include every required field. For a dropdown field, use the option’s value.
meta.templateId: the template id.
meta.metaConfigObject: the template_config, with each field’s value set to the same value you send in value. Validate Offering returns TEMPLATE_VALUE_MISMATCH when they differ.
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 Create & Manage permission.
Refer to API Key Dashboard for details on creating and managing API keys.
Headers
Idempotency-Key
string<uuid>
required
UUID v4 idempotency token. Submitting the same key within 24 hours returns the original 201 response without re-creating the Offering. A different body hash on the same key returns 409 IDEMPOTENCY_CONFLICT. A concurrent in-progress request with the same key returns 409 DUPLICATE_IDEMPOTENCY_KEY.
X-MOE-Request-Id
string<uuid>
Client-supplied trace ID (UUID v4). Echoed back in the X-MOE-Request-Id response header. Use this to correlate client requests with server-side logs. If you also send request_id in the body, the body value is used.
Body
application/json
Request body for creating an Offering via POST /v5/offers.
Required field: created_by. A request ID is also required, either as request_id in the
body or as the X-MOE-Request-Id header. All other fields are optional while the offering is a
draft, so you can create a draft with a few fields and complete it later with Update Offering.
Some fields are required to publish the offering: display_name, priority, scheduling,
segment_info, offer_content and variation_meta, plus attribution_multiplier and
imp_track_hours when you add a conversion goal (conversion). To see what is still missing, call
Validate Offering.
Unique display name for this offering within the workspace. Names are
case-sensitive and must be unique. Follow these rules:
Length: 5–100 characters, measured after leading and trailing spaces are trimmed.
Starting character: Must start with a letter (A–Z or a–z). It cannot start with a digit, a space, or a special character.
Letters: Must contain at least one letter (A–Z or a–z).
Allowed characters: Letters, digits, spaces, and the special characters hyphen (-), ampersand (&), underscore (_), percent (%), and round brackets (( and )).
Required string length: 5 - 100
Example:
"Summer_Sale_Promo_2026"
description
string
Optional free-text description of the offering's purpose, targeting rationale, or expected user experience. Visible in the MoEngage UI offering list.
Maximum string length: 500
Example:
"20% discount for returning users who have not purchased in 30 days"
priority
integer
Static priority score for offer ranking. Lower number means lower priority (1 is lowest priority, 100 is highest). This score is used when the Decision Policy ranking strategy is set to Offering Priority.
Required range: 1 <= x <= 100
request_id
string
Optional. A unique ID for this request, used to trace it in logs and support tickets. A UUID v4 is recommended. If you omit it, the X-MOE-Request-Id header is used. If you send both, request_id is used. If neither is sent, the API returns 400 REQUIRED_FIELD_MISSING.
Example:
"5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3"
status
enum<string>
Optional. Offerings created through the API are always saved as drafts, so the only accepted value is draft. If you omit status, the offering is created in draft state. Any other value returns 400 INVALID_STATUS. Publishing isn't available through the API. To make the offering live, publish the draft manually from the MoEngage dashboard.
Creating a draft requires the Create & Manage permission. Without it, the API returns 403 INSUFFICIENT_SCOPE.
Available options:
draft
Example:
"draft"
tags
string[]
Names of existing tags to attach to the offering (for example SUMMER_SALE). Tags are used to group offerings and to select offerings in Decision Policies.
Maximum array length: 10
Example:
["SUMMER_SALE", "NEW_USER_ACQUISITION"]
scheduling
object
Scheduling window that determines when an offering is eligible for delivery.
Both start_datetime and expiry_datetime are required when creating an offering.
Show child attributes
segment_info
object
Segment targeting configuration that controls which users are eligible to
receive this offering.
included_filters: criteria a user MUST match to be eligible.
excluded_filters: criteria that DISQUALIFY a user even if they match the
included filters.
To target all users, use the built-in moe_all_users segment:
Optional. Targets visitors in real time. In-session attributes enable real-time visitor grouping based on dynamic conditions, using attributes passed as key-value (KV) pairs. Use included_filters to include visitors and excluded_filters to exclude them.
You can add up to 10 attributes in a group and up to 5 groups per offering. Validate Offering checks these limits.
Supported data types: string, double, bool, datetime, array_string and array_double. To learn more about in-session attributes and the supported operators and data types, see In-session attributes.
Show child attributes
offer_content
object
The core content payload delivered to the end-user. This object supports two mutually exclusive structures depending on whether your offering uses content variations or experimentation.
Mutually Exclusive: Do not provide both content_1 and locales in the same request payload. Doing so will result in a validation error.
1. Flat Format (No Content Variations)
Use this structure for simple offerings that do not require A/B testing or localization.
Payload Structure: Send a single content_1 object at the root level.
Behavior: The exact same content block is served universally to all eligible users.
2. Nested Format (Multiple Content Variations)
Use this structure when variation_meta.type is configured as either SMV (Static Multi-Variant) or DMV (Dynamic Multi-Variant).
Payload Structure: Send a structured locales map object.
Single-Locale Targeting: For single-locale offerings, you must use "0" as the literal locale key string.
Variations Mapping: Inside each locale, the nested variations map keys must exactly match the variation IDs defined in smv_distribution.split for SMV. DMV has no split, so the keys are the variations you define. Variation keys must follow the variation_N format (e.g. variation_1, variation_2).
SMV: Fixed percentage splits across up to 5 variations.
DMV: The system automatically learns which variant performs best over time and shifts traffic toward the winner.
Offer Control Group: A configurable percentage of eligible users to be held out as a pure control group.
Lifecycle & Mutation Rules
variation_meta can be edited via PATCH /v5/offers/{offer_id} while the offering is a draft. All fields (type, smv_distribution, control_group) are editable on a draft.
Frequency capping configuration that limits how often this offering is delivered.
Two independent capping rules can be configured and enabled simultaneously.
overall: Limits the TOTAL number of times the offering is delivered across
ALL users in the target segment within the capping schedule period.
user_level: Limits the number of times any SINGLE user can receive the
offering within the capping schedule period.
The attribution window for conversion goal tracking. Required to publish when conversion is provided.
The unit and allowed range depend on attribution_multiplier. Despite its name, the value is in days when attribution_multiplier is 24:
attribution_multiplier is 1 — hours. imp_track_hours must be between 1 and 36.
attribution_multiplier is 24 — days. imp_track_hours must be between 1 and 10.
Required range: 1 <= x <= 36
Example:
36
attribution_multiplier
enum<integer>
Sets the unit for conversion goal tracking. Required to publish when conversion is provided. Accepts only 1 or 24:
1 — tracking is done in hours. imp_track_hours must be between 1 and 36.
24 — tracking is done in days. imp_track_hours must be between 1 and 10.
Available options:
1,
24
Example:
1
offering_attribute_configuration
object[]
Custom attributes assigned to this offering. These attributes are used in Decision Policy using the Custom formula ranking strategy.
Maximum array length: 5
Show child attributes
conversion
object
Conversion goal configuration for measuring offering effectiveness. This can be set at creation time or later via PATCH while the offering is a draft.
When you add a conversion goal, attribution_multiplier and imp_track_hours are also required to publish.
Show child attributes
Response
Offering created as a draft. To make it live, publish it manually from the MoEngage dashboard.
Response returned by POST /v5/offers on successful creation.
response_id
string
Format: resp_<X-MOE-Request-Id> header value (auto-generated UUID if the X-MOE-Request-Id header was not part of the request body).
Example:
"resp_5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3"
type
enum<string>
Resource type discriminator. Always offer.
Available options:
offer
data
object
Created offering summary.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MoEngage","colors":{"primary":"#2E69FF","light":"#6691FF","dark":"#2554CC"},"logo":{"light":"https://mintcdn.com/moengage/VG5pJbeZsDUmdCZM/logo/light.svg?fit=max\u0026auto=format\u0026n=VG5pJbeZsDUmdCZM\u0026q=85\u0026s=28ca5909311cb6ffe01738e1503b5e64","dark":"https://mintcdn.com/moengage/VG5pJbeZsDUmdCZM/logo/dark.svg?fit=max\u0026auto=format\u0026n=VG5pJbeZsDUmdCZM\u0026q=85\u0026s=728a767d8fb8d3434575a28de18d08c5","href":"https://www.moengage.com/docs/"},"favicon":"https://mintcdn.com/moengage/bJi_ZHRHKldZCdcW/logo/favicon.svg?fit=max\u0026auto=format\u0026n=bJi_ZHRHKldZCdcW\u0026q=85\u0026s=9d13744d3b616913967983f324947bb5","api":{"examples":{"languages":["curl"]}},"appearance":{"default":"system"},"background":{"decoration":"gradient","color":{"light":"#FFFFFF","dark":"#121212"}},"navbar":{"links":[{"href":"/user-guide/contact-support/raise-a-support-ticket-through-moengage-dashboard","label":"Support"},{"href":"https://www.moengage.com/request-demo","label":"Request Demo"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.moengage.com/"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/moengage","x":"https://x.com/i/flow/login?redirect_after_login=%2Fmoengage","youtube":"https://www.youtube.com/c/MoEngage_Global","facebook":"https://www.facebook.com/moengage","github":"https://github.com/moengage"},"links":[{"header":"Support","items":[{"label":"Contact Support","href":"https://www.moengage.com/docs/user-guide/contact-support/raise-a-support-ticket-through-moengage-dashboard"},{"label":"AIRA Support Bot","href":"https://www.moengage.com/docs/user-guide/contact-support/aira-support-bot/aira-overview"},{"label":"Suggest a Feature","href":"https://www.moengage.com/docs/user-guide/contact-support/suggest-a-feature"},{"label":"System Status","href":"https://status.moengage.com"}]},{"header":"Learn","items":[{"label":"MoEngage Academy","href":"https://academy.moengage.com/student/catalog"},{"label":"Use Cases","href":"https://www.moengage.com/docs/use-cases/introduction"},{"label":"Release Notes","href":"https://www.moengage.com/docs/release-notes/subscribe-to-release-notes"},{"label":"Blog","href":"https://www.moengage.com/blog"}]},{"header":"For AI Tools","items":[{"label":"Setup Guide","href":"https://www.moengage.com/docs/documentation-access-to-agents"},{"label":"llms.txt","href":"https://www.moengage.com/docs/llms.txt"},{"label":"llms-full.txt","href":"https://www.moengage.com/docs/llms-full.txt"}]}]},"seo":{"metatags":{"google-site-verification":"ICNaPDX9oefbF09W1b5_U9PDnlkyfyKSRbIap6_dW6o"},"indexing":"all"},"fonts":{"heading":{"family":"circular","source":"https://app-cdn.moengage.com/images/Fonts/CircularXXWeb-Regular.woff2","format":"woff2"},"body":{"family":"circular","source":"https://app-cdn.moengage.com/images/Fonts/CircularXXWeb-Regular.woff2","format":"woff2"}},"styling":{"eyebrows":"breadcrumbs","latex":true},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"interaction":{"drilldown":true},"navigation":{"languages":[{"language":"en","href":""},{"language":"ja","href":"ja"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"moengage","hasAudioNarration":false,"actualSubdomain":"moengage","customDomains":["moengage.com"],"gitSource":{"type":"github","owner":"moengage","repo":"moengage-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"contextualFeedback":{"allowEmail":true},"issues":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b068eba403dd4bf0d0ca583","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"ja","tag":"ガイド","count":1180},{"language":"en","tag":"Guide","count":1056},{"language":"ja","tag":"ユーザーガイド","count":798},{"language":"en","tag":"User Guide","count":665},{"language":"ja","tag":"キャンペーンとチャネル","count":437},{"language":"en","tag":"SDKs","count":399},{"language":"en","tag":"Partner Integrations","count":392},{"language":"ja","tag":"SDK","count":390},{"language":"en","tag":"Developer Guide (SDKs)","count":388},{"language":"ja","tag":"パートナー統合","count":384},{"language":"ja","tag":"開発者ガイド(SDK)","count":379},{"language":"en","tag":"Campaigns and Channels","count":326},{"language":"en","tag":"Use Cases","count":218},{"language":"ja","tag":"ユースケース","count":218},{"language":"en","tag":"API Guide","count":186},{"language":"ja","tag":"APIガイド","count":183},{"language":"en","tag":"Endpoints","count":180},{"language":"ja","tag":"エンドポイント","count":177},{"language":"en","tag":"Release Notes","count":140},{"language":"ja","tag":"リリースノート","count":136}],"searchSettings":{"maxResults":8,"isFiltersEnabled":true}},"assistantConfig":{"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"deflection":{"enabled":false,"type":"email"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"69a03c84f0b21f38ae93fdfb","deploymentId":"68bea8f8fe02728a34cf2acf","questionText":"How do I track user events?","status":"active","generatedBy":"manual","createdAt":"2026-02-26T12:28:52.454Z","updatedAt":"2026-02-26T12:28:52.454Z","__v":0}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/docs/_mintlify/custom/moengage/0a209f0cf9e21c6c/style.css"}]}
{"page":{"pagePath":"api/public-offerings/create-offering","slug":"/api/public-offerings/create-offering","pageMetadata":{"title":"Create Offering","description":"Create a new Offering in the workspace.\n\n**Creating an offering with a template:** call [List Offer Templates](/api/public-offerings/list-offer-templates) to find the template `id`, then [Get Offer Template](/api/public-offerings/get-offer-template) to read its fields (`template_config`). In your request, set the content `type` to `template` and send:\n\n1. `value`: the field values, keyed by each field's `outputKeyName`. Include every required field. For a dropdown field, use the option's `value`.\n2. `meta.templateId`: the template `id`.\n3. `meta.metaConfigObject`: the `template_config`, with each field's `value` set to the same value you send in `value`. Validate Offering returns `TEMPLATE_VALUE_MISMATCH` when they differ.\n","deprecated":null,"version":null,"openapi":"/api/offerings/offerings.yaml post /v5/offers","href":"/api/public-offerings/create-offering","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n li: \"li\",\n ol: \"ol\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Create a new Offering in the workspace.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Creating an offering with a template:\"\n }), \" call \", _jsx(_components.a, {\n href: \"/api/public-offerings/list-offer-templates\",\n children: \"List Offer Templates\"\n }), \" to find the template \", _jsx(_components.code, {\n children: \"id\"\n }), \", then \", _jsx(_components.a, {\n href: \"/api/public-offerings/get-offer-template\",\n children: \"Get Offer Template\"\n }), \" to read its fields (\", _jsx(_components.code, {\n children: \"template_config\"\n }), \"). In your request, set the content \", _jsx(_components.code, {\n children: \"type\"\n }), \" to \", _jsx(_components.code, {\n children: \"template\"\n }), \" and send:\"]\n }), \"\\n\", _jsxs(_components.ol, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"value\"\n }), \": the field values, keyed by each field’s \", _jsx(_components.code, {\n children: \"outputKeyName\"\n }), \". Include every required field. For a dropdown field, use the option’s \", _jsx(_components.code, {\n children: \"value\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"meta.templateId\"\n }), \": the template \", _jsx(_components.code, {\n children: \"id\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"meta.metaConfigObject\"\n }), \": the \", _jsx(_components.code, {\n children: \"template_config\"\n }), \", with each field’s \", _jsx(_components.code, {\n children: \"value\"\n }), \" set to the same value you send in \", _jsx(_components.code, {\n children: \"value\"\n }), \". Validate Offering returns \", _jsx(_components.code, {\n children: \"TEMPLATE_VALUE_MISMATCH\"\n }), \" when they differ.\"]\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Offering","description":"Create a new Offering in the workspace.\n\n**Creating an offering with a template:** call [List Offer Templates](/api/public-offerings/list-offer-templates) to find the template `id`, then [Get Offer Template](/api/public-offerings/get-offer-template) to read its fields (`template_config`). In your request, set the content `type` to `template` and send:\n\n1. `value`: the field values, keyed by each field's `outputKeyName`. Include every required field. For a dropdown field, use the option's `value`.\n2. `meta.templateId`: the template `id`.\n3. `meta.metaConfigObject`: the `template_config`, with each field's `value` set to the same value you send in `value`. Validate Offering returns `TEMPLATE_VALUE_MISMATCH` when they differ.\n","deprecated":null,"version":null,"openapi":"/api/offerings/offerings.yaml post /v5/offers","href":"/api/public-offerings/create-offering","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/moengage/992523b3cb2256cd/script.js"],"openApiReferenceData":{"operation":{"security":["bafc4024-7d93-4665-bf24-bb0f48a36fc2","5d341d5c-b744-4d83-ba19-cc9c1e790e83"],"operationId":"createPublicOffering","summary":"Create Offering","description":"Create a new Offering in the workspace.\n\n**Creating an offering with a template:** call [List Offer Templates](/api/public-offerings/list-offer-templates) to find the template `id`, then [Get Offer Template](/api/public-offerings/get-offer-template) to read its fields (`template_config`). In your request, set the content `type` to `template` and send:\n\n1. `value`: the field values, keyed by each field's `outputKeyName`. Include every required field. For a dropdown field, use the option's `value`.\n2. `meta.templateId`: the template `id`.\n3. `meta.metaConfigObject`: the `template_config`, with each field's `value` set to the same value you send in `value`. Validate Offering returns `TEMPLATE_VALUE_MISMATCH` when they differ.\n","x-moe-mcp":{"expose":{"external":true,"internal":true},"tool_description":"Create a new offering in the workspace.\n\nKey constraints:\n - start_datetime and expiry_datetime must use the UTC \"Z\" suffix (e.g. \"2027-06-01T00:00:00Z\").\n Offset strings like \"+05:30\" are not accepted.\n - tags are tag names (for example \"SUMMER_SALE\"); use the names of tags that already exist in the workspace.\n - variation_meta can be updated via PATCH while the offering is a draft. See update_offering.\n - display_name: 5–100 chars after trimming spaces; must start with a letter and contain at least one letter;\n allowed characters are letters, digits, spaces, and - \u0026 _ % ( ).\n\nIn-session targeting (optional): include insession_attr_info to target visitors by in-session attributes\n(key-value pairs passed at decision time). Structure: filters.included_filters and/or filters.excluded_filters,\neach with filter_operator (\"and\" or \"or\") and a filters list. Each entry is a single attribute (filter_type\n\"query_parameter\" with data_type, name, operator, value, negate) or a group (filter_type \"nested_filters\" with its\nown filter_operator and filters). data_type: string, double, bool, datetime, array_string, array_double;\ncase_sensitive applies to string and array_string. Up to 10 attributes per group and 5 groups per offering.\n\nAlways supply a unique Idempotency-Key (UUID v4) header to prevent duplicate offerings\non retries. The same key within 24 hours returns the original 201 response.\n\nFor a simple single-variant offering with no A/B test:\n - Set variation_meta.type = SMV, split = {variation_1: 100}\n - Put content in offer_content.locales[\"0\"].variations.variation_1\n - Locale key must be \"0\" for single-locale offerings (not \"default\" or \"en\")\n - Variation keys must follow the variation_N format (e.g. variation_1, variation_2). Other formats are rejected.\n","param_overrides":{"variation_meta":{"description":"A/B test configuration. For a simple offering (no A/B test), use:\n type: SMV, split: {variation_1: 100}\nVariation keys must follow the variation_N format (e.g. variation_1, variation_2). Other formats are rejected.\nMaximum 5 variations per offering.\nFor A/B test (SMV): split values must sum to exactly 100 inclusive of control group allocation(checked when the offering is validated before it is published).\nFor AI optimization (DMV): do not send smv_distribution — the server learns the allocation over time (sending it returns IMMUTABLE_FIELD).\nOnly draft offerings can be updated via PATCH, and all variation_meta fields are editable on a draft.\n"},"offer_content":{"description":"Content payload. Use the locales[\"0\"] nested format for single-locale offerings:\n {\"locales\": {\"0\": {\"variations\": {\"variation_1\": {\"content_1\": {\"type\": \"json\", \"value\": \"...\"}}}}}}\nThe locale key \"0\" is required for single-locale — do not use \"default\" or \"en\".\nVariation keys in offer_content must exactly match the split keys (checked when the offering is validated before it is published).\nVariation keys must follow the variation_N format (e.g. variation_1, variation_2).\n"},"scheduling":{"description":"Schedule window. start_datetime and expiry_datetime **MUST** use\nUTC \"Z\" suffix (e.g. \"2027-06-01T00:00:00Z\"). Offset strings like \"+05:30\" return INVALID_TYPE.\n"},"segment_info":{"description":"Audience targeting. To target all users, use the built-in moe_all_users segment:\n {\"filters\": {\"included_filters\": {\"filter_operator\": \"and\", \"filters\": [{\"filter_type\": \"custom_segments\", \"id\": \"moe_all_users\", \"name\": \"All Users\"}]}}}\nFor attribute-based targeting, use filter_type: \"user_attributes\" with data_type required.\n"}}},"tags":["Public Offerings"],"parameters":["41817d40-b229-4953-9afc-4cedc6cf1355","510449cd-755c-4675-91b0-8b8e3a24db35"],"requestBody":"5bbde084-2201-49c3-a223-4d74f446d229","responses":{"201":"40b7937e-aba4-4afd-9642-12243234b25d","400":"8873b808-53c1-4f2e-a441-164b75631e6b","401":"0977c88f-c2cd-421a-8ea7-fb83b69b5402","403":"b28f6a58-8c36-416b-96b9-049d2d3f5ba7","409":"74e06d8b-ca50-4469-8d2b-0889f60ea6de","429":"3345b209-34c0-4d1c-a787-cd9dcf87923e","503":"7919fb48-1dc0-4b83-88fa-28924f3f1d4f"},"method":"post","type":"path","servers":["855a4682-9dd5-427d-8635-01150be728af"],"path":"/v5/offers","baseUrlOptions":["https://api-{dc}.moengage.com"],"title":"Create Offering","codeSamples":[],"requestExampleLanguages":["bash"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"41817d40-b229-4953-9afc-4cedc6cf1355":{"name":"Idempotency-Key","in":"header","required":true,"example":"9e3c1a52-6f7b-4d08-b2a4-71c5e8f90d36","schema":{"type":"string","format":"uuid","isRequired":true,"description":"UUID v4 idempotency token. Submitting the same key within 24 hours returns the original `201 response` without re-creating the Offering. A different body hash on the same key returns `409 IDEMPOTENCY_CONFLICT`. A concurrent in-progress request with the same key returns `409 DUPLICATE_IDEMPOTENCY_KEY`.\n","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"UUID v4 idempotency token. Submitting the same key within 24 hours returns the original `201 response` without re-creating the Offering. A different body hash on the same key returns `409 IDEMPOTENCY_CONFLICT`. A concurrent in-progress request with the same key returns `409 DUPLICATE_IDEMPOTENCY_KEY`.\n"},"510449cd-755c-4675-91b0-8b8e3a24db35":{"name":"X-MOE-Request-Id","in":"header","required":false,"example":"5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","schema":{"type":"string","format":"uuid","isRequired":false,"description":"Client-supplied trace ID (UUID v4). Echoed back in the X-MOE-Request-Id response header. Use this to correlate client requests with server-side logs. If you also send `request_id` in the body, the body value is used.\n","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Client-supplied trace ID (UUID v4). Echoed back in the X-MOE-Request-Id response header. Use this to correlate client requests with server-side logs. If you also send `request_id` in the body, the body value is used.\n"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"Request body for creating an Offering via `POST /v5/offers`.\n\nRequired field: `created_by`. A request ID is also required, either as `request_id` in the\nbody or as the `X-MOE-Request-Id` header. All other fields are optional while the offering is a\ndraft, so you can create a draft with a few fields and complete it later with Update Offering.\n\nSome fields are required to publish the offering: `display_name`, `priority`, `scheduling`,\n`segment_info`, `offer_content` and `variation_meta`, plus `attribution_multiplier` and\n`imp_track_hours` when you add a conversion goal (`conversion`). To see what is still missing, call\n[Validate Offering](/api/public-offerings/validate-offering).\n","type":"object","required":["created_by"],"properties":{"created_by":{"type":"string","format":"email","description":"Email address of the user creating this offering.\n","example":"[email protected]","isRequired":true,"uniqueKey":"created_by","typeLabel":"string\u003cemail>"},"display_name":{"type":"string","description":"Unique display name for this offering within the workspace. Names are\ncase-sensitive and must be unique. Follow these rules:\n\n- **Length:** 5–100 characters, measured after leading and trailing spaces are trimmed.\n- **Starting character:** Must start with a letter (A–Z or a–z). It cannot start with a digit, a space, or a special character.\n- **Letters:** Must contain at least one letter (A–Z or a–z).\n- **Allowed characters:** Letters, digits, spaces, and the special characters hyphen (`-`), ampersand (`\u0026`), underscore (`_`), percent (`%`), and round brackets (`(` and `)`).\n","minLength":5,"maxLength":100,"example":"Summer_Sale_Promo_2026","uniqueKey":"display_name","typeLabel":"string"},"description":{"type":"string","description":"Optional free-text description of the offering's purpose, targeting rationale, or expected user experience. Visible in the MoEngage UI offering list.\n","maxLength":500,"example":"20% discount for returning users who have not purchased in 30 days","uniqueKey":"description","typeLabel":"string"},"priority":{"type":"integer","description":"Static priority score for offer ranking. Lower number means lower priority (1 is lowest priority, 100 is highest). This score is used when the Decision Policy ranking strategy is set to Offering Priority.\n","minimum":1,"maximum":100,"uniqueKey":"priority","typeLabel":"integer"},"request_id":{"type":"string","description":"Optional. A unique ID for this request, used to trace it in logs and support tickets. A UUID v4 is recommended. If you omit it, the `X-MOE-Request-Id` header is used. If you send both, `request_id` is used. If neither is sent, the API returns `400 REQUIRED_FIELD_MISSING`.\n","example":"5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","uniqueKey":"request_id","typeLabel":"string"},"status":{"type":"string","description":"Optional. Offerings created through the API are always saved as drafts, so the only accepted value is `draft`. If you omit `status`, the offering is created in `draft` state. Any other value returns `400 INVALID_STATUS`. Publishing isn't available through the API. To make the offering live, publish the draft manually from the MoEngage dashboard.\n\nCreating a draft requires the **Create \u0026 Manage** permission. Without it, the API returns `403 INSUFFICIENT_SCOPE`.\n","enum":["draft"],"example":"draft","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"tags":{"type":"array","description":"Names of existing tags to attach to the offering (for example `SUMMER_SALE`). Tags are used to group offerings and to select offerings in Decision Policies.\n","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"maxItems":10,"example":["SUMMER_SALE","NEW_USER_ACQUISITION"],"uniqueKey":"tags","typeLabel":"string[]"},"scheduling":{"description":"Scheduling window that determines when an offering is eligible for delivery.\nBoth `start_datetime` and `expiry_datetime` are required when creating an offering.\n","type":"object","required":["start_datetime","expiry_datetime"],"properties":{"start_datetime":{"type":"string","format":"date-time","description":"ISO 8601 UTC datetime when the offering becomes eligible for delivery. MUST use the UTC \"Z\" suffix format.\n","example":"2026-06-15T09:00:00Z","isRequired":true,"uniqueKey":"scheduling.start_datetime","typeLabel":"string\u003cdate-time>"},"expiry_datetime":{"type":"string","format":"date-time","description":"ISO 8601 UTC datetime when the offering expires and stops being served. MUST use the UTC \"Z\" suffix format.\n","example":"2026-09-30T23:59:59Z","isRequired":true,"uniqueKey":"scheduling.expiry_datetime","typeLabel":"string\u003cdate-time>"},"timezone":{"type":"string","description":"IANA timezone name. When omitted, the default timezone set for the workspace will be considered.\n","example":"Asia/Kolkata, America/New_York, UTC","uniqueKey":"scheduling.timezone","typeLabel":"string"}},"uniqueKey":"scheduling","typeLabel":"object"},"segment_info":{"description":"Segment targeting configuration that controls which users are eligible to\nreceive this offering.\n\n`included_filters`: criteria a user MUST match to be eligible.\n`excluded_filters`: criteria that DISQUALIFY a user even if they match the\nincluded filters.\n\nTo target **all users**, use the built-in `moe_all_users` segment:\n```json\n{\n \"filters\": {\n \"included_filters\": {\n \"filter_operator\": \"and\",\n \"filters\": [\n {\n \"filter_type\": \"custom_segments\",\n \"id\": \"moe_all_users\",\n \"name\": \"All Users\"\n }\n ]\n }\n }\n}\n```\n","type":"object","properties":{"filters":{"type":"object","description":"Container for inclusion and exclusion filter blocks. Pass an empty object to target all users with no segmentation restriction.\n","properties":{"included_filters":{"type":"object","description":"The filtering criteria used for including users. For detailed payload and supported fields, refer to [Create Filter Segment](https://www.moengage.com/docs/api/filter-segments/create-filter-segment).\n","properties":{"filters":{"type":"array","description":"Array of individual filter criteria. Each item is a filter object whose structure varies by filter_type. Common filter_type values: `actions`, `user_attributes`, `custom_segments`.\n","items":{"type":"object","description":"A single UIS filter criterion. Structure varies by filter_type.","uniqueKey":"segment_info.filters.included_filters.filters.items.[INDEX]","typeLabel":"object"},"uniqueKey":"segment_info.filters.included_filters.filters","typeLabel":"object[]"},"filter_operator":{"type":"string","description":"The logical operator to combine filters.\n","enum":["and","or"],"uniqueKey":"segment_info.filters.included_filters.filter_operator","typeLabel":"enum\u003cstring>"}},"uniqueKey":"segment_info.filters.included_filters","typeLabel":"object"},"excluded_filters":{"type":"object","description":"The filtering criteria used for excluding users.\n","properties":{"filters":{"type":"array","items":{"type":"object","uniqueKey":"segment_info.filters.excluded_filters.filters.items.[INDEX]","typeLabel":"object"},"uniqueKey":"segment_info.filters.excluded_filters.filters","typeLabel":"object[]"},"filter_operator":{"type":"string","enum":["and","or"],"uniqueKey":"segment_info.filters.excluded_filters.filter_operator","typeLabel":"enum\u003cstring>"}},"uniqueKey":"segment_info.filters.excluded_filters","typeLabel":"object"}},"uniqueKey":"segment_info.filters","typeLabel":"object"}},"uniqueKey":"segment_info","typeLabel":"object"},"insession_attr_info":{"description":"Optional. Targets visitors in real time. In-session attributes enable real-time visitor grouping based on dynamic conditions, using attributes passed as key-value (KV) pairs. Use `included_filters` to include visitors and `excluded_filters` to exclude them.\n\nYou can add up to 10 attributes in a group and up to 5 groups per offering. [Validate Offering](/api/public-offerings/validate-offering) checks these limits.\n\nSupported data types: `string`, `double`, `bool`, `datetime`, `array_string` and `array_double`. To learn more about in-session attributes and the supported operators and data types, see [In-session attributes](https://www.moengage.com/docs/user-guide/decisioning/offer-decisioning/create-offerings#in-session-attributes).\n","type":"object","properties":{"filters":{"type":"object","properties":{"included_filters":{"description":"A set of in-session filters combined with `filter_operator`. Each entry in `filters` is either a single attribute or a nested group of attributes.","type":"object","properties":{"filter_operator":{"type":"string","enum":["and","or"],"description":"How the entries in `filters` are combined.","example":"and","uniqueKey":"insession_attr_info.filters.included_filters.filter_operator","typeLabel":"enum\u003cstring>"},"filters":{"type":"array","items":{"oneOf":[{"type":"object","description":"A group of in-session attributes, combined with its own `filter_operator`.","properties":{"filter_type":{"type":"string","enum":["nested_filters"],"description":"Always `nested_filters` for a group.","example":"nested_filters","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filter_type","typeLabel":"enum\u003cstring>"},"filter_operator":{"type":"string","enum":["and","or"],"description":"How the attributes in this group are combined.","example":"and","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filter_operator","typeLabel":"enum\u003cstring>"},"filters":{"type":"array","items":{"description":"A single in-session attribute condition.","type":"object","properties":{"filter_type":{"type":"string","enum":["query_parameter"],"description":"Always `query_parameter` for an attribute.","example":"query_parameter","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].filter_type","typeLabel":"enum\u003cstring>"},"data_type":{"type":"string","enum":["string","double","bool","datetime","array_string","array_double"],"description":"Data type of the attribute.","example":"string","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].data_type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Name (key) of the in-session attribute.","example":"OS","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].name","typeLabel":"string"},"operator":{"type":"string","description":"Comparison operator, for example `is`, `greaterThan`, `on` or `in`. The supported operators depend on `data_type`; see the in-session attributes guide.","example":"is","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].operator","typeLabel":"string"},"negate":{"type":"boolean","description":"Set to `true` to negate the condition.","example":false,"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].negate","typeLabel":"boolean"},"case_sensitive":{"type":"boolean","description":"Whether the comparison is case sensitive. Applies to `string` and `array_string` attributes only.","example":false,"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].case_sensitive","typeLabel":"boolean"},"value":{"oneOf":[{"type":"string","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string | number"},"description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.3","typeLabel":"(string | number)[]"}],"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value","typeLabel":"string | number | boolean | (string | number)[]"},"value_type":{"type":"string","description":"For `datetime` attributes, how the value is interpreted, for example `absolute`.","example":"absolute","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value_type","typeLabel":"string"},"array_filter_type":{"type":"string","description":"For array attributes, how the values are matched, for example `any_of`.","example":"any_of","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].array_filter_type","typeLabel":"string"}},"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX]","typeLabel":"object"},"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0.filters","typeLabel":"object[]"}},"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A single in-session attribute condition.","properties":{"filter_type":{"type":"string","enum":["query_parameter"],"description":"Always `query_parameter` for an attribute.","example":"query_parameter","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.filter_type","typeLabel":"enum\u003cstring>"},"data_type":{"type":"string","enum":["string","double","bool","datetime","array_string","array_double"],"description":"Data type of the attribute.","example":"string","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.data_type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Name (key) of the in-session attribute.","example":"OS","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.name","typeLabel":"string"},"operator":{"type":"string","description":"Comparison operator, for example `is`, `greaterThan`, `on` or `in`. The supported operators depend on `data_type`; see the in-session attributes guide.","example":"is","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.operator","typeLabel":"string"},"negate":{"type":"boolean","description":"Set to `true` to negate the condition.","example":false,"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.negate","typeLabel":"boolean"},"case_sensitive":{"type":"boolean","description":"Whether the comparison is case sensitive. Applies to `string` and `array_string` attributes only.","example":false,"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.case_sensitive","typeLabel":"boolean"},"value":{"oneOf":[{"type":"string","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.value.oneOf.0","typeLabel":"string"},{"type":"number","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.value.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.value.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.value.oneOf.3.items.[INDEX]","typeLabel":"string | number"},"description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.value.oneOf.3","typeLabel":"(string | number)[]"}],"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.value","typeLabel":"string | number | boolean | (string | number)[]"},"value_type":{"type":"string","description":"For `datetime` attributes, how the value is interpreted, for example `absolute`.","example":"absolute","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.value_type","typeLabel":"string"},"array_filter_type":{"type":"string","description":"For array attributes, how the values are matched, for example `any_of`.","example":"any_of","uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1.array_filter_type","typeLabel":"string"}},"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"insession_attr_info.filters.included_filters.filters.items.[INDEX]","typeLabel":"object"},"uniqueKey":"insession_attr_info.filters.included_filters.filters","typeLabel":"object[]"}},"uniqueKey":"insession_attr_info.filters.included_filters","typeLabel":"object"},"excluded_filters":{"description":"A set of in-session filters combined with `filter_operator`. Each entry in `filters` is either a single attribute or a nested group of attributes.","type":"object","properties":{"filter_operator":{"type":"string","enum":["and","or"],"description":"How the entries in `filters` are combined.","example":"and","uniqueKey":"insession_attr_info.filters.excluded_filters.filter_operator","typeLabel":"enum\u003cstring>"},"filters":{"type":"array","items":{"oneOf":[{"type":"object","description":"A group of in-session attributes, combined with its own `filter_operator`.","properties":{"filter_type":{"type":"string","enum":["nested_filters"],"description":"Always `nested_filters` for a group.","example":"nested_filters","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filter_type","typeLabel":"enum\u003cstring>"},"filter_operator":{"type":"string","enum":["and","or"],"description":"How the attributes in this group are combined.","example":"and","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filter_operator","typeLabel":"enum\u003cstring>"},"filters":{"type":"array","items":{"description":"A single in-session attribute condition.","type":"object","properties":{"filter_type":{"type":"string","enum":["query_parameter"],"description":"Always `query_parameter` for an attribute.","example":"query_parameter","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].filter_type","typeLabel":"enum\u003cstring>"},"data_type":{"type":"string","enum":["string","double","bool","datetime","array_string","array_double"],"description":"Data type of the attribute.","example":"string","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].data_type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Name (key) of the in-session attribute.","example":"OS","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].name","typeLabel":"string"},"operator":{"type":"string","description":"Comparison operator, for example `is`, `greaterThan`, `on` or `in`. The supported operators depend on `data_type`; see the in-session attributes guide.","example":"is","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].operator","typeLabel":"string"},"negate":{"type":"boolean","description":"Set to `true` to negate the condition.","example":false,"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].negate","typeLabel":"boolean"},"case_sensitive":{"type":"boolean","description":"Whether the comparison is case sensitive. Applies to `string` and `array_string` attributes only.","example":false,"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].case_sensitive","typeLabel":"boolean"},"value":{"oneOf":[{"type":"string","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string | number"},"description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value.oneOf.3","typeLabel":"(string | number)[]"}],"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value","typeLabel":"string | number | boolean | (string | number)[]"},"value_type":{"type":"string","description":"For `datetime` attributes, how the value is interpreted, for example `absolute`.","example":"absolute","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].value_type","typeLabel":"string"},"array_filter_type":{"type":"string","description":"For array attributes, how the values are matched, for example `any_of`.","example":"any_of","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX].array_filter_type","typeLabel":"string"}},"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters.items.[INDEX]","typeLabel":"object"},"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0.filters","typeLabel":"object[]"}},"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A single in-session attribute condition.","properties":{"filter_type":{"type":"string","enum":["query_parameter"],"description":"Always `query_parameter` for an attribute.","example":"query_parameter","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.filter_type","typeLabel":"enum\u003cstring>"},"data_type":{"type":"string","enum":["string","double","bool","datetime","array_string","array_double"],"description":"Data type of the attribute.","example":"string","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.data_type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Name (key) of the in-session attribute.","example":"OS","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.name","typeLabel":"string"},"operator":{"type":"string","description":"Comparison operator, for example `is`, `greaterThan`, `on` or `in`. The supported operators depend on `data_type`; see the in-session attributes guide.","example":"is","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.operator","typeLabel":"string"},"negate":{"type":"boolean","description":"Set to `true` to negate the condition.","example":false,"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.negate","typeLabel":"boolean"},"case_sensitive":{"type":"boolean","description":"Whether the comparison is case sensitive. Applies to `string` and `array_string` attributes only.","example":false,"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.case_sensitive","typeLabel":"boolean"},"value":{"oneOf":[{"type":"string","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.value.oneOf.0","typeLabel":"string"},{"type":"number","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.value.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.value.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.value.oneOf.3.items.[INDEX]","typeLabel":"string | number"},"description":"Value to compare against. Its type follows `data_type`.","example":"android","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.value.oneOf.3","typeLabel":"(string | number)[]"}],"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.value","typeLabel":"string | number | boolean | (string | number)[]"},"value_type":{"type":"string","description":"For `datetime` attributes, how the value is interpreted, for example `absolute`.","example":"absolute","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.value_type","typeLabel":"string"},"array_filter_type":{"type":"string","description":"For array attributes, how the values are matched, for example `any_of`.","example":"any_of","uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1.array_filter_type","typeLabel":"string"}},"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"insession_attr_info.filters.excluded_filters.filters.items.[INDEX]","typeLabel":"object"},"uniqueKey":"insession_attr_info.filters.excluded_filters.filters","typeLabel":"object[]"}},"uniqueKey":"insession_attr_info.filters.excluded_filters","typeLabel":"object"}},"uniqueKey":"insession_attr_info.filters","typeLabel":"object"}},"uniqueKey":"insession_attr_info","typeLabel":"object"},"offer_content":{"description":"The core content payload delivered to the end-user. This object supports two mutually exclusive structures depending on whether your offering uses content variations or experimentation.\n\n**Mutually Exclusive:** Do not provide both `content_1` and `locales` in the same request payload. Doing so will result in a validation error.\n\n### 1. Flat Format (No Content Variations)\n\nUse this structure for simple offerings that do not require A/B testing or localization.\n\n* **Payload Structure:** Send a single `content_1` object at the root level.\n* **Behavior:** The exact same content block is served universally to all eligible users.\n\n### 2. Nested Format (Multiple Content Variations)\n\nUse this structure when `variation_meta.type` is configured as either **SMV** (Static Multi-Variant) or **DMV** (Dynamic Multi-Variant).\n\n* **Payload Structure:** Send a structured `locales` map object.\n* **Single-Locale Targeting:** For single-locale offerings, you **must** use `\"0\"` as the literal locale key string.\n* **Variations Mapping:** Inside each locale, the nested `variations` map keys must exactly match the variation IDs defined in `smv_distribution.split` for `SMV`. `DMV` has no split, so the keys are the variations you define. Variation keys must follow the `variation_N` format (e.g. `variation_1`, `variation_2`).\n","type":"object","properties":{"content_1":{"description":"Primary content block for single variation offerings.\n","type":"object","required":["type","value"],"properties":{"type":{"type":"string","description":"Format of the content payload. Determines how `value` is interpreted. `json` — serialised JSON string. `content_block` — Content Block library reference ID. `template` — object of template field key-value pairs.\n","enum":["json","content_block","template"],"isRequired":true,"uniqueKey":"offer_content.content_1.type","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","description":"Content payload. Interpretation depends on `type`:\n\n- **`json`** — value must be a **serialised JSON string** (not an inline JSON object).\n The entire payload is encoded as a string. Example: `\"{\\\"discount\\\": \\\"10%\\\"}\"`.\n Passing a raw JSON object instead of a string returns `400 INVALID_TYPE`.\n- **`content_block`** — value is the reference ID string of a Content Block from the\n MoEngage Content Block library.\n- **`template`** — value is a JSON **object** (not a string) whose keys are the field names\n (`outputKeyName`) from `template_config` in the [Get Offer Template](/api/public-offerings/get-offer-template) response.\n Include every required field (`validations.REQUIRED: true`) and any optional field you want MoEngage to return.\n Each field's value must match the `value` of the same field in `meta.metaConfigObject`; Validate Offering returns\n `TEMPLATE_VALUE_MISMATCH` for any difference. The API doesn't check this when you create or update a draft.\n For a dropdown field, use the option's `value` — not its `label` or `id`.\n","isRequired":true,"uniqueKey":"offer_content.content_1.value.oneOf.0","typeLabel":"string"},{"type":"object","description":"Content payload. Interpretation depends on `type`:\n\n- **`json`** — value must be a **serialised JSON string** (not an inline JSON object).\n The entire payload is encoded as a string. Example: `\"{\\\"discount\\\": \\\"10%\\\"}\"`.\n Passing a raw JSON object instead of a string returns `400 INVALID_TYPE`.\n- **`content_block`** — value is the reference ID string of a Content Block from the\n MoEngage Content Block library.\n- **`template`** — value is a JSON **object** (not a string) whose keys are the field names\n (`outputKeyName`) from `template_config` in the [Get Offer Template](/api/public-offerings/get-offer-template) response.\n Include every required field (`validations.REQUIRED: true`) and any optional field you want MoEngage to return.\n Each field's value must match the `value` of the same field in `meta.metaConfigObject`; Validate Offering returns\n `TEMPLATE_VALUE_MISMATCH` for any difference. The API doesn't check this when you create or update a draft.\n For a dropdown field, use the option's `value` — not its `label` or `id`.\n","additionalProperties":true,"isRequired":true,"uniqueKey":"offer_content.content_1.value.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"offer_content.content_1.value","typeLabel":"string | object"},"meta":{"type":"object","description":"Metadata for the content block. Used with the `template` type. Get the template's\nfield configuration from the [Get Offer Template](/api/public-offerings/get-offer-template)\nAPI, then apply the following rules:\n\n- **Matching values:** Set each field's `value` in `metaConfigObject` to the content you want,\n and send the same value in `value`. Validate Offering returns `TEMPLATE_VALUE_MISMATCH` for every\n field whose two values differ, for example: Field 'title' in value ('Summer sale is on') does not\n match its value in meta.metaConfigObject ('Your offer title').\n- **Required fields:** Every field marked `REQUIRED` in `template_config` must be present in `value`\n and have a non-empty `value` in `metaConfigObject` (otherwise Validate Offering returns\n `MISSING_TEMPLATE_FIELD`). The API doesn't check this when you create or update a draft.\n- **Optional fields:** Include them only if you want MoEngage to return them in the\n Personalize API response. MoEngage returns only the fields in `value`.\n- **Dropdown fields:** Pass the option's `value`, not its `label` or `id`.\n- **`metaConfigObject`:** Include it in the `meta` of every variation. MoEngage also uses it to render\n the offering preview in the dashboard. If you change the template, send the complete\n `metaConfigObject` of the new template.\n","properties":{"templateId":{"type":"string","description":"ID of the template to use. Required when `type` is `template`. Use the `id` returned by the List Offer Templates API.\n","example":"promo_banner_demo","uniqueKey":"offer_content.content_1.meta.templateId","typeLabel":"string"},"metaConfigObject":{"type":"object","description":"Field configuration of the template, in the same structure as `template_config` in the Get Offer Template response. Each key is a field's `outputKeyName`. Set each field's `value` to match the same field in `value`.\n","additionalProperties":{"description":"A single field within a template's `template_config`. Describes the field's type, current value, requirement, and — for dropdowns — its valid options.\n","type":"object","properties":{"label":{"type":"string","description":"Human-readable label for the field.","example":"Aspect Ratio","uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties.label","typeLabel":"string"},"outputKeyName":{"type":"string","description":"The field's key name.","example":"aspectRatio","uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties.outputKeyName","typeLabel":"string"},"value":{"type":"string","description":"The field's current value. Empty string if no value is set.","example":"4x3","uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties.value","typeLabel":"string"},"dataType":{"type":"string","description":"The field's type. Values seen in responses: `string`, `md`, and `dropdown`. A `dropdown` field lists its allowed choices in `options`. Other values may appear.\n","example":"dropdown","uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties.dataType","typeLabel":"string"},"validations":{"type":"object","description":"Validation rules for the field. `REQUIRED: true` means you must provide this field when creating an offering.\n","additionalProperties":{"type":"boolean","uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties.validations.additionalProperties","typeLabel":"boolean"},"example":{"REQUIRED":true},"uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties.validations","typeLabel":"object"},"options":{"type":"array","description":"The selectable options for a `dropdown` field. When submitting a value in Create Offering, use the option's `value` — not its `label` or `id`.\n","items":{"type":"object","properties":{"id":{"type":"string","description":"Option identifier. Identical to `value` for these templates.","uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties.options.items.[INDEX].id","typeLabel":"string"},"value":{"type":"string","description":"The value to submit when this option is selected.","uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties.options.items.[INDEX].value","typeLabel":"string"},"label":{"type":"string","description":"Display text for the option. Not for submission — may contain spaces.","uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties.options.items.[INDEX].label","typeLabel":"string"}},"uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties.options.items.[INDEX]","typeLabel":"object"},"example":[{"id":"4x3","value":"4x3","label":"4x3"},{"id":"16x9","value":"16x9","label":"16x9"}],"uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties.options","typeLabel":"object[]"}},"uniqueKey":"offer_content.content_1.meta.metaConfigObject.additionalProperties","typeLabel":"object"},"uniqueKey":"offer_content.content_1.meta.metaConfigObject","typeLabel":"object"}},"additionalProperties":true,"example":{"templateId":"promo_banner_demo"},"uniqueKey":"offer_content.content_1.meta","typeLabel":"object"}},"uniqueKey":"offer_content.content_1","typeLabel":"object"},"locales":{"type":"object","description":"Use \"0\" as the locale key\n","additionalProperties":{"type":"object","description":"Content container for a single locale.","required":["variations"],"properties":{"variations":{"type":"object","description":"Each key is a variation of the content payload. The key name **must** match a key in `variation_meta.smv_distribution.split`. \n","additionalProperties":{"type":"object","properties":{"content_1":{"description":"This field indicates the type of the offering content payload.\n\n`json` — Serialised JSON string containing the offering content \npayload.\n\n`content_block` — The ID of a content block stored in the\nMoEngage Content Block library.\n\n`template` — value is a JSON object of the template's field values. `meta.templateId`\ncarries the template ID (from `GET /v5/offers/templates`), and `meta.metaConfigObject`\ncarries the template's field configuration (from `GET /v5/offers/templates/{template_id}`).\n","type":"object","required":["type","value"],"properties":{"type":{"type":"string","description":"Format of the content payload. Determines how `value` is interpreted. `json` — serialised JSON string. `content_block` — Content Block library reference ID. `template` — object of template field key-value pairs.\n","enum":["json","content_block","template"],"isRequired":true,"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.type","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","description":"Content payload. Interpretation depends on `type`:\n\n- **`json`** — value must be a **serialised JSON string** (not an inline JSON object).\n The entire payload is encoded as a string. Example: `\"{\\\"discount\\\": \\\"10%\\\"}\"`.\n Passing a raw JSON object instead of a string returns `400 INVALID_TYPE`.\n- **`content_block`** — value is the reference ID string of a Content Block from the\n MoEngage Content Block library.\n- **`template`** — value is a JSON **object** (not a string) whose keys are the field names\n (`outputKeyName`) from `template_config` in the [Get Offer Template](/api/public-offerings/get-offer-template) response.\n Include every required field (`validations.REQUIRED: true`) and any optional field you want MoEngage to return.\n Each field's value must match the `value` of the same field in `meta.metaConfigObject`; Validate Offering returns\n `TEMPLATE_VALUE_MISMATCH` for any difference. The API doesn't check this when you create or update a draft.\n For a dropdown field, use the option's `value` — not its `label` or `id`.\n","isRequired":true,"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.value.oneOf.0","typeLabel":"string"},{"type":"object","description":"Content payload. Interpretation depends on `type`:\n\n- **`json`** — value must be a **serialised JSON string** (not an inline JSON object).\n The entire payload is encoded as a string. Example: `\"{\\\"discount\\\": \\\"10%\\\"}\"`.\n Passing a raw JSON object instead of a string returns `400 INVALID_TYPE`.\n- **`content_block`** — value is the reference ID string of a Content Block from the\n MoEngage Content Block library.\n- **`template`** — value is a JSON **object** (not a string) whose keys are the field names\n (`outputKeyName`) from `template_config` in the [Get Offer Template](/api/public-offerings/get-offer-template) response.\n Include every required field (`validations.REQUIRED: true`) and any optional field you want MoEngage to return.\n Each field's value must match the `value` of the same field in `meta.metaConfigObject`; Validate Offering returns\n `TEMPLATE_VALUE_MISMATCH` for any difference. The API doesn't check this when you create or update a draft.\n For a dropdown field, use the option's `value` — not its `label` or `id`.\n","additionalProperties":true,"isRequired":true,"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.value.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.value","typeLabel":"string | object"},"meta":{"type":"object","description":"Metadata for the content block. Used with the `template` type. Get the template's\nfield configuration from the [Get Offer Template](/api/public-offerings/get-offer-template)\nAPI, then apply the following rules:\n\n- **Matching values:** Set each field's `value` in `metaConfigObject` to the content you want,\n and send the same value in `value`. Validate Offering returns `TEMPLATE_VALUE_MISMATCH` for every\n field whose two values differ, for example: Field 'title' in value ('Summer sale is on') does not\n match its value in meta.metaConfigObject ('Your offer title').\n- **Required fields:** Every field marked `REQUIRED` in `template_config` must be present in `value`\n and have a non-empty `value` in `metaConfigObject` (otherwise Validate Offering returns\n `MISSING_TEMPLATE_FIELD`). The API doesn't check this when you create or update a draft.\n- **Optional fields:** Include them only if you want MoEngage to return them in the\n Personalize API response. MoEngage returns only the fields in `value`.\n- **Dropdown fields:** Pass the option's `value`, not its `label` or `id`.\n- **`metaConfigObject`:** Include it in the `meta` of every variation. MoEngage also uses it to render\n the offering preview in the dashboard. If you change the template, send the complete\n `metaConfigObject` of the new template.\n","properties":{"templateId":{"type":"string","description":"ID of the template to use. Required when `type` is `template`. Use the `id` returned by the List Offer Templates API.\n","example":"promo_banner_demo","uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.templateId","typeLabel":"string"},"metaConfigObject":{"type":"object","description":"Field configuration of the template, in the same structure as `template_config` in the Get Offer Template response. Each key is a field's `outputKeyName`. Set each field's `value` to match the same field in `value`.\n","additionalProperties":{"description":"A single field within a template's `template_config`. Describes the field's type, current value, requirement, and — for dropdowns — its valid options.\n","type":"object","properties":{"label":{"type":"string","description":"Human-readable label for the field.","example":"Aspect Ratio","uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties.label","typeLabel":"string"},"outputKeyName":{"type":"string","description":"The field's key name.","example":"aspectRatio","uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties.outputKeyName","typeLabel":"string"},"value":{"type":"string","description":"The field's current value. Empty string if no value is set.","example":"4x3","uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties.value","typeLabel":"string"},"dataType":{"type":"string","description":"The field's type. Values seen in responses: `string`, `md`, and `dropdown`. A `dropdown` field lists its allowed choices in `options`. Other values may appear.\n","example":"dropdown","uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties.dataType","typeLabel":"string"},"validations":{"type":"object","description":"Validation rules for the field. `REQUIRED: true` means you must provide this field when creating an offering.\n","additionalProperties":{"type":"boolean","uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties.validations.additionalProperties","typeLabel":"boolean"},"example":{"REQUIRED":true},"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties.validations","typeLabel":"object"},"options":{"type":"array","description":"The selectable options for a `dropdown` field. When submitting a value in Create Offering, use the option's `value` — not its `label` or `id`.\n","items":{"type":"object","properties":{"id":{"type":"string","description":"Option identifier. Identical to `value` for these templates.","uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties.options.items.[INDEX].id","typeLabel":"string"},"value":{"type":"string","description":"The value to submit when this option is selected.","uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties.options.items.[INDEX].value","typeLabel":"string"},"label":{"type":"string","description":"Display text for the option. Not for submission — may contain spaces.","uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties.options.items.[INDEX].label","typeLabel":"string"}},"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties.options.items.[INDEX]","typeLabel":"object"},"example":[{"id":"4x3","value":"4x3","label":"4x3"},{"id":"16x9","value":"16x9","label":"16x9"}],"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties.options","typeLabel":"object[]"}},"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject.additionalProperties","typeLabel":"object"},"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta.metaConfigObject","typeLabel":"object"}},"additionalProperties":true,"example":{"templateId":"promo_banner_demo"},"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1.meta","typeLabel":"object"}},"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties.content_1","typeLabel":"object"}},"uniqueKey":"offer_content.locales.additionalProperties.variations.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"offer_content.locales.additionalProperties.variations","typeLabel":"object"}},"uniqueKey":"offer_content.locales.additionalProperties","typeLabel":"object"},"uniqueKey":"offer_content.locales","typeLabel":"object"}},"example":{"content_1":{"type":"json","value":"{\"headline\":\"Save 20% today\",\"cta_text\":\"Claim offer\",\"image_url\":\"https://cdn.example.com/banner.png\",\"cta_url\":\"https://example.com/offer/summer\"}"}},"uniqueKey":"offer_content","typeLabel":"object"},"variation_meta":{"description":"Configuration for A/B testing content variations.\n\n* `SMV`: Fixed percentage splits across up to 5 variations.\n* `DMV`: The system automatically learns which variant performs best over time and shifts traffic toward the winner.\n* `Offer Control Group`: A configurable percentage of eligible users to be held out as a pure control group.\n\n#### Lifecycle \u0026 Mutation Rules\n\n`variation_meta` can be edited via `PATCH /v5/offers/{offer_id}` while the offering is a `draft`. All fields (`type`, `smv_distribution`, `control_group`) are editable on a draft.\n","type":"object","required":["type"],"properties":{"type":{"type":"string","description":"Variation strategy type. `SMV` — fixed percentage split. `DMV` - adaptive traffic allocation.\n","enum":["SMV","DMV"],"isRequired":true,"uniqueKey":"variation_meta.type","typeLabel":"enum\u003cstring>"},"smv_distribution":{"type":"object","description":"Variation percentage allocation. Required when `type` is `SMV`. Don't send it when `type` is `DMV`: the allocation is managed automatically, and sending it returns `400 IMMUTABLE_FIELD`.\n","properties":{"split":{"type":"object","description":"Map of variations to integer percentage allocation.\n","additionalProperties":{"type":"integer","minimum":1,"maximum":100,"uniqueKey":"variation_meta.smv_distribution.split.additionalProperties","typeLabel":"integer"},"example":{"variation_1":70,"variation_2":30},"uniqueKey":"variation_meta.smv_distribution.split","typeLabel":"object"}},"uniqueKey":"variation_meta.smv_distribution","typeLabel":"object"},"control_group":{"type":"object","description":"When enabled, a percentage of eligible users are held out as a pure control and do not receive the offering. This operates independently of the workspace-level GCG.\n","properties":{"is_enabled":{"type":"boolean","description":"Whether the offering-level control group holdout is active.","example":false,"uniqueKey":"variation_meta.control_group.is_enabled","typeLabel":"boolean"},"percentage":{"type":"integer","description":"Percentage of eligible users to hold out. Must be between 1 and 99 when `is_enabled` is `true`. When `is_enabled` is `false`, send `0` or omit the field.\n","minimum":0,"maximum":99,"example":10,"uniqueKey":"variation_meta.control_group.percentage","typeLabel":"integer"}},"uniqueKey":"variation_meta.control_group","typeLabel":"object"}},"example":{"type":"SMV","smv_distribution":{"split":{"variation_1":70,"variation_2":30}},"control_group":{"is_enabled":true,"percentage":10}},"uniqueKey":"variation_meta","typeLabel":"object"},"capping_rules":{"description":"Frequency capping configuration that limits how often this offering is delivered.\nTwo independent capping rules can be configured and enabled simultaneously.\n\n`overall`: Limits the TOTAL number of times the offering is delivered across\n**ALL users in the target segment** within the capping schedule period.\n\n`user_level`: Limits the number of times any SINGLE user can receive the\noffering within the capping schedule period.\n","type":"object","properties":{"overall":{"description":"Total delivery cap across all users within the target segment.","type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean","description":"Whether this capping rule is enforced. When false, all other fields are ignored.","example":true,"isRequired":true,"uniqueKey":"capping_rules.overall.enabled","typeLabel":"boolean"},"limit_value":{"type":"integer","description":"Maximum number of deliveries allowed within one limit_schedule period. Required when enabled is true. Must be at least 1. For overall capping, this is the total across all users. For user_level capping, this is per individual user.\n","minimum":1,"example":3,"uniqueKey":"capping_rules.overall.limit_value","typeLabel":"integer"},"limit_schedule":{"type":"string","description":"Time window for the capping counter.\n","enum":["DAILY","WEEKLY","MONTHLY"],"example":"WEEKLY","uniqueKey":"capping_rules.overall.limit_schedule","typeLabel":"enum\u003cstring>"}},"uniqueKey":"capping_rules.overall","typeLabel":"object"},"user_level":{"description":"Per-user delivery cap for individual users.","type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean","description":"Whether this capping rule is enforced. When false, all other fields are ignored.","example":true,"isRequired":true,"uniqueKey":"capping_rules.user_level.enabled","typeLabel":"boolean"},"limit_value":{"type":"integer","description":"Maximum number of deliveries allowed within one limit_schedule period. Required when enabled is true. Must be at least 1. For overall capping, this is the total across all users. For user_level capping, this is per individual user.\n","minimum":1,"example":3,"uniqueKey":"capping_rules.user_level.limit_value","typeLabel":"integer"},"limit_schedule":{"type":"string","description":"Time window for the capping counter.\n","enum":["DAILY","WEEKLY","MONTHLY"],"example":"WEEKLY","uniqueKey":"capping_rules.user_level.limit_schedule","typeLabel":"enum\u003cstring>"}},"uniqueKey":"capping_rules.user_level","typeLabel":"object"}},"example":{"overall":{"enabled":true,"limit_value":10000,"limit_schedule":"DAILY"},"user_level":{"enabled":true,"limit_value":3,"limit_schedule":"WEEKLY"}},"uniqueKey":"capping_rules","typeLabel":"object"},"is_global_control_enabled":{"type":"boolean","description":"Whether the global control group is enabled.\n","default":false,"uniqueKey":"is_global_control_enabled","typeLabel":"boolean"},"imp_track_hours":{"type":"integer","description":"The attribution window for conversion goal tracking. Required to publish when `conversion` is provided.\n\nThe unit and allowed range depend on `attribution_multiplier`. Despite its name, the value is in days when `attribution_multiplier` is `24`:\n\n- `attribution_multiplier` is `1` — hours. `imp_track_hours` must be between 1 and 36.\n- `attribution_multiplier` is `24` — days. `imp_track_hours` must be between 1 and 10.\n","minimum":1,"maximum":36,"example":36,"uniqueKey":"imp_track_hours","typeLabel":"integer"},"attribution_multiplier":{"type":"integer","description":"Sets the unit for conversion goal tracking. Required to publish when `conversion` is provided. Accepts only `1` or `24`:\n\n- `1` — tracking is done in hours. `imp_track_hours` must be between 1 and 36.\n- `24` — tracking is done in days. `imp_track_hours` must be between 1 and 10.\n","enum":[1,24],"example":1,"uniqueKey":"attribution_multiplier","typeLabel":"enum\u003cinteger>"},"offering_attribute_configuration":{"type":"array","description":"Custom attributes assigned to this offering. These attributes are used in Decision Policy using the Custom formula ranking strategy.\n","items":{"description":"Assignment of a custom offering attribute and its value(s) to this offering.\n","type":"object","required":["offering_attribute_id","selected_values"],"properties":{"offering_attribute_id":{"type":"string","description":"ID of the Offering Attribute. \n","isRequired":true,"uniqueKey":"offering_attribute_configuration.items.[INDEX].offering_attribute_id","typeLabel":"string"},"selected_values":{"type":"array","description":"Selected option value(s) for this attribute. At least one value is required. For `DYNAMIC` attributes, at most one value is allowed per assignment. For `FIXED` attributes, multiple values are allowed up to the attribute definition's `max_inputs_allowed` limit.\n","items":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"Option value string. It must match an existing option name in the Offering Attribute definition.\n","example":"Electronics","isRequired":true,"uniqueKey":"offering_attribute_configuration.items.[INDEX].selected_values.items.[INDEX].value","typeLabel":"string"},"id":{"oneOf":[{"type":"string","description":"ID of the option(s) defined as part of the Offering Attribute definition.\n","uniqueKey":"offering_attribute_configuration.items.[INDEX].selected_values.items.[INDEX].id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the option(s) defined as part of the Offering Attribute definition.\n","uniqueKey":"offering_attribute_configuration.items.[INDEX].selected_values.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"offering_attribute_configuration.items.[INDEX].selected_values.items.[INDEX].id","typeLabel":"string | null"},"score":{"oneOf":[{"type":"integer","description":"Priority score for this option to be used in a Decision Policy using the Custom Formula ranking strategy. Set to `null` for `DYNAMIC` attributes. Set to a value between 1-100 for `FIXED` attributes.\n","minimum":1,"maximum":100,"example":85,"uniqueKey":"offering_attribute_configuration.items.[INDEX].selected_values.items.[INDEX].score.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Priority score for this option to be used in a Decision Policy using the Custom Formula ranking strategy. Set to `null` for `DYNAMIC` attributes. Set to a value between 1-100 for `FIXED` attributes.\n","minimum":1,"maximum":100,"example":85,"uniqueKey":"offering_attribute_configuration.items.[INDEX].selected_values.items.[INDEX].score.oneOf.1","typeLabel":"null"}],"uniqueKey":"offering_attribute_configuration.items.[INDEX].selected_values.items.[INDEX].score","typeLabel":"integer | null"}},"uniqueKey":"offering_attribute_configuration.items.[INDEX].selected_values.items.[INDEX]","typeLabel":"object"},"minItems":1,"isRequired":true,"uniqueKey":"offering_attribute_configuration.items.[INDEX].selected_values","typeLabel":"object[]"},"offering_attribute_name":{"type":"string","description":"Display name of the referenced Offering Attribute.\n","example":"Product Category","uniqueKey":"offering_attribute_configuration.items.[INDEX].offering_attribute_name","typeLabel":"string"},"type":{"type":"string","description":"Attribute type of the referenced Offering Attribute.\n","enum":["FIXED","DYNAMIC"],"example":"FIXED","uniqueKey":"offering_attribute_configuration.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"offering_attribute_configuration.items.[INDEX]","typeLabel":"object"},"maxItems":5,"uniqueKey":"offering_attribute_configuration","typeLabel":"object[]"},"conversion":{"description":"Conversion goal configuration for measuring offering effectiveness. This can be set at creation time or later via PATCH while the offering is a draft.\nWhen you add a conversion goal, `attribution_multiplier` and `imp_track_hours` are also required to publish.\n","type":"object","properties":{"primary":{"description":"Primary conversion goal.\n","type":"object","required":["goal_name","action"],"properties":{"goal_name":{"type":"string","description":"Display name for this conversion goal.\n","example":"Add to Cart","isRequired":true,"uniqueKey":"conversion.primary.goal_name","typeLabel":"string"},"action":{"type":"string","description":"MoEngage event name associated with the conversion goal.\n","example":"add_to_cart","isRequired":true,"uniqueKey":"conversion.primary.action","typeLabel":"string"},"filter_type":{"type":"string","description":"How the conversion event is matched. Only `actions` is supported: it matches by event name and optional attribute-level filters. Any other value, including `ACTIONS`, is rejected when the offering is validated.\n","enum":["actions"],"example":"actions","uniqueKey":"conversion.primary.filter_type","typeLabel":"enum\u003cstring>"},"attributes":{"type":"object","description":"Optional attribute-level filters to narrow which occurrences of the action count as a conversion (e.g. only purchase events where category = \"Electronics\").\n","properties":{"filters":{"type":"array","description":"Array of attribute filter objects. Each object targets a specific event attribute. Follows the same filter structure as `segment_info.filters.included_filters.filters`.\n","items":{"type":"object","description":"A single attribute filter criterion. Structure varies by filter_type.","uniqueKey":"conversion.primary.attributes.filters.items.[INDEX]","typeLabel":"object"},"properties":{"included_filters":{"type":"object","description":"Inclusion criteria for the conversion attribute filter. Contains a \"filters\" array of UIS filter objects and a \"filter_operator\" (AND or OR).\n","properties":{"filters":{"type":"array","items":{"type":"object","description":"A single UIS filter criterion. Structure varies by filter_type."}},"filter_operator":{"type":"string","enum":["and","or"],"example":"and"}}},"excluded_filters":{"type":"object","description":"Exclusion criteria, same structure as included_filters.","properties":{"filters":{"type":"array","items":{"type":"object"}},"filter_operator":{"type":"string","enum":["and","or"]}}}},"uniqueKey":"conversion.primary.attributes.filters","typeLabel":"object[]"}},"uniqueKey":"conversion.primary.attributes","typeLabel":"object"},"is_revenue_tracking":{"type":"boolean","description":"When true, the conversion also records the monetary value from the event. Requires the `revenue_amount` and `revenue_currency` fields to be set.\n","default":false,"uniqueKey":"conversion.primary.is_revenue_tracking","typeLabel":"boolean"},"revenue_amount":{"type":"string","description":"Name of the event attribute containing the transaction revenue value. Should be used only when `is_revenue_tracking` is true. The attribute must be a numeric field on the tracked event.\n","example":"order_value","uniqueKey":"conversion.primary.revenue_amount","typeLabel":"string"},"revenue_currency":{"type":"string","description":"ISO 4217 three-letter currency code for revenue tracking (e.g. \"USD\", \"EUR\", \"GBP\", \"INR\"). Should be used only when `is_revenue_tracking` is true.\n","example":"USD","uniqueKey":"conversion.primary.revenue_currency","typeLabel":"string"}},"uniqueKey":"conversion.primary","typeLabel":"object"},"secondary":{"type":"array","description":"Additional conversion goals tracked alongside the primary goal.\n","items":{"description":"A single conversion goal that tracks a specific user action.","type":"object","required":["goal_name","action"],"properties":{"goal_name":{"type":"string","description":"Display name for this conversion goal.\n","example":"Add to Cart","isRequired":true,"uniqueKey":"conversion.secondary.items.[INDEX].goal_name","typeLabel":"string"},"action":{"type":"string","description":"MoEngage event name associated with the conversion goal.\n","example":"add_to_cart","isRequired":true,"uniqueKey":"conversion.secondary.items.[INDEX].action","typeLabel":"string"},"filter_type":{"type":"string","description":"How the conversion event is matched. Only `actions` is supported: it matches by event name and optional attribute-level filters. Any other value, including `ACTIONS`, is rejected when the offering is validated.\n","enum":["actions"],"example":"actions","uniqueKey":"conversion.secondary.items.[INDEX].filter_type","typeLabel":"enum\u003cstring>"},"attributes":{"type":"object","description":"Optional attribute-level filters to narrow which occurrences of the action count as a conversion (e.g. only purchase events where category = \"Electronics\").\n","properties":{"filters":{"type":"array","description":"Array of attribute filter objects. Each object targets a specific event attribute. Follows the same filter structure as `segment_info.filters.included_filters.filters`.\n","items":{"type":"object","description":"A single attribute filter criterion. Structure varies by filter_type.","uniqueKey":"conversion.secondary.items.[INDEX].attributes.filters.items.[INDEX]","typeLabel":"object"},"properties":{"included_filters":{"type":"object","description":"Inclusion criteria for the conversion attribute filter. Contains a \"filters\" array of UIS filter objects and a \"filter_operator\" (AND or OR).\n","properties":{"filters":{"type":"array","items":{"type":"object","description":"A single UIS filter criterion. Structure varies by filter_type."}},"filter_operator":{"type":"string","enum":["and","or"],"example":"and"}}},"excluded_filters":{"type":"object","description":"Exclusion criteria, same structure as included_filters.","properties":{"filters":{"type":"array","items":{"type":"object"}},"filter_operator":{"type":"string","enum":["and","or"]}}}},"uniqueKey":"conversion.secondary.items.[INDEX].attributes.filters","typeLabel":"object[]"}},"uniqueKey":"conversion.secondary.items.[INDEX].attributes","typeLabel":"object"},"is_revenue_tracking":{"type":"boolean","description":"When true, the conversion also records the monetary value from the event. Requires the `revenue_amount` and `revenue_currency` fields to be set.\n","default":false,"uniqueKey":"conversion.secondary.items.[INDEX].is_revenue_tracking","typeLabel":"boolean"},"revenue_amount":{"type":"string","description":"Name of the event attribute containing the transaction revenue value. Should be used only when `is_revenue_tracking` is true. The attribute must be a numeric field on the tracked event.\n","example":"order_value","uniqueKey":"conversion.secondary.items.[INDEX].revenue_amount","typeLabel":"string"},"revenue_currency":{"type":"string","description":"ISO 4217 three-letter currency code for revenue tracking (e.g. \"USD\", \"EUR\", \"GBP\", \"INR\"). Should be used only when `is_revenue_tracking` is true.\n","example":"USD","uniqueKey":"conversion.secondary.items.[INDEX].revenue_currency","typeLabel":"string"}},"uniqueKey":"conversion.secondary.items.[INDEX]","typeLabel":"object"},"uniqueKey":"conversion.secondary","typeLabel":"object[]"}},"uniqueKey":"conversion","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"jsonSingleVariantNoCapping":{"title":"jsonSingleVariantNoCapping","summary":"Basic offering with JSON content","value":{"display_name":"Summer_Sale","description":"Summer sale discount offers","priority":50,"created_by":"[email protected]","request_id":"5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","status":"draft","scheduling":{"start_datetime":"2027-06-01T00:00:00Z","expiry_datetime":"2027-08-31T23:59:00Z","timezone":"Asia/Kolkata"},"segment_info":{"filters":{"included_filters":{"filter_operator":"and","filters":[{"filter_type":"custom_segments","name":"custom_segment","id":"65a1c0de9b2f4a7d8e3c5f2a"}]}}},"offer_content":{"content_1":{"type":"json","value":"{\"discount\":\"10%\"}"}},"variation_meta":{"type":"SMV","control_group":{"is_enabled":false,"percentage":0},"smv_distribution":{"split":{"variation_1":100}}},"capping_rules":{},"is_global_control_enabled":false,"imp_track_hours":36}},"jsonMultiVariantWithCapping":{"title":"jsonMultiVariantWithCapping","summary":"A/B test with a control group and caps","value":{"display_name":"Summer_Sale","description":"Summer sale discount offers","priority":50,"created_by":"[email protected]","request_id":"5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","status":"draft","scheduling":{"start_datetime":"2027-06-01T00:00:00Z","expiry_datetime":"2027-08-31T23:59:00Z","timezone":"Asia/Kolkata"},"segment_info":{"filters":{"included_filters":{"filter_operator":"and","filters":[{"filter_type":"custom_segments","name":"custom_segment","id":"65a1c0de9b2f4a7d8e3c5f2a"}]}}},"offer_content":{"locales":{"0":{"variations":{"variation_1":{"content_1":{"type":"json","value":"{\"discount\":\"10%\"}"}},"variation_2":{"content_1":{"type":"json","value":"{\"discount\":\"20%\"}"}}}}}},"variation_meta":{"type":"SMV","control_group":{"is_enabled":true,"percentage":10},"smv_distribution":{"split":{"variation_1":50,"variation_2":50}}},"capping_rules":{"overall":{"enabled":true,"limit_value":1,"limit_schedule":"DAILY"},"user_level":{"enabled":true,"limit_value":15,"limit_schedule":"MONTHLY"}},"is_global_control_enabled":true,"imp_track_hours":36}},"jsonWithConversionGoal":{"title":"jsonWithConversionGoal","summary":"Offering with a conversion goal (Purchase) configured","value":{"display_name":"Summer_Sale_Conversion","description":"Summer sale offer with a purchase conversion goal","priority":50,"created_by":"[email protected]","request_id":"5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","status":"draft","scheduling":{"start_datetime":"2027-06-01T00:00:00Z","expiry_datetime":"2027-08-31T23:59:00Z","timezone":"Asia/Kolkata"},"segment_info":{"filters":{"included_filters":{"filter_operator":"and","filters":[{"filter_type":"custom_segments","name":"All Users","id":"moe_all_users"}]}}},"offer_content":{"content_1":{"type":"json","value":"{\"discount\":\"10%\"}"}},"variation_meta":{"type":"SMV","control_group":{"is_enabled":false,"percentage":0},"smv_distribution":{"split":{"variation_1":100}}},"conversion":{"primary":{"goal_name":"Purchase","action":"purchase","filter_type":"actions","is_revenue_tracking":true,"revenue_amount":"order_value","revenue_currency":"USD"}},"attribution_multiplier":1,"imp_track_hours":24}},"templateSingleVariation":{"title":"templateSingleVariation","summary":"Offering from a template","value":{"display_name":"Summer_Banner_Single","description":"Sample promo banner offer","created_by":"[email protected]","request_id":"5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","status":"draft","priority":10,"tags":["SUMMER_SALE","NEW_USER_ACQUISITION"],"scheduling":{"start_datetime":"2027-06-01T00:00:00Z","expiry_datetime":"2027-08-31T23:59:00Z","timezone":"Asia/Kolkata"},"segment_info":{"filters":{"included_filters":{"filter_operator":"and","filters":[{"filter_type":"custom_segments","name":"All Users","id":"moe_all_users"}]}}},"offer_content":{"content_1":{"type":"template","value":{"id":"summer-banner-1","title":"Summer sale is on","description":"Save 20% on your first order.","cta_label":"Shop now","cta_url":"https://example.com/summer-sale","cta_target":"_blank","theme":"light"},"meta":{"templateId":"promo_banner_demo","metaConfigObject":{"id":{"label":"ID","outputKeyName":"id","value":"summer-banner-1","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"title":{"label":"Title","outputKeyName":"title","value":"Summer sale is on","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"description":{"label":"Description","outputKeyName":"description","value":"Save 20% on your first order.","isValid":true,"errorMessage":[],"dataType":"string","validations":{}},"cta_label":{"label":"CTA Label","outputKeyName":"cta_label","value":"Shop now","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"cta_url":{"label":"CTA URL","outputKeyName":"cta_url","value":"https://example.com/summer-sale","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"cta_target":{"label":"CTA Target","outputKeyName":"cta_target","value":"_blank","isValid":true,"errorMessage":[],"dataType":"dropdown","validations":{"REQUIRED":true},"options":[{"id":"same_tab","value":"_self","label":"Same tab"},{"id":"new_tab","value":"_blank","label":"New tab"}]},"theme":{"label":"Theme","outputKeyName":"theme","value":"light","isValid":true,"errorMessage":[],"dataType":"dropdown","validations":{},"options":[{"id":"light_theme","value":"light","label":"Light"},{"id":"dark_theme","value":"dark","label":"Dark"}]}}}}},"variation_meta":{"type":"SMV","control_group":{"is_enabled":false,"percentage":0},"smv_distribution":{"split":{"variation_1":100}}},"capping_rules":{"overall":{"enabled":true,"limit_value":10,"limit_schedule":"WEEKLY"},"user_level":{"enabled":true,"limit_value":1,"limit_schedule":"DAILY"}}}},"OfferingTemplateManualAB":{"title":"OfferingTemplateManualAB","summary":"A/B test two template designs (50/50)","value":{"display_name":"Summer_Banner_Manual_AB","created_by":"[email protected]","request_id":"5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","status":"draft","priority":10,"scheduling":{"start_datetime":"2027-06-01T00:00:00Z","expiry_datetime":"2027-08-31T23:59:00Z","timezone":"Asia/Kolkata"},"segment_info":{"filters":{"included_filters":{"filter_operator":"and","filters":[{"filter_type":"custom_segments","name":"All Users","id":"moe_all_users"}]}}},"offer_content":{"locales":{"0":{"variations":{"variation_1":{"content_1":{"type":"template","value":{"id":"summer-banner-1","title":"Summer sale is on","description":"Save 20% on your first order.","cta_label":"Shop now","cta_url":"https://example.com/summer-sale","cta_target":"_blank","theme":"light"},"meta":{"templateId":"promo_banner_demo","metaConfigObject":{"id":{"label":"ID","outputKeyName":"id","value":"summer-banner-1","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"title":{"label":"Title","outputKeyName":"title","value":"Summer sale is on","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"description":{"label":"Description","outputKeyName":"description","value":"Save 20% on your first order.","isValid":true,"errorMessage":[],"dataType":"string","validations":{}},"cta_label":{"label":"CTA Label","outputKeyName":"cta_label","value":"Shop now","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"cta_url":{"label":"CTA URL","outputKeyName":"cta_url","value":"https://example.com/summer-sale","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"cta_target":{"label":"CTA Target","outputKeyName":"cta_target","value":"_blank","isValid":true,"errorMessage":[],"dataType":"dropdown","validations":{"REQUIRED":true},"options":[{"id":"same_tab","value":"_self","label":"Same tab"},{"id":"new_tab","value":"_blank","label":"New tab"}]},"theme":{"label":"Theme","outputKeyName":"theme","value":"light","isValid":true,"errorMessage":[],"dataType":"dropdown","validations":{},"options":[{"id":"light_theme","value":"light","label":"Light"},{"id":"dark_theme","value":"dark","label":"Dark"}]}}}}},"variation_2":{"content_1":{"type":"template","value":{"id":"summer-banner-2","title":"Last chance: 20% off","description":"The offer ends soon.","cta_label":"See deals","cta_url":"https://example.com/deals","cta_target":"_self","theme":"dark"},"meta":{"templateId":"promo_banner_demo","metaConfigObject":{"id":{"label":"ID","outputKeyName":"id","value":"summer-banner-2","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"title":{"label":"Title","outputKeyName":"title","value":"Last chance: 20% off","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"description":{"label":"Description","outputKeyName":"description","value":"The offer ends soon.","isValid":true,"errorMessage":[],"dataType":"string","validations":{}},"cta_label":{"label":"CTA Label","outputKeyName":"cta_label","value":"See deals","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"cta_url":{"label":"CTA URL","outputKeyName":"cta_url","value":"https://example.com/deals","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"cta_target":{"label":"CTA Target","outputKeyName":"cta_target","value":"_self","isValid":true,"errorMessage":[],"dataType":"dropdown","validations":{"REQUIRED":true},"options":[{"id":"same_tab","value":"_self","label":"Same tab"},{"id":"new_tab","value":"_blank","label":"New tab"}]},"theme":{"label":"Theme","outputKeyName":"theme","value":"dark","isValid":true,"errorMessage":[],"dataType":"dropdown","validations":{},"options":[{"id":"light_theme","value":"light","label":"Light"},{"id":"dark_theme","value":"dark","label":"Dark"}]}}}}}}}}},"variation_meta":{"type":"SMV","control_group":{"is_enabled":false,"percentage":0},"smv_distribution":{"split":{"variation_1":50,"variation_2":50}}},"capping_rules":{"overall":{"enabled":true,"limit_value":10000,"limit_schedule":"WEEKLY"},"user_level":{"enabled":true,"limit_value":2,"limit_schedule":"DAILY"}}}},"OfferingTemplateDynamicAB":{"title":"OfferingTemplateDynamicAB","summary":"A/B test two templates with Merlin AI","value":{"display_name":"Summer_Banner_Dynamic_AB","created_by":"[email protected]","request_id":"5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","status":"draft","priority":10,"scheduling":{"start_datetime":"2027-06-01T00:00:00Z","expiry_datetime":"2027-08-31T23:59:00Z","timezone":"Asia/Kolkata"},"segment_info":{"filters":{"included_filters":{"filter_operator":"and","filters":[{"filter_type":"custom_segments","name":"All Users","id":"moe_all_users"}]}}},"offer_content":{"locales":{"0":{"variations":{"variation_1":{"content_1":{"type":"template","value":{"id":"summer-banner-1","title":"Summer sale is on","cta_label":"Shop now","cta_url":"https://example.com/summer-sale","cta_target":"_blank"},"meta":{"templateId":"promo_banner_demo","metaConfigObject":{"id":{"label":"ID","outputKeyName":"id","value":"summer-banner-1","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"title":{"label":"Title","outputKeyName":"title","value":"Summer sale is on","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"description":{"label":"Description","outputKeyName":"description","value":"","isValid":true,"errorMessage":[],"dataType":"string","validations":{}},"cta_label":{"label":"CTA Label","outputKeyName":"cta_label","value":"Shop now","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"cta_url":{"label":"CTA URL","outputKeyName":"cta_url","value":"https://example.com/summer-sale","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"cta_target":{"label":"CTA Target","outputKeyName":"cta_target","value":"_blank","isValid":true,"errorMessage":[],"dataType":"dropdown","validations":{"REQUIRED":true},"options":[{"id":"same_tab","value":"_self","label":"Same tab"},{"id":"new_tab","value":"_blank","label":"New tab"}]},"theme":{"label":"Theme","outputKeyName":"theme","value":"light","isValid":true,"errorMessage":[],"dataType":"dropdown","validations":{},"options":[{"id":"light_theme","value":"light","label":"Light"},{"id":"dark_theme","value":"dark","label":"Dark"}]}}}}},"variation_2":{"content_1":{"type":"template","value":{"id":"summer-banner-2","title":"Last chance: 20% off","cta_label":"See deals","cta_url":"https://example.com/deals","cta_target":"_self"},"meta":{"templateId":"promo_banner_demo","metaConfigObject":{"id":{"label":"ID","outputKeyName":"id","value":"summer-banner-2","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"title":{"label":"Title","outputKeyName":"title","value":"Last chance: 20% off","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"description":{"label":"Description","outputKeyName":"description","value":"","isValid":true,"errorMessage":[],"dataType":"string","validations":{}},"cta_label":{"label":"CTA Label","outputKeyName":"cta_label","value":"See deals","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"cta_url":{"label":"CTA URL","outputKeyName":"cta_url","value":"https://example.com/deals","isValid":true,"errorMessage":[],"dataType":"string","validations":{"REQUIRED":true}},"cta_target":{"label":"CTA Target","outputKeyName":"cta_target","value":"_self","isValid":true,"errorMessage":[],"dataType":"dropdown","validations":{"REQUIRED":true},"options":[{"id":"same_tab","value":"_self","label":"Same tab"},{"id":"new_tab","value":"_blank","label":"New tab"}]},"theme":{"label":"Theme","outputKeyName":"theme","value":"light","isValid":true,"errorMessage":[],"dataType":"dropdown","validations":{},"options":[{"id":"light_theme","value":"light","label":"Light"},{"id":"dark_theme","value":"dark","label":"Dark"}]}}}}}}}}},"variation_meta":{"type":"DMV","control_group":{"is_enabled":false,"percentage":0}},"capping_rules":{"overall":{"enabled":true,"limit_value":10000,"limit_schedule":"WEEKLY"},"user_level":{"enabled":true,"limit_value":2,"limit_schedule":"DAILY"}}}},"inSessionTargeting":{"title":"inSessionTargeting","summary":"Target visitors by in-session attributes","value":{"display_name":"Summer_Sale_InSession","description":"Summer sale offer for Android and iOS visitors","priority":50,"created_by":"[email protected]","request_id":"5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","status":"draft","scheduling":{"start_datetime":"2027-06-01T00:00:00Z","expiry_datetime":"2027-08-31T23:59:00Z","timezone":"Asia/Kolkata"},"segment_info":{"filters":{"included_filters":{"filter_operator":"and","filters":[{"filter_type":"custom_segments","name":"custom_segment","id":"65a1c0de9b2f4a7d8e3c5f2a"}]}}},"insession_attr_info":{"filters":{"included_filters":{"filter_operator":"or","filters":[{"filter_type":"nested_filters","filter_operator":"and","filters":[{"data_type":"string","filter_type":"query_parameter","name":"OS","negate":false,"operator":"is","case_sensitive":false,"value":"android"},{"data_type":"double","filter_type":"query_parameter","name":"appVersion","negate":false,"operator":"greaterThan","value":2},{"data_type":"bool","filter_type":"query_parameter","name":"featureEnabled","negate":false,"operator":"is","value":true}]},{"filter_type":"nested_filters","filter_operator":"and","filters":[{"data_type":"string","filter_type":"query_parameter","name":"OS","negate":false,"operator":"is","case_sensitive":false,"value":"iOS"},{"data_type":"double","filter_type":"query_parameter","name":"appVersion","negate":false,"operator":"greaterThan","value":4},{"data_type":"bool","filter_type":"query_parameter","name":"featureEnabled","negate":false,"operator":"is","value":true}]}]},"excluded_filters":{"filter_operator":"and","filters":[{"filter_type":"nested_filters","filter_operator":"or","filters":[{"data_type":"datetime","filter_type":"query_parameter","name":"visitDate","negate":false,"operator":"on","value":"2027-06-15T00:00:00.000Z","value_type":"absolute"},{"data_type":"array_string","filter_type":"query_parameter","name":"category","negate":false,"operator":"in","case_sensitive":false,"value":["clearance","outlet"],"array_filter_type":"any_of"}]}]}}},"offer_content":{"content_1":{"type":"json","value":"{\"discount\":\"10%\"}"}},"variation_meta":{"type":"SMV","control_group":{"is_enabled":false,"percentage":0},"smv_distribution":{"split":{"variation_1":100}}},"capping_rules":{},"is_global_control_enabled":false,"imp_track_hours":36}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"40b7937e-aba4-4afd-9642-12243234b25d":{"description":"Offering created as a draft. To make it live, publish it manually from the MoEngage dashboard.","headers":{"X-MOE-Request-Id":{"schema":{"type":"string"},"description":"Echoed trace ID (from request header or server-generated)."},"X-RateLimit-Limit":{"schema":{"type":"integer","example":100},"description":"Maximum requests allowed in the current window."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window before rate limiting applies."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"UTC epoch second when the current rate-limit window resets."}},"content":{"application/json":{"schema":{"description":"Response returned by `POST /v5/offers` on successful creation.","type":"object","properties":{"response_id":{"type":"string","description":"Format: `resp_\u003cX-MOE-Request-Id>` header value (auto-generated UUID if the `X-MOE-Request-Id` header was not part of the request body).\n","example":"resp_5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","uniqueKey":"response_id","typeLabel":"string"},"type":{"type":"string","enum":["offer"],"description":"Resource type discriminator. Always `offer`.","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"data":{"type":"object","description":"Created offering summary.","properties":{"id":{"type":"string","description":"Offering ID assigned by the server. Format: `offer_\u003cOfferingId>`. Use this value as the `{offer_id}` path parameter in subsequent PATCH requests.\n","example":"offer_65a1c0de9b2f4a7d8e3c5f10","uniqueKey":"data.id","typeLabel":"string"},"status":{"type":"string","enum":["draft"],"description":"Lifecycle status of the newly created offering. Offerings created through the API are always `draft`.\n","example":"draft","uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 UTC timestamp when the offering was persisted.","example":"2026-07-09T09:29:18.526Z","uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data","typeLabel":"object"}},"example":{"response_id":"resp_5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","type":"offer","data":{"id":"offer_65a1c0de9b2f4a7d8e3c5f10","status":"draft","created_at":"2026-07-09T09:29:18.526Z"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"response_id":"resp_5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3","type":"offer","data":{"id":"offer_65a1c0de9b2f4a7d8e3c5f10","status":"draft","created_at":"2026-07-09T09:29:18.526Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"8873b808-53c1-4f2e-a441-164b75631e6b":{"description":"Validation errors. All errors are collected before returning, so a single `400` response may contain multiple `details` entries. Validation errors are returned as `VALIDATION_FAILED`, with the specific code in `error.details[].code`.\n\nThe API saves drafts without checking completeness. Required fields, scheduling, split totals, tags, conversion settings, and required template fields are checked by [Validate Offering](/api/public-offerings/validate-offering) and when the offering is published.\n\nPossible error codes:\n- `REQUIRED_FIELD_MISSING` — `created_by` is absent, or no request ID was sent (neither `request_id` in the body nor the `X-MOE-Request-Id` header). The `target` field identifies the missing field.\n- `INVALID_TYPE` — a field has the wrong type or format (e.g. `content_1.value` is not a JSON object when `type` is `template`; or `scheduling.start_datetime` is not a valid ISO 8601 datetime with UTC \"Z\" suffix).\n- `OUT_OF_RANGE` — numeric field outside its allowed range (e.g. `priority` outside 1–100, `control_group.percentage` outside 1–99 when the control group is enabled).\n- `INVALID_ENUM_VALUE` — enum field has an unrecognised value.\n- `UNRECOGNISED_FIELD` — the request body contains a field the API doesn't recognise.\n- `INVALID_STATUS` — `status` is not an accepted value. On create, `status` accepts only `draft`.\n- `IMMUTABLE_FIELD` — the request contains a field that can't be set: `name` (it is server-generated; use `display_name`), or `variation_meta.smv_distribution` when `variation_meta.type` is `DMV` (the split is allocated automatically).\n- `INVALID_OFFER_NAME` — `display_name` does not follow the naming rules: 5–100 characters after trimming spaces, starts with a letter, and contains only letters, digits, spaces, and the characters `- \u0026 _ % ( )`.\n- `INVALID_TIMEZONE` — `scheduling.timezone` is present but not a valid IANA timezone name (e.g. `Asia/Kolkata`, `America/New_York`, `UTC`).\n- `MISSING_IDEMPOTENCY_KEY` — `Idempotency-Key` header is absent. Add the header with a UUID v4 value.\n- `INVALID_IDEMPOTENCY_KEY` — `Idempotency-Key` is present but not a valid UUID v4. Use a standard UUID v4 format.\n","content":{"application/json":{"schema":{"type":"object","required":["response_id"],"properties":{"response_id":{"type":"string","description":"Trace identifier — same format as success responses (\"resp_\" + X-MOE-Request-Id). Always present even on error responses for log correlation.\n","isRequired":true,"uniqueKey":"response_id","typeLabel":"string"},"error":{"type":"object","required":["code","message","doc_url"],"properties":{"code":{"type":"string","description":"Machine-readable ALL_CAPS_SNAKE_CASE error code.","example":"VALIDATION_FAILED","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation. Specific enough for AI agents to act on.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Link to documentation for this error code.","example":"https://www.moengage.com/docs/api/offerings/offerings-overview","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"target":{"type":"string","description":"The field or resource that caused the error (e.g. \"scheduling.expiry_datetime\").","uniqueKey":"error.target","typeLabel":"string"},"details":{"type":"array","description":"Per-field error entries for VALIDATION_FAILED responses. All field violations are collected and returned in a single response — never truncated.\n","items":{"type":"object","properties":{"code":{"type":"string","description":"Field-level error code.","uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"target":{"type":"string","description":"Dot-notation path to the failing field.","uniqueKey":"error.details.items.[INDEX].target","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the field-level violation.","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"invalidStatus":{"title":"invalidStatus","summary":"status is not draft","value":{"error":{"code":"VALIDATION_FAILED","message":"One or more fields failed validation.","target":"offering","details":[{"code":"INVALID_STATUS","target":"status","message":"status has an unsupported value: published. Create Offering accepts draft only. Send draft, or omit status to create a draft."}],"doc_url":"https://www.moengage.com/docs/api/offerings/offerings-overview#errors"},"response_id":"resp_5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3"}},"unrecognisedField":{"title":"unrecognisedField","summary":"Unknown field in the body","value":{"error":{"code":"VALIDATION_FAILED","message":"One or more fields failed validation.","target":"offering","details":[{"code":"UNRECOGNISED_FIELD","target":"unexpected_field","message":"The request body contains a field the API doesn't recognise: unexpected_field. Remove the field, or check its name against the API reference, and send the request again."}],"doc_url":"https://www.moengage.com/docs/api/offerings/offerings-overview#errors"},"response_id":"resp_5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3"}},"nameNotAllowed":{"title":"nameNotAllowed","summary":"name sent instead of display_name","value":{"error":{"code":"VALIDATION_FAILED","message":"One or more fields failed validation.","target":"offering","details":[{"code":"IMMUTABLE_FIELD","target":"name","message":"'name' is server-generated and cannot be set. Only 'display_name' is accepted."}],"doc_url":"https://www.moengage.com/docs/api/offerings/offerings-overview#errors"},"response_id":"resp_5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3"}},"dmvWithSplit":{"title":"dmvWithSplit","summary":"smv_distribution sent for a DMV offering","value":{"error":{"code":"VALIDATION_FAILED","message":"One or more fields failed validation.","target":"offering","details":[{"code":"IMMUTABLE_FIELD","target":"variation_meta.smv_distribution","message":"variation_meta.smv_distribution cannot be provided for DMV type — the split is allocated automatically."}],"doc_url":"https://www.moengage.com/docs/api/offerings/offerings-overview#errors"},"response_id":"resp_5b2f7c1e-3d94-4a68-8e1b-9c0a7d42f6a3"}}},"exampleType":"examples"}},"exampleType":"examples"},"0977c88f-c2cd-421a-8ea7-fb83b69b5402":{"description":"Authentication failure. Two sources produce 401 on this endpoint:\n- **Gateway (APISIX)** — credentials missing or invalid. Returns `Content-Type: text/plain`\n with body `{\"code\":\"ER001\",\"target\":\"Authentication Invalid\",\"message\":\"...\"}`.\n- **Service** — credentials passed the gateway but the injected `X-MOE-Tenant-ID` header\n is missing (request bypassed gateway). Returns `Content-Type: application/json`.\n","content":{"text/plain":{"schema":{"type":"string","description":"Gateway (APISIX) authentication failure. Body is JSON-formatted but sent as text/plain.","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"},"application/json":{"schema":{"type":"object","required":["response_id"],"properties":{"response_id":{"type":"string","description":"Trace identifier — same format as success responses (\"resp_\" + X-MOE-Request-Id). Always present even on error responses for log correlation.\n","isRequired":true,"uniqueKey":"response_id","typeLabel":"string"},"error":{"type":"object","required":["code","message","doc_url"],"properties":{"code":{"type":"string","description":"Machine-readable ALL_CAPS_SNAKE_CASE error code.","example":"VALIDATION_FAILED","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation. Specific enough for AI agents to act on.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Link to documentation for this error code.","example":"https://www.moengage.com/docs/api/offerings/offerings-overview","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"target":{"type":"string","description":"The field or resource that caused the error (e.g. \"scheduling.expiry_datetime\").","uniqueKey":"error.target","typeLabel":"string"},"details":{"type":"array","description":"Per-field error entries for VALIDATION_FAILED responses. All field violations are collected and returned in a single response — never truncated.\n","items":{"type":"object","properties":{"code":{"type":"string","description":"Field-level error code.","uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"target":{"type":"string","description":"Dot-notation path to the failing field.","uniqueKey":"error.details.items.[INDEX].target","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the field-level violation.","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"response_id":"\u003cstring>","error":{"code":"VALIDATION_FAILED","message":"\u003cstring>","doc_url":"https://www.moengage.com/docs/api/offerings/offerings-overview","target":"\u003cstring>","details":[{"code":"\u003cstring>","target":"\u003cstring>","message":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"b28f6a58-8c36-416b-96b9-049d2d3f5ba7":{"description":"Forbidden. Two distinct sources produce 403 on this endpoint:\n- **Gateway (APISIX)** — insufficient scope for this route. Returns `Content-Type: text/plain`\n with body `{\"code\":\"ER007\",\"target\":\"Authentication Invalid\",\"message\":\"...\"}`.\n- **Service** — returns `Content-Type: application/json`. Error codes: `INSUFFICIENT_SCOPE`\n (the API key doesn't have the **Create \u0026 Manage** permission) or `FEATURE_DISABLED`\n (the Offerings feature is not enabled for the workspace).\n","content":{"text/plain":{"schema":{"type":"string","description":"Gateway (APISIX) scope failure. Body is JSON-formatted but sent as text/plain.","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"},"application/json":{"schema":{"type":"object","required":["response_id"],"properties":{"response_id":{"type":"string","description":"Trace identifier — same format as success responses (\"resp_\" + X-MOE-Request-Id). Always present even on error responses for log correlation.\n","isRequired":true,"uniqueKey":"response_id","typeLabel":"string"},"error":{"type":"object","required":["code","message","doc_url"],"properties":{"code":{"type":"string","description":"Machine-readable ALL_CAPS_SNAKE_CASE error code.","example":"VALIDATION_FAILED","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation. Specific enough for AI agents to act on.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Link to documentation for this error code.","example":"https://www.moengage.com/docs/api/offerings/offerings-overview","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"target":{"type":"string","description":"The field or resource that caused the error (e.g. \"scheduling.expiry_datetime\").","uniqueKey":"error.target","typeLabel":"string"},"details":{"type":"array","description":"Per-field error entries for VALIDATION_FAILED responses. All field violations are collected and returned in a single response — never truncated.\n","items":{"type":"object","properties":{"code":{"type":"string","description":"Field-level error code.","uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"target":{"type":"string","description":"Dot-notation path to the failing field.","uniqueKey":"error.details.items.[INDEX].target","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the field-level violation.","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"response_id":"\u003cstring>","error":{"code":"VALIDATION_FAILED","message":"\u003cstring>","doc_url":"https://www.moengage.com/docs/api/offerings/offerings-overview","target":"\u003cstring>","details":[{"code":"\u003cstring>","target":"\u003cstring>","message":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"74e06d8b-ca50-4469-8d2b-0889f60ea6de":{"description":"Idempotency conflict. Two distinct error codes are possible:\n\n**DUPLICATE_IDEMPOTENCY_KEY** — a request with the same Idempotency-Key is already\nin-flight (concurrent duplicate). Wait for the first request to complete before retrying.\n\n**IDEMPOTENCY_CONFLICT** — the Idempotency-Key was already used within the 24-hour\nwindow but the request body hash differs from the original request. Use a new\nIdempotency-Key to submit a different payload.\n","content":{"application/json":{"schema":{"type":"object","required":["response_id"],"properties":{"response_id":{"type":"string","description":"Trace identifier — same format as success responses (\"resp_\" + X-MOE-Request-Id). Always present even on error responses for log correlation.\n","isRequired":true,"uniqueKey":"response_id","typeLabel":"string"},"error":{"type":"object","required":["code","message","doc_url"],"properties":{"code":{"type":"string","description":"Machine-readable ALL_CAPS_SNAKE_CASE error code.","example":"VALIDATION_FAILED","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation. Specific enough for AI agents to act on.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Link to documentation for this error code.","example":"https://www.moengage.com/docs/api/offerings/offerings-overview","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"target":{"type":"string","description":"The field or resource that caused the error (e.g. \"scheduling.expiry_datetime\").","uniqueKey":"error.target","typeLabel":"string"},"details":{"type":"array","description":"Per-field error entries for VALIDATION_FAILED responses. All field violations are collected and returned in a single response — never truncated.\n","items":{"type":"object","properties":{"code":{"type":"string","description":"Field-level error code.","uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"target":{"type":"string","description":"Dot-notation path to the failing field.","uniqueKey":"error.details.items.[INDEX].target","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the field-level violation.","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"response_id":"\u003cstring>","error":{"code":"VALIDATION_FAILED","message":"\u003cstring>","doc_url":"https://www.moengage.com/docs/api/offerings/offerings-overview","target":"\u003cstring>","details":[{"code":"\u003cstring>","target":"\u003cstring>","message":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"3345b209-34c0-4d1c-a787-cd9dcf87923e":{"description":"The rate limit for this endpoint has been exceeded. Retry after the window\nindicated in the `Retry-After` response header (in seconds).\n","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["response_id"],"properties":{"response_id":{"type":"string","description":"Trace identifier — same format as success responses (\"resp_\" + X-MOE-Request-Id). Always present even on error responses for log correlation.\n","isRequired":true,"uniqueKey":"response_id","typeLabel":"string"},"error":{"type":"object","required":["code","message","doc_url"],"properties":{"code":{"type":"string","description":"Machine-readable ALL_CAPS_SNAKE_CASE error code.","example":"VALIDATION_FAILED","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation. Specific enough for AI agents to act on.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"Link to documentation for this error code.","example":"https://www.moengage.com/docs/api/offerings/offerings-overview","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"target":{"type":"string","description":"The field or resource that caused the error (e.g. \"scheduling.expiry_datetime\").","uniqueKey":"error.target","typeLabel":"string"},"details":{"type":"array","description":"Per-field error entries for VALIDATION_FAILED responses. All field violations are collected and returned in a single response — never truncated.\n","items":{"type":"object","properties":{"code":{"type":"string","description":"Field-level error code.","uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"target":{"type":"string","description":"Dot-notation path to the failing field.","uniqueKey":"error.details.items.[INDEX].target","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the field-level violation.","uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"response_id":"\u003cstring>","error":{"code":"VALIDATION_FAILED","message":"\u003cstring>","doc_url":"https://www.moengage.com/docs/api/offerings/offerings-overview","target":"\u003cstring>","details":[{"code":"\u003cstring>","target":"\u003cstring>","message":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"7919fb48-1dc0-4b83-88fa-28924f3f1d4f":{"description":"Gateway temporarily unable to route the request. Returned when the\nupstream service is unreachable or the HTTP request cannot be proxied (e.g. malformed\nheaders with control characters). Treat as a transient error and retry with exponential back-off.\n","content":{"text/html":{"schema":{"type":"string","example":"\u003chtml>\u003cbody>\u003ch1>503 Service Temporarily Unavailable\u003c/h1>\u003c/body>\u003c/html>","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"\u003chtml>\u003cbody>\u003ch1>503 Service Temporarily Unavailable\u003c/h1>\u003c/body>\u003c/html>"}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"bafc4024-7d93-4665-bf24-bb0f48a36fc2":{"Basic Auth (Create \u0026 Manage)":{"type":"http","scheme":"basic","description":"Send your Workspace ID and API key as a base64-encoded `username:password` string.\n\n- **Username**: Your MoEngage Workspace ID (also known as the App ID), from **Settings** > **Account** > **API keys**.\n- **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 **Create \u0026 Manage** permission.\n\nRefer to [API Key Dashboard](/user-guide/settings/account/api-and-api-keys/api-key-dashboard) for details on creating and managing API keys.\n","scopes":[],"schemeName":"Basic Auth (Create \u0026 Manage)"}},"5d341d5c-b744-4d83-ba19-cc9c1e790e83":{"OAuth 2.0 (Create \u0026 Manage)":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Send an OAuth 2.0 access token as `Bearer \u003caccess_token>`.\n\nTo get a token, click **+ Create new key** on **Settings** > **Account** > **API keys**, set **Authentication type** to **OAuth 2.0**, select the **Offerings** group, and assign at least the **Create \u0026 Manage** permission. Then exchange the key for an access token. Refer to [OAuth 2.0 Overview](/api/oauth/oauth-overview).\n","scopes":[],"schemeName":"OAuth 2.0 (Create \u0026 Manage)"}}},"servers":{"855a4682-9dd5-427d-8635-01150be728af":{"url":"https://api-{dc}.moengage.com","variables":{"dc":{"default":"01","description":"MoEngage data center identifier. Replace with your assigned DC number. Full example: https://api-01.moengage.com\n"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"Send your Workspace ID and API key as a base64-encoded `username:password` string.\n\n- **Username**: Your MoEngage Workspace ID (also known as the App ID), from **Settings** > **Account** > **API keys**.\n- **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 **Create \u0026 Manage** permission.\n\nRefer to [API Key Dashboard](/user-guide/settings/account/api-and-api-keys/api-key-dashboard) for details on creating and managing API keys.\n","scopes":[],"schemeName":"Basic Auth (Create \u0026 Manage)"},"schema":{"title":"Basic Auth","type":"object","description":"Send your Workspace ID and API key as a base64-encoded `username:password` string.\n\n- **Username**: Your MoEngage Workspace ID (also known as the App ID), from **Settings** > **Account** > **API keys**.\n- **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 **Create \u0026 Manage** permission.\n\nRefer to [API Key Dashboard](/user-guide/settings/account/api-and-api-keys/api-key-dashboard) for details on creating and managing API keys.\n","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"Basic Auth (Create \u0026 Manage)","name":"Authorization"}],"title":"Basic Auth (Create \u0026 Manage)"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Send an OAuth 2.0 access token as `Bearer \u003caccess_token>`.\n\nTo get a token, click **+ Create new key** on **Settings** > **Account** > **API keys**, set **Authentication type** to **OAuth 2.0**, select the **Offerings** group, and assign at least the **Create \u0026 Manage** permission. Then exchange the key for an access token. Refer to [OAuth 2.0 Overview](/api/oauth/oauth-overview).\n","scopes":[],"schemeName":"OAuth 2.0 (Create \u0026 Manage)"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Send an OAuth 2.0 access token as `Bearer \u003caccess_token>`.\n\nTo get a token, click **+ Create new key** on **Settings** > **Account** > **API keys**, set **Authentication type** to **OAuth 2.0**, select the **Offerings** group, and assign at least the **Create \u0026 Manage** permission. Then exchange the key for an access token. Refer to [OAuth 2.0 Overview](/api/oauth/oauth-overview).\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"OAuth 2.0 (Create \u0026 Manage)","name":"Authorization"}],"title":"OAuth 2.0 (Create \u0026 Manage)"}]},"originalFileLocation":"api/offerings/offerings.yaml"},"subdomain":"moengage","siteName":"MoEngage","title":"Create Offering - MoEngage","relatedPagesConfig":{"enabled":false,"limit":3,"mode":"manual"},"contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api/public-offerings/create-offering","matchLevel":0},"ja":{"href":"/ja/api/public-offerings/create-offering","matchLevel":1}},"searchTabScopes":[{"language":"en","tab":"Home"},{"language":"en","tab":"User Guide"},{"language":"en","tab":"Developer Guide (SDKs)"},{"language":"en","tab":"API Guide"},{"language":"en","tab":"AI \u0026 Intelligence"},{"language":"en","tab":"Partner Integrations"},{"language":"en","tab":"Use Cases"},{"language":"en","tab":"Release Notes"},{"language":"ja","tab":"ホーム"},{"language":"ja","tab":"ユーザーガイド"},{"language":"ja","tab":"開発者ガイド(SDK)"},{"language":"ja","tab":"APIガイド"},{"language":"ja","tab":"AIとインテリジェンス"},{"language":"ja","tab":"パートナー統合"},{"language":"ja","tab":"ユースケース"},{"language":"ja","tab":"リリースノート"}]},"lastModified":"2026-11-24T09:09:24.043Z","originalFileLocation":"api/public-offerings/create-offering.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new Offering in the workspace. Creating an offering with a template: call List Offer Templates to find the template id, then Get Offer Template to read its fields (template_config). In your request, set the content type to template and send: 1. value: the field values, keyed by each field\u0026#x27;s outputKeyName. Include every required field. For a dropdown field, use the option\u0026#x27;s value. 2. meta.templateId: the template id. 3. meta.metaConfigObject: the template_config, with each field\u0026#x27;s value set to the same value you send in value. Validate Offering returns TEMPLATE_VALUE_MISMATCH when they differ.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MoEngage\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/moengage/FFhO5ttvrbE72kxs/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/moengage/FFhO5ttvrbE72kxs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/moengage/FFhO5ttvrbE72kxs/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/moengage/FFhO5ttvrbE72kxs/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/moengage/FFhO5ttvrbE72kxs/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/moengage/FFhO5ttvrbE72kxs/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/moengage/FFhO5ttvrbE72kxs/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/moengage/FFhO5ttvrbE72kxs/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/moengage/FFhO5ttvrbE72kxs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Offering - MoEngage\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new Offering in the workspace. Creating an offering with a template: call List Offer Templates to find the template id, then Get Offer Template to read its fields (template_config). In your request, set the content type to template and send: 1. value: the field values, keyed by each field\u0026#x27;s outputKeyName. Include every required field. For a dropdown field, use the option\u0026#x27;s value. 2. meta.templateId: the template id. 3. meta.metaConfigObject: the template_config, with each field\u0026#x27;s value set to the same value you send in value. Validate Offering returns TEMPLATE_VALUE_MISMATCH when they differ.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MoEngage\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://moengage.com/docs/api/public-offerings/create-offering\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://moengage.mintlify.site/docs/_mintlify/api/og/v2?division=Offerings\u0026amp;title=Create+Offering\u0026amp;description=Create+a+new+Offering+in+the+workspace.%0A%0A**Creating+an+offering+with+a+template%3A**+call+%5BList+Offer+Templates%5D%28%2Fapi%2Fpublic-offerings%2Flist-offer-templates%29+to+fi\u0026amp;theme=f5f8670d2a6207083c52605d\u0026amp;signature=90dbde10b96f38ecb3cfdf56e22e98a57f9a485d57bb6b4312f4453a1a5dcd09\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Offering - MoEngage\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new Offering in the workspace. Creating an offering with a template: call List Offer Templates to find the template id, then Get Offer Template to read its fields (template_config). In your request, set the content type to template and send: 1. value: the field values, keyed by each field\u0026#x27;s outputKeyName. Include every required field. For a dropdown field, use the option\u0026#x27;s value. 2. meta.templateId: the template id. 3. meta.metaConfigObject: the template_config, with each field\u0026#x27;s value set to the same value you send in value. Validate Offering returns TEMPLATE_VALUE_MISMATCH when they differ.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://moengage.mintlify.site/docs/_mintlify/api/og/v2?division=Offerings\u0026amp;title=Create+Offering\u0026amp;description=Create+a+new+Offering+in+the+workspace.%0A%0A**Creating+an+offering+with+a+template%3A**+call+%5BList+Offer+Templates%5D%28%2Fapi%2Fpublic-offerings%2Flist-offer-templates%29+to+fi\u0026amp;theme=f5f8670d2a6207083c52605d\u0026amp;signature=90dbde10b96f38ecb3cfdf56e22e98a57f9a485d57bb6b4312f4453a1a5dcd09\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/moengage/FFhO5ttvrbE72kxs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MoEngage\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E69FF\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"ICNaPDX9oefbF09W1b5_U9PDnlkyfyKSRbIap6_dW6o\">\u003clink data-mint-head rel=\"canonical\" href=\"https://moengage.com/docs/api/public-offerings/create-offering\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api/public-offerings/create-offering.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://moengage.com/docs/api/public-offerings/create-offering\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://moengage.com/docs/ja/api/public-offerings/create-offering\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://moengage.com/docs/api/public-offerings/create-offering\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://moengage.com/#organization\",\"name\":\"MoEngage\",\"url\":\"https://moengage.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/moengage/VG5pJbeZsDUmdCZM/logo/light.svg?fit=max\u0026auto=format\u0026n=VG5pJbeZsDUmdCZM\u0026q=85\u0026s=28ca5909311cb6ffe01738e1503b5e64\"}},{\"@type\":\"WebSite\",\"@id\":\"https://moengage.com/docs#website\",\"name\":\"MoEngage\",\"url\":\"https://moengage.com/docs\",\"publisher\":{\"@id\":\"https://moengage.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://moengage.com/docs/api/public-offerings/create-offering#webpage\",\"url\":\"https://moengage.com/docs/api/public-offerings/create-offering\",\"name\":\"Create Offering\",\"description\":\"Create a new Offering in the workspace. Creating an offering with a template: call List Offer Templates to find the template id, then Get Offer Template to read its fields (template_config). In your request, set the content type to template and send: 1. value: the field values, keyed by each field's outputKeyName. Include every required field. For a dropdown field, use the option's value. 2. meta.templateId: the template id. 3. meta.metaConfigObject: the template_config, with each field's value set to the same value you send in value. Validate Offering returns TEMPLATE_VALUE_MISMATCH when they differ.\",\"dateModified\":\"2026-11-24T09:09:24.043Z\",\"isPartOf\":{\"@id\":\"https://moengage.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://moengage.com/docs/api/public-offerings/create-offering#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://moengage.com/docs/api/public-offerings/create-offering#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://moengage.com/docs/api/data/data-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Offerings\",\"item\":\"https://moengage.com/docs/api/offerings/offerings-overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Offering\",\"item\":\"https://moengage.com/docs/api/public-offerings/create-offering\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://moengage.com/docs/api/public-offerings/create-offering#apireference\",\"headline\":\"Create Offering\",\"name\":\"Create Offering\",\"description\":\"Create a new Offering in the workspace. Creating an offering with a template: call List Offer Templates to find the template id, then Get Offer Template to read its fields (template_config). In your request, set the content type to template and send: 1. value: the field values, keyed by each field's outputKeyName. Include every required field. For a dropdown field, use the option's value. 2. meta.templateId: the template id. 3. meta.metaConfigObject: the template_config, with each field's value set to the same value you send in value. Validate Offering returns TEMPLATE_VALUE_MISMATCH when they differ.\",\"url\":\"https://moengage.com/docs/api/public-offerings/create-offering\",\"mainEntityOfPage\":{\"@id\":\"https://moengage.com/docs/api/public-offerings/create-offering#webpage\"},\"dateModified\":\"2026-11-24T09:09:24.043Z\",\"publisher\":{\"@id\":\"https://moengage.com/#organization\"},\"isPartOf\":{\"@id\":\"https://moengage.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MoEngage\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MoEngage\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api/public-offerings/create-offering.md","siteName":"MoEngage","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"User Guide","pages":[{"title":"User Guide","href":"/user-guide/introduction"}]},{"tab":"Developer Guide (SDKs)","pages":[{"title":"Developer Guide (SDKs)","href":"/developer-guide/introduction"}]},{"tab":"API Guide","groups":[{"group":"API Documentation","pages":[{"title":"API Documentation","sidebarTitle":"Overview","icon":"rocket","href":"/api/introduction"},{"group":"Authentication","icon":"key","pages":[{"group":"OAuth 2.0","pages":[{"title":"OAuth 2.0 Overview","icon":"file-magnifying-glass","href":"/api/oauth/oauth-overview"},{"title":"Generate Access Token","deprecated":null,"version":null,"openapi":"/api/oauth/oauth.yaml post /v1/oauth/token","href":"/api/oauth/generate-access-token"},{"title":"Refresh Access Token","deprecated":null,"version":null,"openapi":"/api/oauth/oauth.yaml post /v1/oauth/refresh","href":"/api/oauth/refresh-access-token"}]},{"title":"AWS STS Auth","href":"/api/aws-sts/aws-sts-overview"}]},{"title":"Rate Limits","icon":"gauge","href":"/api/rate-limits"}]},{"group":"Endpoints","icon":"code","pages":[{"group":"Data","icon":"database","pages":[{"title":"Data Overview","icon":"file-magnifying-glass","href":"/api/data/data-overview"},{"group":"User","icon":"user","pages":[{"title":"Track User","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /customer/{app_id}","href":"/api/user/track-user"},{"title":"Get User","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /customers/export","href":"/api/user/get-user"},{"title":"Merge Users","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /customer/merge","href":"/api/user/merge-users"},{"title":"Delete Users","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /customer/delete","href":"/api/user/delete-users"}]},{"group":"Event","icon":"calendar","pages":[{"title":"Track Event","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /event/{Workspace_ID}","href":"/api/event/track-event"}]},{"group":"Bulk","icon":"layer-group","pages":[{"title":"Bulk Import Users and Events","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /transition/{Workspace_ID}","href":"/api/bulk/bulk-import-users-and-events"}]},{"group":"Device","icon":"mobile","pages":[{"title":"Track Device","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /device/{app_id}","href":"/api/device/track-device"},{"title":"Device Opt-out","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /devices/manage","href":"/api/device/device-opt-out"}]},{"group":"File Import","icon":"file-import","pages":[{"title":"File Import Overview","icon":"file-magnifying-glass","href":"/api/data/file-import-overview"},{"title":"Trigger File Imports","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /fileimports/trigger/{schedule_id}","href":"/api/file-import/trigger-file-imports"},{"title":"Import Details","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /fileimports/import/status","href":"/api/file-import/import-details"},{"title":"Import File Run History","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /fileimports/import/run/history","href":"/api/file-import/import-file-run-history"}]},{"group":"Tracking","icon":"chart-line","pages":[{"title":"Track App Install","deprecated":null,"version":null,"openapi":"/api/data/data.yaml get /installInfo","href":"/api/tracking/track-app-install"}]},{"group":"Utilities","icon":"wrench","pages":[{"title":"Test Connection API","deprecated":null,"version":null,"openapi":"/api/data/data.yaml post /integrations/authentication","href":"/api/utilities/test-connection-api"}]},{"title":"Streams","icon":"webhook","href":"/api/data/moengage-streams"},{"group":"GDPR/CCPA","icon":"shield-check","pages":[{"title":"GDPR or CCPA Overview","icon":"file-magnifying-glass","href":"/api/gdpr-ccpa/gdpr-ccpa-overview"},{"title":"Submit a GDPR / CCPA Data Request","deprecated":null,"version":null,"openapi":"/api/gdpr-ccpa/gdpr-ccpa.yaml post /opengdpr_requests/{appId}","href":"/api/gdpr/submit-a-gdpr-ccpa-data-request"}]}]},{"group":"Business Events","icon":"calendar-check","pages":[{"group":"Business Events (V5)","icon":"bolt","pages":[{"title":"Business Events API (V5): Overview","icon":"bolt","href":"/api/business-events/business-events-v5/business-events-v5-overview"},{"title":"Trigger Business Event (V5)","deprecated":null,"version":null,"openapi":"/api/business-events/business-events-v5/business-events-v5.yaml post /v5/business-events/triggers","href":"/api/business-events/trigger-business-event-v5"},{"title":"List Business Events","deprecated":null,"version":null,"openapi":"/api/business-events/business-events-v5/business-events-v5.yaml get /v5/business-events","href":"/api/business-events/list-business-events"},{"title":"Search Business Events (V5)","deprecated":null,"version":null,"openapi":"/api/business-events/business-events-v5/business-events-v5.yaml post /v5/business-events/search","href":"/api/business-events/search-business-events-v5"}]},{"group":"Business Events (Legacy)","icon":"clock-rotate-left","pages":[{"title":"Business Events API (Legacy): Overview","icon":"clock-rotate-left","href":"/api/business-events/business-events-legacy/business-events-overview"},{"title":"Create Business Event","deprecated":null,"version":null,"openapi":"/api/business-events/business-events-legacy/business-events.yaml post /business_event","href":"/api/business-events/create-business-event"},{"title":"Trigger Business Event","deprecated":null,"version":null,"openapi":"/api/business-events/business-events-legacy/business-events.yaml post /business_event/trigger","href":"/api/business-events/trigger-business-event"},{"title":"Search Business Events","deprecated":null,"version":null,"openapi":"/api/business-events/business-events-legacy/business-events.yaml post /business_event/search","href":"/api/business-events/search-business-events"}]}]},{"group":"Content","icon":"file-lines","pages":[{"group":"Templates","icon":"rectangle-list","pages":[{"group":"Custom In-App Templates","icon":"mobile-screen","pages":[{"title":"In-app Templates Overview","icon":"file-magnifying-glass","href":"/api/in-app-templates/in-app-templates-overview"},{"title":"Create In-app Template","deprecated":null,"version":null,"openapi":"/api/in-app-templates/in-app-templates.yaml post /custom-templates/inapp","href":"/api/in-app-templates/create-in-app-template"},{"title":"Update In-app Template","deprecated":null,"version":null,"openapi":"/api/in-app-templates/in-app-templates.yaml put /custom-templates/inapp","href":"/api/in-app-templates/update-in-app-template"},{"title":"Search In-app Templates","deprecated":null,"version":null,"openapi":"/api/in-app-templates/in-app-templates.yaml post /custom-templates/inapp/search","href":"/api/in-app-templates/search-in-app-templates"}]},{"group":"Custom OSM Templates","icon":"window-restore","pages":[{"title":"OSM Templates Overview","icon":"file-magnifying-glass","href":"/api/osm-templates/osm-templates-overview"},{"title":"Create OSM Template","deprecated":null,"version":null,"openapi":"/api/osm-templates/osm-templates.yaml post /custom-templates/osm","href":"/api/osm-templates/create-osm-template"},{"title":"Update OSM Template","deprecated":null,"version":null,"openapi":"/api/osm-templates/osm-templates.yaml put /custom-templates/osm","href":"/api/osm-templates/update-osm-template"},{"title":"Search OSM Templates","deprecated":null,"version":null,"openapi":"/api/osm-templates/osm-templates.yaml post /custom-templates/osm/search","href":"/api/osm-templates/search-osm-templates"}]},{"group":"Custom SMS Templates","icon":"comment-sms","pages":[{"title":"SMS Templates Overview","icon":"file-magnifying-glass","href":"/api/sms-templates/sms-templates-overview"},{"title":"Create SMS Template","deprecated":null,"version":null,"openapi":"/api/sms-templates/sms-templates.yaml post /custom-templates/sms","href":"/api/sms-templates/create-sms-template"},{"title":"Update SMS Template","deprecated":null,"version":null,"openapi":"/api/sms-templates/sms-templates.yaml put /custom-templates/sms","href":"/api/sms-templates/update-sms-template"},{"title":"Search SMS Templates","deprecated":null,"version":null,"openapi":"/api/sms-templates/sms-templates.yaml post /custom-templates/sms/search","href":"/api/sms-templates/search-sms-templates"}]},{"group":"Custom Email Templates V1","icon":"envelope-open-text","pages":[{"title":"Email Templates (V1) Overview","icon":"file-magnifying-glass","href":"/api/email-templates-1/email-templates-1-overview"},{"title":"Create Email Template (V1)","deprecated":null,"version":null,"openapi":"/api/email-templates-1/email-templates-1.yaml post /email-templates","href":"/api/email-templates/create-email-template-v1"},{"title":"Get All Templates","deprecated":null,"version":null,"openapi":"/api/email-templates-1/email-templates-1.yaml get /email-templates","href":"/api/email-templates/get-all-templates"},{"title":"Get Specific Template","deprecated":null,"version":null,"openapi":"/api/email-templates-1/email-templates-1.yaml get /email-templates/{id}","href":"/api/email-templates/get-specific-template"},{"title":"Update Specific Template","deprecated":null,"version":null,"openapi":"/api/email-templates-1/email-templates-1.yaml put /email-templates/{id}","href":"/api/email-templates/update-specific-template"},{"title":"Bulk Create/Update Templates","deprecated":null,"version":null,"openapi":"/api/email-templates-1/email-templates-1.yaml put /bulk/email-templates","href":"/api/email-templates/bulk-createupdate-templates"}]},{"group":"Custom Email Templates V2","icon":"envelope","pages":[{"title":"Email Templates (V2) Overview","icon":"file-magnifying-glass","href":"/api/email-templates-2/email-templates-2-overview"},{"title":"Create Email Template (V2)","deprecated":null,"version":null,"openapi":"/api/email-templates-2/email-templates-2.yaml post /custom-templates/email","href":"/api/email-templates/create-email-template-v2"},{"title":"Search Email Template","deprecated":null,"version":null,"openapi":"/api/email-templates-2/email-templates-2.yaml post /custom-templates/email/search","href":"/api/email-templates/search-email-template"},{"title":"Update Email Template","deprecated":null,"version":null,"openapi":"/api/email-templates-2/email-templates-2.yaml put /custom-templates/email","href":"/api/email-templates/update-email-template"}]},{"group":"Custom Push Templates","icon":"bell","pages":[{"title":"Push Templates Overview","icon":"file-magnifying-glass","href":"/api/push-templates/push-templates-overview"},{"title":"Create Push Template","deprecated":null,"version":null,"openapi":"/api/push-templates/push-templates.yaml post /custom-templates/push","href":"/api/templates/create-push-template"},{"title":"Update Push Template","deprecated":null,"version":null,"openapi":"/api/push-templates/push-templates.yaml put /custom-templates/push","href":"/api/templates/update-push-template"},{"title":"Search for Push Templates","deprecated":null,"version":null,"openapi":"/api/push-templates/push-templates.yaml post /custom-templates/push/search","href":"/api/templates/search-for-push-templates"}]}]},{"group":"Content Blocks","icon":"cubes","pages":[{"title":"Content Blocks Overview","icon":"file-magnifying-glass","href":"/api/content-blocks/content-blocks-overview"},{"title":"Create Content Block","deprecated":null,"version":null,"openapi":"/api/content-blocks/content-blocks.yaml post /content-blocks","href":"/api/content-blocks/create-content-block"},{"title":"Update Content Block","deprecated":null,"version":null,"openapi":"/api/content-blocks/content-blocks.yaml put /content-blocks","href":"/api/content-blocks/update-content-block"},{"title":"Get Specific Content Blocks","deprecated":null,"version":null,"openapi":"/api/content-blocks/content-blocks.yaml post /content-blocks/get-by-ids","href":"/api/content-blocks/get-specific-content-blocks"},{"title":"Search Content Blocks","deprecated":null,"version":null,"openapi":"/api/content-blocks/content-blocks.yaml post /content-blocks/search","href":"/api/content-blocks/search-content-blocks"}]},{"group":"Content APIs","icon":"plug","pages":[{"title":"Content APIs Overview","icon":"file-magnifying-glass","href":"/api/content-apis/content-apis-overview"},{"title":"List Content APIs","deprecated":null,"version":null,"openapi":"/api/content-apis/content-apis.yaml get /v5/content-apis","href":"/api/content-apis/list-content-apis"},{"title":"Test Content API","deprecated":null,"version":null,"openapi":"/api/content-apis/content-apis.yaml post /v5/content-apis/{id}/test","href":"/api/content-apis/test-content-api"}]},{"group":"Locales","icon":"language","pages":[{"title":"Locales Overview","icon":"file-magnifying-glass","href":"/api/locales/locales-overview"},{"title":"List Locales","deprecated":null,"version":null,"openapi":"/api/locales/locales.yaml get /v5/locales","href":"/api/locales/list-locales"}]},{"group":"Recommendations","icon":"wand-magic-sparkles","pages":[{"title":"Recommendations Overview","icon":"file-magnifying-glass","href":"/api/recommendations/recommendations-overview"},{"title":"Fetch All Recommendations","deprecated":null,"version":null,"openapi":"/api/recommendations/recommendations.yaml get /recommendations","href":"/api/recommendations/fetch-all-recommendations"},{"title":"Fetch Recommendation Details","deprecated":null,"version":null,"openapi":"/api/recommendations/recommendations.yaml get /recommendations/{recommendation_id}","href":"/api/recommendations/fetch-recommendation-details"},{"title":"Fetch Recommendation Results","deprecated":null,"version":null,"openapi":"/api/recommendations/recommendations.yaml post /recommendations/{recommendation_id}/items","href":"/api/recommendations/fetch-recommendation-results"}]},{"group":"Coupons","icon":"ticket","pages":[{"title":"Coupon Management Overview","icon":"file-magnifying-glass","href":"/api/coupons/coupons-overview"},{"title":"Create a Coupon List","deprecated":null,"version":null,"openapi":"/api/coupons/coupons.yaml post /coupon-list","href":"/api/coupon-lists/create-a-coupon-list"},{"title":"Fetch All Coupon Lists","deprecated":null,"version":null,"openapi":"/api/coupons/coupons.yaml get /coupon-list","href":"/api/coupon-lists/fetch-all-coupon-lists"},{"title":"Fetch Coupon List Details","deprecated":null,"version":null,"openapi":"/api/coupons/coupons.yaml get /coupon-list/{coupon_list_id}","href":"/api/coupon-lists/fetch-coupon-list-details"},{"title":"Update a Coupon List","deprecated":null,"version":null,"openapi":"/api/coupons/coupons.yaml patch /coupon-list/{coupon_list_id}","href":"/api/coupon-lists/update-a-coupon-list"},{"title":"Activate Coupon List","deprecated":null,"version":null,"openapi":"/api/coupons/coupons.yaml put /coupon-list/{coupon_list_id}/activate","href":"/api/coupon-lists/activate-coupon-list"},{"title":"Archive a Coupon List","deprecated":null,"version":null,"openapi":"/api/coupons/coupons.yaml put /coupon-list/{coupon_list_id}/archive","href":"/api/coupon-lists/archive-a-coupon-list"},{"title":"Upload a Coupon File to the Coupon List","deprecated":null,"version":null,"openapi":"/api/coupons/coupons.yaml post /coupon-list/{coupon_list_id}/files","href":"/api/coupon-files/upload-a-coupon-file-to-the-coupon-list"},{"title":"Fetch All Coupon Files From Coupon List","deprecated":null,"version":null,"openapi":"/api/coupons/coupons.yaml get /coupon-list/{coupon_list_id}/files","href":"/api/coupon-files/fetch-all-coupon-files-from-coupon-list"},{"title":"Fetch a Coupon File from Coupon List","deprecated":null,"version":null,"openapi":"/api/coupons/coupons.yaml get /coupon-list/{coupon_list_id}/files/{coupon_file_id}","href":"/api/coupon-files/fetch-a-coupon-file-from-coupon-list"},{"title":"Delete a Coupon File from the Coupon List","deprecated":null,"version":null,"openapi":"/api/coupons/coupons.yaml delete /coupon-list/{coupon_list_id}/files/{coupon_file_id}","href":"/api/coupon-files/delete-a-coupon-file-from-the-coupon-list"},{"title":"Generate Usage Report","deprecated":null,"version":null,"openapi":"/api/coupons/coupons.yaml post /coupon-list/{coupon_list_id}/usage-report","href":"/api/reports/generate-usage-report"}]},{"group":"Catalog","icon":"box","pages":[{"title":"Catalog Overview","icon":"file-magnifying-glass","href":"/api/catalog/catalog-overview"},{"title":"Create Catalog","deprecated":null,"version":null,"openapi":"/api/catalog/catalog.yaml post /catalog","href":"/api/catalog/create-catalog"},{"title":"Add Catalog Attributes","deprecated":null,"version":null,"openapi":"/api/catalog/catalog.yaml patch /catalog/{catalog_id}/attributes","href":"/api/catalog/add-catalog-attributes"},{"title":"Add Items","deprecated":null,"version":null,"openapi":"/api/catalog/catalog.yaml post /catalog/{catalog_id}/items","href":"/api/items/add-items"},{"title":"Get Items","deprecated":null,"version":null,"openapi":"/api/catalog/catalog.yaml post /catalog/{catalog_id}/items/search","href":"/api/items/get-items"},{"title":"Update Items","deprecated":null,"version":null,"openapi":"/api/catalog/catalog.yaml patch /catalog/{catalog_id}/items","href":"/api/items/update-items"},{"title":"Delete Items","deprecated":null,"version":null,"openapi":"/api/catalog/catalog.yaml post /catalog/{catalog_id}/items/bulk-delete","href":"/api/items/delete-items"}]}]},{"group":"Flows","icon":"diagram-project","pages":[{"title":"Flows Overview","href":"/api/flows/flows-overview"},{"title":"Search Flows","deprecated":null,"version":null,"openapi":"/api/flows/flows.yaml post /v5/flows/search","href":"/api/flows/search-flows"},{"title":"Get a Single Flow","deprecated":null,"version":null,"openapi":"/api/flows/flows.yaml get /v5/flows/{flow_id}","href":"/api/flows/get-a-single-flow"},{"title":"Get a Specific Version of a Flow","deprecated":null,"version":null,"openapi":"/api/flows/flows.yaml get /v5/flows/{flow_id}/versions/{version_id}","href":"/api/flows/get-a-specific-version-of-a-flow"},{"title":"Update Flow Status","deprecated":null,"version":null,"openapi":"/api/flows/flows.yaml patch /v5/flows/{flow_id}/status","href":"/api/flows/update-flow-status"}]},{"group":"Offerings","icon":"gift","pages":[{"title":"Offerings Overview","icon":"gift","href":"/api/offerings/offerings-overview"},{"title":"List Offerings","deprecated":null,"version":null,"openapi":"/api/offerings/offerings.yaml get /v5/offers","href":"/api/public-offerings/list-offerings"},{"title":"Get Offering","description":"Retrieve the full configuration of a single offering by its ID.","deprecated":null,"version":null,"openapi":"/api/offerings/offerings.yaml get /v5/offers/{offer_id}","href":"/api/public-offerings/get-offering"},{"title":"Create Offering","deprecated":null,"version":null,"openapi":"/api/offerings/offerings.yaml post /v5/offers","href":"/api/public-offerings/create-offering"},{"title":"Update Offering","description":"Modify an existing offering. Only the fields you include in the request body are\nchanged.\n\nWhen you change template content, send `meta.metaConfigObject` with each field's `value` matching the same field in `value`.\n","deprecated":null,"version":null,"openapi":"/api/offerings/offerings.yaml patch /v5/offers/{offer_id}","href":"/api/public-offerings/update-offering"},{"title":"Validate Offering","deprecated":null,"version":null,"openapi":"/api/offerings/offerings.yaml post /v5/offers/{offer_id}/validate","href":"/api/public-offerings/validate-offering"},{"title":"List Offer Templates","deprecated":null,"version":null,"openapi":"/api/offerings/offerings.yaml get /v5/offers/templates","href":"/api/public-offerings/list-offer-templates"},{"title":"Get Offer Template","deprecated":null,"version":null,"openapi":"/api/offerings/offerings.yaml get /v5/offers/templates/{template_id}","href":"/api/public-offerings/get-offer-template"}]},{"group":"Campaigns","icon":"paper-plane","pages":[{"group":"Campaigns","icon":"file-pen","pages":[{"title":"Campaigns Overview","icon":"file-magnifying-glass","href":"/api/campaigns/campaign-draft-overview"},{"title":"Create Campaign Draft (V5)","deprecated":null,"version":null,"openapi":"/api/campaigns/campaign-draft.yaml post /v5/campaigns","href":"/api/create-campaigns/create-campaign-draft-v5"},{"title":"Campaign content reference","icon":"layout-template","href":"/api/campaigns/campaign-content-reference"},{"title":"Audience and delivery reference","icon":"users-viewfinder","href":"/api/campaigns/audience-scheduling-delivery-reference"},{"title":"Get Campaign (V5)","deprecated":null,"version":null,"openapi":"/api/campaigns/campaign-draft.yaml get /v5/campaigns/{campaign_id}","href":"/api/get-campaign-details/get-campaign-v5"},{"title":"Update Campaign (V5)","deprecated":null,"version":null,"openapi":"/api/campaigns/campaign-draft.yaml patch /v5/campaigns/{campaign_id}","href":"/api/update-campaigns/update-campaign-v5"},{"title":"Validate Campaign (V5)","deprecated":null,"version":null,"openapi":"/api/campaigns/campaign-draft.yaml post /v5/campaigns/{campaign_id}/validate","href":"/api/create-campaigns/validate-campaign-v5"},{"title":"Update Campaign Status (V5)","deprecated":null,"version":null,"openapi":"/api/campaigns/campaign-draft.yaml patch /v5/campaigns/{campaign_id}/status","href":"/api/update-campaigns/update-campaign-status-v5"},{"title":"Search Campaigns (V5)","deprecated":null,"version":null,"openapi":"/api/campaigns/campaign-draft.yaml post /v5/campaigns/search","href":"/api/get-campaign-details/search-campaigns-v5"},{"title":"Test Campaign (V5)","deprecated":null,"version":null,"openapi":"/api/campaigns/campaign-draft.yaml post /v5/campaigns/test","href":"/api/test-campaigns/test-campaign-v5"},{"title":"Get Campaign Meta (V5)","deprecated":null,"version":null,"openapi":"/api/campaigns/campaign-draft.yaml post /v5/campaigns/meta","href":"/api/get-campaign-details/get-campaign-meta-v5"},{"title":"Personalized Preview (V5)","deprecated":null,"version":null,"openapi":"/api/campaigns/campaign-draft.yaml post /v5/personalizations/previews","href":"/api/personalized-preview/personalized-preview-v5"}]},{"group":"Campaigns (Legacy)","icon":"paper-plane","pages":[{"title":"Campaigns (Legacy) Overview","icon":"file-magnifying-glass","href":"/api/campaigns/campaigns-overview"},{"title":"Create Campaign","deprecated":null,"version":null,"openapi":"/api/campaigns/campaigns.yaml post /campaigns","href":"/api/create-campaigns/create-campaign"},{"title":"Update Campaign (V1 — Legacy)","deprecated":null,"version":null,"openapi":"/api/campaigns/campaigns.yaml patch /campaigns/{campaign_id}","href":"/api/update-campaigns/update-campaign-v1-—-legacy"},{"title":"Search Campaigns","deprecated":null,"version":null,"openapi":"/api/campaigns/campaigns.yaml post /campaigns/search","href":"/api/get-campaign-details/search-campaigns"},{"title":"V1 vs. V5 Search Campaigns: Behavioral Differences","href":"/api/campaigns/search-campaigns-v5-migration"},{"title":"Test Campaign","deprecated":null,"version":null,"openapi":"/api/campaigns/campaigns.yaml post /campaigns/test","href":"/api/test-campaigns/test-campaign"},{"title":"Personalized Preview","deprecated":null,"version":null,"openapi":"/api/campaigns/campaigns.yaml post /personalization/preview","href":"/api/test-campaigns/personalized-preview"},{"title":"Get Campaign Meta (V1 — Legacy)","deprecated":null,"version":null,"openapi":"/api/campaigns/campaigns.yaml post /campaigns/meta","href":"/api/get-campaign-details/get-campaign-meta-v1-—-legacy"},{"title":"Change Campaign Status","deprecated":null,"version":null,"openapi":"/api/campaigns/campaigns.yaml post /campaigns/status","href":"/api/update-campaigns/change-campaign-status"},{"title":"Get Child Campaigns","deprecated":null,"version":null,"openapi":"/api/campaigns/campaigns.yaml post /campaigns/{parent_campaign_id}/executions","href":"/api/get-campaign-details/get-child-campaigns"},{"title":"Update Global Control Group","deprecated":null,"version":null,"openapi":"/api/campaigns/campaigns.yaml put /global-control-group/users","href":"/api/update-campaigns/update-global-control-group"}]},{"group":"Campaign Report and Stats","icon":"chart-bar","pages":[{"title":"Campaign Stats and Reports Overview","icon":"file-magnifying-glass","href":"/api/stats-report/stats-report-overview"},{"title":"Get Campaign Stats","deprecated":null,"version":null,"openapi":"/api/stats-report/stats-report.yaml post /core-services/v1/campaign-stats","href":"/api/stats/get-campaign-stats"},{"title":"Download Campaign Report","deprecated":null,"version":null,"openapi":"/api/stats-report/stats-report.yaml get /campaign_reports/rest_api/{APP_ID}/{FILENAME}","href":"/api/campaign-reports/download-campaign-report"}]}]},{"group":"Messaging","icon":"envelope","pages":[{"title":"Messaging API Overview","icon":"envelope","href":"/api/messaging/messaging-api-overview"},{"title":"Trigger Message","deprecated":null,"version":null,"openapi":"/api/campaigns/campaign-draft.yaml post /v5/campaigns/{campaign_id}/send","href":"/api/trigger/trigger-message"}]},{"group":"Analyze","icon":"chart-line","tag":"NEW","pages":[{"group":"Dashboards","icon":"objects-column","pages":[{"title":"Custom Dashboards Overview","icon":"file-magnifying-glass","href":"/api/analytics/analytics-overview"},{"title":"List Dashboards","deprecated":null,"version":null,"openapi":"/api/analytics/analytics.yaml get /v5/analytics/dashboards","href":"/api/dashboards/list-dashboards"},{"title":"Get Dashboard Charts","deprecated":null,"version":null,"openapi":"/api/analytics/analytics.yaml get /v5/analytics/dashboards/{dashboard_id}/charts","href":"/api/dashboards/get-dashboard-charts"},{"title":"Get Chart Data","deprecated":null,"version":null,"openapi":"/api/analytics/analytics.yaml get /v5/analytics/dashboards/{dashboard_id}/charts/{chart_id}","href":"/api/dashboards/get-chart-data"}]},{"group":"Analytics","icon":"chart-mixed","pages":[{"title":"Analytics Query APIs Overview","icon":"chart-mixed","href":"/api/analytics-query/analytics-query-overview"},{"title":"Register a Behavior Query","deprecated":null,"version":null,"openapi":"/api/analytics-query/analytics-query.yaml post /v5/analytics/behavior","href":"/api/analytics-queries/register-a-behavior-query"},{"title":"Register a Funnels Query","deprecated":null,"version":null,"openapi":"/api/analytics-query/analytics-query.yaml post /v5/analytics/funnels","href":"/api/analytics-queries/register-a-funnels-query"},{"title":"Register a Retention Query","deprecated":null,"version":null,"openapi":"/api/analytics-query/analytics-query.yaml post /v5/analytics/retention","href":"/api/analytics-queries/register-a-retention-query"},{"title":"Register a Session-Source Query","deprecated":null,"version":null,"openapi":"/api/analytics-query/analytics-query.yaml post /v5/analytics/session-source","href":"/api/analytics-queries/register-a-session-source-query"},{"title":"Register a User Analysis Query","deprecated":null,"version":null,"openapi":"/api/analytics-query/analytics-query.yaml post /v5/analytics/user-analysis","href":"/api/analytics-queries/register-a-user-analysis-query"},{"title":"Get Query Status","deprecated":null,"version":null,"openapi":"/api/analytics-query/analytics-query.yaml get /v5/analytics/query/{request_id}/status","href":"/api/analytics-queries/get-query-status"},{"title":"Get Query Results","deprecated":null,"version":null,"openapi":"/api/analytics-query/analytics-query.yaml get /v5/analytics/query/{request_id}/results","href":"/api/analytics-queries/get-query-results"}]}]},{"group":"Segments","icon":"users","pages":[{"title":"Segments Overview","icon":"file-magnifying-glass","href":"/api/custom-segments/custom-segments-overview"},{"group":"File Segments","icon":"file-csv","pages":[{"title":"Create File Segment","deprecated":null,"version":null,"openapi":"/api/custom-segments/custom-segments.yaml post /v2/custom-segments/file-segment","href":"/api/file-segments/create-file-segment"},{"title":"Add Users to File Segment","deprecated":null,"version":null,"openapi":"/api/custom-segments/custom-segments.yaml put /v2/custom-segments/file-segment/add-users","href":"/api/file-segments/add-users-to-file-segment"},{"title":"Remove Users from File Segment","deprecated":null,"version":null,"openapi":"/api/custom-segments/custom-segments.yaml put /v2/custom-segments/file-segment/remove-users","href":"/api/file-segments/remove-users-from-file-segment"},{"title":"Replace Users from File Segment","deprecated":null,"version":null,"openapi":"/api/custom-segments/custom-segments.yaml put /v2/custom-segments/file-segment/replace","href":"/api/file-segments/replace-users-from-file-segment"}]},{"group":"Filter Segments","icon":"filter","pages":[{"title":"List Segments","deprecated":null,"version":null,"openapi":"/api/custom-segments/custom-segments.yaml get /v3/custom-segments","href":"/api/filter-segments/list-segments"},{"title":"Create Filter Segment","deprecated":null,"version":null,"openapi":"/api/custom-segments/custom-segments.yaml post /v3/custom-segments","href":"/api/filter-segments/create-filter-segment"},{"title":"Get Segment by ID","deprecated":null,"version":null,"openapi":"/api/custom-segments/custom-segments.yaml get /v3/custom-segments/{id}","href":"/api/filter-segments/get-segment-by-id"},{"title":"Update Filter Segment","deprecated":null,"version":null,"openapi":"/api/custom-segments/custom-segments.yaml patch /v3/custom-segments/{id}","href":"/api/filter-segments/update-filter-segment"}]},{"group":"Cohort Sync","icon":"users-gear","pages":[{"title":"Sync Cohort Members","deprecated":null,"version":null,"openapi":"/api/cohort-audience/cohort-audience.yaml post /v1/integrations/cohortsync","href":"/api/cohort-sync/sync-cohort-members"}]},{"group":"Manage Segments","icon":"sliders","pages":[{"title":"Archive Segment","deprecated":null,"version":null,"openapi":"/api/custom-segments/custom-segments.yaml patch /v2/custom-segments/archive","href":"/api/manage-segments/archive-segment"},{"title":"Unarchive Segment","deprecated":null,"version":null,"openapi":"/api/custom-segments/custom-segments.yaml patch /v2/custom-segments/unarchive","href":"/api/manage-segments/unarchive-segment"}]}]},{"group":"Subscriptions","icon":"envelope-circle-check","pages":[{"group":"Email Subscription","icon":"envelope","pages":[{"title":"Email Subscription Overview","icon":"file-magnifying-glass","href":"/api/email-subscription/email-subscription-overview"},{"title":"Bulk Resubscribe Users","deprecated":null,"version":null,"openapi":"/api/email-subscription/email-subscription.yaml post /emails/v1.0/bulk-resubscribe","href":"/api/resubscribe/bulk-resubscribe-users"},{"title":"Update User Email Opt-in Preferences","deprecated":null,"version":null,"openapi":"/api/email-subscription/email-subscription.yaml put /v1.0/opt-in-management/user-preferences","href":"/api/opt-in-management/update-user-email-opt-in-preferences"}]},{"group":"Subscription Categories","icon":"list-check","pages":[{"group":"Subscription Categories (V5)","pages":[{"title":"Subscription Categories (V5)","icon":"file-magnifying-glass","href":"/api/subscription-categories/subscription-categories-v5/subscription-categories-overview-v5"},{"title":"Get Subscription Categories (V5)","deprecated":null,"version":null,"openapi":"/api/subscription-categories/subscription-categories-v5/subscription-categories-v5.yaml get /v5/subscription-categories","href":"/api/subscription-categories/get-subscription-categories-v5"},{"title":"Get Subscription Preferences (V5)","deprecated":null,"version":null,"openapi":"/api/subscription-categories/subscription-categories-v5/subscription-categories-v5.yaml get /v5/subscription-preferences","href":"/api/subscription-preferences/get-subscription-preferences-v5"},{"title":"Update Subscription Preferences (V5)","deprecated":null,"version":null,"openapi":"/api/subscription-categories/subscription-categories-v5/subscription-categories-v5.yaml patch /v5/subscription-preferences","href":"/api/subscription-preferences/update-subscription-preferences-v5"}]},{"group":"Subscription Categories (Legacy)","pages":[{"title":"Subscription Categories (Legacy)","icon":"file-magnifying-glass","href":"/api/subscription-categories/subscription-categories-legacy/subscription-categories-overview-legacy"},{"title":"Get Subscription Preferences","deprecated":null,"version":null,"openapi":"/api/subscription-categories/subscription-categories-legacy/subscription-categories-legacy.yaml get /category-subscription/user-preferences","href":"/api/subscription-preferences/get-subscription-preferences"},{"title":"Update Subscription Preferences","deprecated":null,"version":null,"openapi":"/api/subscription-categories/subscription-categories-legacy/subscription-categories-legacy.yaml put /category-subscription/user-preferences","href":"/api/subscription-preferences/update-subscription-preferences"},{"title":"Bulk Update Subscription Preferences","deprecated":null,"version":null,"openapi":"/api/subscription-categories/subscription-categories-legacy/subscription-categories-legacy.yaml post /category-subscription/user-preferences","href":"/api/subscription-preferences/bulk-update-subscription-preferences"}]}]}]},{"group":"Push","icon":"bell","pages":[{"title":"Push Overview","icon":"file-magnifying-glass","href":"/api/push/push-overview"},{"title":"Push API (V5)","openapi":"api/push/push-v5.yaml POST /v5/push/notifications","href":"/api/push/push-api"},{"title":"Push API (v2.1, Legacy)","openapi":"api/push/push-v2-1.yaml POST /v2.1/transaction/sendpush","href":"/api/push/push-api-v2-1-legacy"},{"title":"Push API (v2, Legacy)","openapi":"api/push/push.yaml POST /transaction/sendpush","href":"/api/push/push-api-v2-legacy"}]},{"group":"Cards","icon":"rectangle-history","pages":[{"title":"Cards Overview","icon":"file-magnifying-glass","href":"/api/cards/cards-overview"},{"title":"Fetch Cards for User","deprecated":null,"version":null,"openapi":"/api/cards/cards.yaml post /cards/fetch","href":"/api/cards/fetch-cards-for-user"},{"title":"Delete Cards for User","deprecated":null,"version":null,"openapi":"/api/cards/cards.yaml delete /cards/delete","href":"/api/cards/delete-cards-for-user"}]},{"group":"Inform","icon":"message","pages":[{"title":"Inform Overview","icon":"file-magnifying-glass","href":"/api/inform/inform-overview"},{"title":"Send Transactional Alert","deprecated":null,"version":null,"openapi":"/api/inform/inform.yaml post /alerts/send","href":"/api/transactional-alerts/send-transactional-alert"}]},{"group":"Live Activities","icon":"circle-play","pages":[{"title":"Live Activities Overview","icon":"file-magnifying-glass","href":"/api/live-activities/live-activities-overview"},{"title":"Start Broadcast Live Activity","deprecated":null,"version":null,"openapi":"/api/live-activities/live-activities.yaml post /live-activity/broadcast/start","href":"/api/live-activities/start-broadcast-live-activity"},{"title":"Update Broadcast Live Activity","deprecated":null,"version":null,"openapi":"/api/live-activities/live-activities.yaml post /live-activity/broadcast/update","href":"/api/live-activities/update-broadcast-live-activity"},{"title":"End Broadcast Live Activity","deprecated":null,"version":null,"openapi":"/api/live-activities/live-activities.yaml post /live-activity/broadcast/end","href":"/api/live-activities/end-broadcast-live-activity"}]},{"group":"Personalize","icon":"bullseye-arrow","pages":[{"title":"Personalize Overview","icon":"file-magnifying-glass","href":"/api/personalize-experience/personalize-overview"},{"title":"Fetch Experience","deprecated":null,"version":null,"openapi":"/api/personalize-experience/personalize-experience.yaml post /experiences/fetch","href":"/api/experiences/fetch-experience"},{"title":"Fetch Experience Metadata","deprecated":null,"version":null,"openapi":"/api/personalize-experience/personalize-experience.yaml get /experiences/metadata","href":"/api/experiences/fetch-experience-metadata"},{"title":"Track Experience Events","deprecated":null,"version":null,"openapi":"/api/personalize-experience/personalize-experience.yaml post /experiences/events","href":"/api/events/track-experience-events"}]},{"group":"Message Archival","icon":"box-archive","pages":[{"title":"Message Archival Overview","icon":"file-magnifying-glass","href":"/api/message-archival/message-archival-overview"},{"title":"View Archived Message","deprecated":null,"version":null,"openapi":"/api/message-archival/message-archival.yaml post /archival/view","href":"/api/message-archival/view-archived-message"}]}]}]},{"tab":"AI \u0026 Intelligence","pages":[{"title":"AI \u0026 Intelligence","href":"/user-guide/ai-and-intelligence/overview"}]},{"tab":"Partner Integrations","pages":[{"title":"Partner Integrations","href":"/partner-guide/introduction"}]},{"tab":"Use Cases","pages":[{"title":"Use Cases","href":"/use-cases/introduction"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/release-notes/subscribe-to-release-notes"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api/public-offerings/create-offering"}]}]},"basePath":"","title":"Create Offering - MoEngage","deploymentId":"dpl_9NURmhhAnEA2MBJSAbn1GXd2czCa","buildId":"dpl_9NURmhhAnEA2MBJSAbn1GXd2czCa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CUPdegXL.js","snippetPresets-BQq89bX3.js","utils-CJtUu38r.js","style-to-object-BY3JEAdk.js","utils-Dl_iEV_c.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-I0bFVJaI.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Dcvlblmg.js","_Uint8Array-VGUeTT0n.js","isObject-FP1Yky1u.js","ApiExamples-D1A0XuKj.js","usePlaygroundInputsStore-Hc_6kXYj.js","shallow-BhhizytD.js","isEqual-D265BYHf.js","CodeSnippets-DSWAIz-b.js","CodeSnippet-BdmAY1za.js","getApiPlaygroundDisplay-BIdLkZxH.js","Page-Bvrdu_OS.js","api-description-markdown-3NHhqwNl.js","DynamicMarkdown-BGCZRsks.js","SectionHeading-DuqsJYtR.js","MethodPill-DNag51EN.js","getPastedJson-CedzOGYS.js","Check2Icon-0NvNj7H_.js","axios-CsQoIw0U.js","Markdown-B9bB45u8.js","AssistantPageLink-DniobXcL.js","dist-C_SYQzHz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}