{"id":4811,"date":"2017-03-17T10:38:45","date_gmt":"2017-03-17T14:38:45","guid":{"rendered":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/?post_type=ht_kb&#038;p=4811"},"modified":"2025-04-15T17:55:37","modified_gmt":"2025-04-15T21:55:37","slug":"datamotion-api-headers","status":"publish","type":"ht_kb","link":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/?ht_kb=datamotion-api-headers","title":{"rendered":"DataMotion API Headers"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\"><span class=\"rt-label rt-prefix\">Est. reading time:<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<h2>Headers &amp; MessageAttributes<\/h2>\n<p>All X-Headers that are currently used by DataMotion are described in this article. Each X-Header is its own section with the corresponding MessageAttribute and information contained in the text of the section.<\/p>\n    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle  \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Note<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tFor technical information regarding the API methods and their expected request formats see the <a href=\"https:\/\/developer-docs.datamotion.com\">DataMotion Developer Center<\/a>\u00a0website.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<h3><strong>X-COBRAND<\/strong><\/h3>\n<p><strong>MessageAttribute.CoBrand <\/strong><\/p>\n<ul>\n<li>Not used in code.<\/li>\n<\/ul>\n<h3>X-EMAILRECEIPT<\/h3>\n<p><strong>MessageAttribute.EmailReceipt<\/strong><\/p>\n<p>Expected to be numeric:<\/p>\n<ul>\n<li>MessageReceipt.DontSend = 0<\/li>\n<li>MessageReceipt.Send = 1<\/li>\n<\/ul>\n<h3>X-EXPIRE<\/h3>\n<p><strong>MessageAttribute.Expire<\/strong><\/p>\n<p>Expected to be numeric:<\/p>\n<ul>\n<li>Value is added as days to the creation time to get the expiration time.<\/li>\n<\/ul>\n<h3>X-HINT<\/h3>\n<p>MessageAttribute.Hint<\/p>\n<p>Expected to be a string:<\/p>\n<ul>\n<li>Value is used as the password hint displayed to the user in a &#8220;password protected&#8221; message.<\/li>\n<\/ul>\n<h3>X-ANSWER<\/h3>\n<p><strong>MessageAttribute.Password <\/strong><\/p>\n<p>Expected to be a string:<\/p>\n<ul>\n<li>Value is used as the password for the &#8220;password protected&#8221; message. This value is plain text, and is stored as plain text.<\/li>\n<li>If PDF\/Zip push is enabled, this is used for the password on the PDF\/Zip.<\/li>\n<\/ul>\n<h3>X-REGCODE<\/h3>\n<p><strong>MessageAttribute.RegCode <\/strong><\/p>\n<ul>\n<li>Not used in code.<\/li>\n<\/ul>\n<h3>X-SSL<\/h3>\n<p><strong>MessageAttribute.SSL <\/strong><\/p>\n<ul>\n<li>Not used in code.<\/li>\n<\/ul>\n<h3>X-USERTYPE<\/h3>\n<p><strong>MessageAttribute.UserType <\/strong><\/p>\n<ul>\n<li>Not used in code.<\/li>\n<\/ul>\n<h3>X-PRIORITY<\/h3>\n<p><strong>MessageAttribute.Priority<\/strong><\/p>\n<p>Expected to be numeric:<\/p>\n<ul>\n<li>1,2 = high priority<\/li>\n<li>4,5 = low priority<\/li>\n<li>Everything else = normal priority. (everything includes 3)<\/li>\n<\/ul>\n<h3>X-NOFORWARD<\/h3>\n<p><strong>MessageAttribute.NoForward<\/strong><\/p>\n<p>Expected to be numeric:<\/p>\n<ul>\n<li>1 = restrict forward<\/li>\n<li>Anything else = use userprops.<\/li>\n<\/ul>\n<h3>X-NOREPLY<\/h3>\n<p><strong>MessageAttribute.NoReply <\/strong><\/p>\n<p>Expected to be numeric:<\/p>\n<ul>\n<li>1 = restrict forward<\/li>\n<li>Anything else = use userprops.<\/li>\n<\/ul>\n<h3>Disposition-Notification-To<\/h3>\n<p><strong>MessageAttribute.ReadConfirmation <\/strong><\/p>\n<ul>\n<li>Anything other than empty string is considered true.<\/li>\n<li>Generally this is an email address.<\/li>\n<\/ul>\n<p><strong>MessageAttribute.Xrcpt<\/strong><\/p>\n<ul>\n<li>If not empty and different than the SCSeverAccount psv setting, used for a BCC property.<\/li>\n<\/ul>\n<h3>X-MAILER<\/h3>\n<p><strong>MessageAttribute.XMailer\u00a0<\/strong><\/p>\n<ul>\n<li>Saved by the collector<\/li>\n<\/ul>\n<h3>X-MimeOLE<\/h3>\n<p><strong>MessageAttribute.XMimeOle <\/strong><\/p>\n<ul>\n<li>Not used in code<\/li>\n<\/ul>\n<h3>X-DM-RefID<\/h3>\n<p><strong>MessageAttribute.CustomID <\/strong><\/p>\n<ul>\n<li>Related to E-Forms<\/li>\n<\/ul>\n<h3>X-SENDER<\/h3>\n<p><strong>MessageAttribute.XSender<\/strong><\/p>\n<ul>\n<li>Not used in code<\/li>\n<\/ul>\n<h3>X-RULESMATCHED<\/h3>\n<p><strong>MessageAttribute.RulesMatched <\/strong><\/p>\n<ul>\n<li>Filled by Gateway rule engine<\/li>\n<\/ul>\n<h2>Trial Account Provisioning<\/h2>\n<p>The following headers pertain to trial account provisioning.<\/p>\n<div class=\"alert alert-info\"><\/div>\n<h3>X-CMRCPTTRIALLICENSE<\/h3>\n<p>MessageAttribute.CmRcptTrialLicense<\/p>\n<h3>X-CMRCPTPHONE<\/h3>\n<p>MessageAttribute.CmRcptPhone<\/p>\n<h3>X-CMRCPTLICENSES<\/h3>\n<p>MessageAttribute.CmRcptLicenses<\/p>\n<h3>X-CMRCPTFIRSTNAME<\/h3>\n<p>MessageAttribute.CmRcptFirstName<\/p>\n<h3>X-CMRCPTCOMPANYNAME<\/h3>\n<p>MessageAttribute.CmRcptCompanyName<\/p>\n<h3>X-CMRCPTLASTNAME<\/h3>\n<p>MessageAttribute.CmRcptLastName<\/p>\n<h3>X-CMRCPTEXPDAYS<\/h3>\n<p>MessageAttribute.CmRcptExpDays<\/p>\n<h3>X-CMRCPTCHECKSUM<\/h3>\n<p>MessageAttribute.CmRcptChecksum<\/p>\n<h3>X-CMRcptHashType<\/h3>\n<p>MessageAttribute.CmRcptHashType<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Headers &amp; MessageAttributes All X-Headers that are currently used by DataMotion are described in this article. Each X-Header is its own section with the corresponding MessageAttribute and information contained in the text of the section. X-COBRAND MessageAttribute.CoBrand Not used in code. X-EMAILRECEIPT MessageAttribute.EmailReceipt Expected to be numeric: MessageReceipt.DontSend = 0&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"content-type":"","footnotes":""},"ht-kb-category":[181],"ht-kb-tag":[],"class_list":["post-4811","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-datamotion-apis"],"_links":{"self":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb\/4811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4811"}],"version-history":[{"count":8,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb\/4811\/revisions"}],"predecessor-version":[{"id":7896,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb\/4811\/revisions\/7896"}],"wp:attachment":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4811"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-category&post=4811"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-tag&post=4811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}