Create a new message creative with offer link placeholders.
{{linkN}} placeholder, and every placeholder must have a corresponding entry in the offer_links array.
{{linkN}} placeholder (e.g. {{link1}}). Placeholders are replaced with tracked short links at send time.{{linkN}} placeholders in the message. Each placeholder in the message must have a matching entry.active, paused.automated, one_time, welcome.ceil(total / 153) segments.| HTTP Status | Error Code | Description |
|---|---|---|
| 400 | missing_name | The name field is required. |
| 400 | missing_message | The message field is required. |
| 400 | missing_offer_links | The offer_links array is required and must not be empty. |
| 400 | name_too_long | The name exceeds 255 characters. |
| 400 | message_too_long | The message exceeds 1600 characters. |
| 400 | invalid_status | The provided status is not active or paused. |
| 400 | invalid_creative_type | The provided creative_type is not automated, one_time, or welcome. |
| 400 | missing_link_placeholder | The message must contain at least one {{linkN}} placeholder. |
| 400 | missing_offer_links_for_placeholders | One or more {{linkN}} placeholders in the message do not have a matching entry in offer_links. |
| 400 | missing_offer_link_key | An entry in offer_links is missing the required key field. |
| 400 | missing_offer_link_offer_id | An entry in offer_links is missing the required offer_id field. |
| 401 | unauthorized | API key is missing or invalid. |
| 400 | offer_not_found | An offer referenced in offer_links does not exist or does not belong to your account. |