Content object
Content objects are used in campaign and scenarios queries.
JSON
- JSON
- XML
{
"subject": "Maybe very important message",
"from_email": "",
"from_name": "James",
"replyto_email": "",
"replyto_name": "",
"message_id": 45
}
<xml>
<subject>Maybe very important message</subject>
<from_email></from_email>
<from_name>James</from_name>
<replyto_email></replyto_email>
<replyto_name></replyto_name>
<message_id>45</message_id>
</xml>
Object parameters
Parameters | Type | Example | Description |
---|---|---|---|
message_id | int | 12 | Message ID |
from_email | string | "test@example.com" | Override from email |
from_name | string | "Jenny's List" | Override from name |
replyto_email | string | "test@example.com" | Override reply to email |
replyto_name | string | "Jenny" | Override reply to name |
subject | string | "Weather alert" | Override message subject |