{"id":3948,"date":"2024-11-18T10:17:29","date_gmt":"2024-11-18T10:17:29","guid":{"rendered":"http:\/\/34.88.191.99\/?page_id=3948"},"modified":"2025-04-07T14:00:22","modified_gmt":"2025-04-07T14:00:22","slug":"receive-delivery-reports-by-e-mail","status":"publish","type":"page","link":"https:\/\/ip1sms.com\/en\/developer\/receive-delivery-reports-by-e-mail\/","title":{"rendered":"Receive delivery reports by email"},"content":{"rendered":"<h1 class=\"wp-block-heading\" id=\"receiving-delivery-reports\">Receive delivery reports<\/h1>\n\n\n\n<p>If a delivery report URL has been specified when a batch is created, status update reports will be sent to that URL as soon as they are available. The contents of these reports are described below.<\/p>\n\n\n\n<p>Our system sends the report using\u00a0<em>POST\u00a0<\/em>and expects a\u00a0<em>200 OK<\/em>\u00a0in response if the report was received correctly. If any response consists of a different status (for example an error status), a new attempt will be made at a later time. These retries are repeated at 10 minute intervals until one\u00a0<em>200 OK\u00a0<\/em>has been received, up to 10 times. Once these 10 attempts have passed without a successful status, the report will be deleted.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"report-payload\">Report payload<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{ &quot;messageId&quot;: &quot;5c613848879973045cf39ac4&quot;, &quot;emailId&quot;: &quot;5c613848879973045cf39ac3&quot;, &quot;recipientName&quot;: &quot;Head Office&quot;, &quot;recipientAddress&quot;: &quot;info@othercorp.com&quot;, &quot;code&quot;: 102, &quot;duration&quot;: 0, &quot;created&quot;: &quot;ISO-8601 string&quot;, &quot;reference&quot;: &quot;A client reference&quot; }\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"messageid\">messageId<\/h3>\n\n\n\n<p>A unique ID for the specific message.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"emailid\">emailId<\/h3>\n\n\n\n<p>An ID for all the messages sent in the same request as this message.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"recipientname\">recipientName<\/h3>\n\n\n\n<p>The name associated with the recipient&#039;s email address<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"recipientaddress\">recipientAddress<\/h3>\n\n\n\n<p>The recipient&#039;s email address.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"code\">code<\/h3>\n\n\n\n<p>The new status code for the message. For more information about our status codes, see the Status Codes section.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"duration\">duration<\/h3>\n\n\n\n<p>Whether the status is permanent\/final. If it is, then this is the last report that will be sent about this message.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"created\">created<\/h3>\n\n\n\n<p>When the status update occured (i. e. when the report was generated).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"reference\">reference<\/h3>\n\n\n\n<p>This is a property that allows the user to set a custom ID or credential if storing the default generated IDs is deprecated.<\/p>","protected":false},"excerpt":{"rendered":"<p>Ta emot leveransrapporter Om en URL f\u00f6r leveransrapporter har angets n\u00e4r en batch skapas, kommer rapporter \u00f6ver statusuppdateringar att skickas till den URL s\u00e5 fort de finns tillg\u00e4ngliga. Inneh\u00e5llet i dessa rapporter \u00e4r beskrivna nedan. Systemet skickar ut rapporter genom metoden\u00a0POST\u00a0och f\u00f6rv\u00e4ntar sig ett\u00a0200 OK\u00a0i respons om rapporten tagits emot korrekt. Om n\u00e5gon respons best\u00e5r [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":382,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"developer-email.php","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3948","page","type-page","status-publish","hentry","category-api-dokumention"],"_links":{"self":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages\/3948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/comments?post=3948"}],"version-history":[{"count":0,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages\/3948\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages\/382"}],"wp:attachment":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/media?parent=3948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/categories?post=3948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/tags?post=3948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}