Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v74
  • v74
  • v73
  • v72
Login
  • User API documentation
  • API interaction
  • Matching
  • Profiles
  • Databases
  • Resources
  • Segments
  • Suppression lists
  • Templates and fragments
  • Campaigns
  • Mailings
  • Automation scenarios
  • Loyalty Programs
  • Promo codes
  • Goals
  • Application push notifications
  • Market
  • Analytic reports
  • SendersDev
  • External datatables queries
  • Objects
    • AKMTA object
    • Content object
    • Email rule object
    • File object
    • Profile data object
    • SMS rule object
    • Sender object
    • Sender types
    • Start schedule object
    • Subscription object
    • Trigger types
  • Miscellaneous
  • Importing the API collection in Postman
  • List of API endpoints
  • SDK
  • Objects
  • Email rule object
Documentation for version v74

Email rule object

JSON​

  • JSON
  • XML
{
"type": "from_domain",
"value": "altcraft.com",
"senders": [
{
"sender_id": 287,
"percent": 100,
"from_email": "no-reply@altcraft.com",
"replyto_email": "no-reply@altcraft.com",
"from_name": ""
}
]
}
<xml>
<type>from_domain</type>
<value>altcraft.com</value>
<senders array='true'>
<sender_id>287</sender_id>
<percent>100</percent>
<from_email>no-reply@altcraft.com</from_email>
<replyto_email>no-reply@altcraft.com</replyto_email>
<from_name></from_name>
</senders>
</xml>

Object parameters​

ParameterTypeExampleDescription
typestring"default"Email sender rule type
valuestring/int""depending on rule type
sendersJSON array[]Senders list

Rule types​

TypeValue typeExampleDescription
defaultstring""Always enabled
group_idint12If group ID equals..
from_domainstring"altcraft.com"If From domain equals..
to_domainstring"gmail.com"If To domain equals..
Last updated on Mar 16, 2024
Previous
Content object
Next
File object
  • JSON
  • Object parameters
  • Rule types
© 2015 - 2025 Altcraft, LLC. All rights reserved.