{"id":98,"date":"2022-09-17T11:08:50","date_gmt":"2022-09-17T11:08:50","guid":{"rendered":"https:\/\/infobip.com\/developers\/?p=98"},"modified":"2023-09-11T14:35:08","modified_gmt":"2023-09-11T14:35:08","slug":"how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks","status":"publish","type":"post","link":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks","title":{"rendered":"How to get SMS delivery reports with Go Infobip SDK and hooks"},"content":{"rendered":"\n<img decoding=\"async\" src=\"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk\" alt=\"go\">\n\n\n\n<p>When you send an SMS, you can get notified of its delivery. This guide will show you how to send an SMS so that you get a delivery notification using the <a href=\"https:\/\/github.com\/infobip-community\/infobip-api-go-sdk\">Infobip Go SDK<\/a>, and a web-based hook tool.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Basic Go and API knowledge<\/li>\n\n\n\n<li>Go 13 (or newer) <a href=\"https:\/\/go.dev\/doc\/install\">installation<\/a><\/li>\n\n\n\n<li>A running Go project<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Steps overview<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Set up a HookRelay account.<\/li>\n\n\n\n<li>Set up a hook for delivery reports.<\/li>\n\n\n\n<li>Send a message.<\/li>\n\n\n\n<li>Check for delivery notifications.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Setup a HookRelay account<\/h2>\n\n\n\n<p>Normally, you would have set up a server that listens to the SMS delivery notifications, but for this guide, we&#8217;ll show you how to see delivery notifications in a web-based hook service.<\/p>\n\n\n\n<p>For this, you need a <a href=\"https:\/\/www.hookrelay.dev\/\">HookRelay<\/a> account. You can log in with a GitHub or GitLab account. Just click on the <strong>&#8220;Start for free&#8221;<\/strong> button and use your Git login as normal.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setup a hook for delivery reports<\/h2>\n\n\n\n<p>Once you log in, you&#8217;ll see a dashboard like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hooks-dashboard.png\" alt=\"Hooks Dashboard\" class=\"wp-image-124\" style=\"width:762px;height:126px\" width=\"762\" height=\"126\" srcset=\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hooks-dashboard.png 3049w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hooks-dashboard-300x49.png 300w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hooks-dashboard-1024x169.png 1024w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hooks-dashboard-768x127.png 768w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hooks-dashboard-1536x253.png 1536w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hooks-dashboard-2048x338.png 2048w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hooks-dashboard-1568x259.png 1568w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><\/figure>\n\n\n\n<p>Click on the <strong>&#8220;New hook&#8221;<\/strong> button, and set a name like &#8220;Infobip SMS Delivery Reports&#8221;. The hook should be Inbound, and you don&#8217;t need to set anything else in the configuration. Just click on <strong>&#8220;Create hook&#8221;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2022\/09\/create-hook-1024x582.png\" alt=\"Create Hook\" class=\"wp-image-125\" style=\"width:768px;height:437px\" width=\"768\" height=\"437\" srcset=\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/create-hook-1024x582.png 1024w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/create-hook-300x170.png 300w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/create-hook-768x436.png 768w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/create-hook-1536x873.png 1536w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/create-hook-2048x1164.png 2048w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/create-hook-1568x891.png 1568w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>After that, you&#8217;ll be able to click on your new hook, and see something like this:<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-1024x327.png\" alt=\"Hook\" class=\"wp-image-126\" style=\"width:768px;height:245px\" width=\"768\" height=\"245\" srcset=\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-1024x327.png 1024w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-300x96.png 300w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-768x245.png 768w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-1536x491.png 1536w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-2048x654.png 2048w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-1568x501.png 1568w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>Copy the URL it shows into your clipboard.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Send a message<\/h2>\n\n\n\n<p>Now, you need to send a message in the same way as in the <a href=\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk\">Send SMS Guide<\/a>, only this time set the <code>NotifyURL<\/code> field in the <code>SMSMsg<\/code> instance with the URL you copied from the hook. Like this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>msg := models.SMSMsg{\n  Destinations: []models.SMSDestination{\n    {To: &quot;523322600428&quot;},\n  },\n  From:      &quot;Cool Gopher&quot;,\n  Text:      &quot;Hello from Infobip Go SDK!&quot;,\n  NotifyURL: &quot;https:\/\/api.hookrelay.dev\/hooks\/rewk0zy698q0h6w9x4qgjm73\/7f634d2cb9881bc547e25adc&quot;,\n}<\/code><\/pre><\/div>\n\n\n\n<p>And proceed to send your message.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Check for delivery notifications<\/h2>\n\n\n\n<p>Once you&#8217;ve sent your message, barring any traffic delays, you&#8217;ll be able to see that your hook has a new notification in the <strong>&#8220;Deliveries&#8221;<\/strong> section of the hook. Click on the <strong>&#8220;refresh&#8221;<\/strong> blue text and you&#8217;ll see some activity in your hook.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-deliveries-1024x263.png\" alt=\"Hook Deliveries\" class=\"wp-image-127\" style=\"width:768px;height:197px\" width=\"768\" height=\"197\" srcset=\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-deliveries-1024x263.png 1024w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-deliveries-300x77.png 300w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-deliveries-768x198.png 768w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-deliveries-1536x395.png 1536w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-deliveries-2048x527.png 2048w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/hook-deliveries-1568x403.png 1568w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>After that, you can click on the event ID and you&#8217;ll see the details of the message that was delivered:<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2022\/09\/sms-delivery-report.png\" alt=\"Delivery Report\" class=\"wp-image-128\" style=\"width:760px;height:339px\" width=\"760\" height=\"339\" srcset=\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/sms-delivery-report.png 3041w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/sms-delivery-report-300x134.png 300w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/sms-delivery-report-1024x457.png 1024w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/sms-delivery-report-768x342.png 768w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/sms-delivery-report-1536x685.png 1536w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/sms-delivery-report-2048x913.png 2048w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2022\/09\/sms-delivery-report-1568x699.png 1568w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/figure>\n\n\n\n<p>You should see all kinds of information about the message, and a status containing the <code>DELIVERED_TO_HANDSET<\/code> value.<br>You can check the <a href=\"https:\/\/www.infobip.com\/docs\/essentials\/response-status-and-error-codes\" target=\"_blank\" rel=\"noreferrer noopener\">response and status reference<\/a> for more information.<\/p>\n\n\n\n<p>And that&#8217;s all for this guide.<\/p>\n\n\n\n<p>Thanks for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you send an SMS, you can get notified [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[14,12,255,264],"tags":[46,76],"coauthors":[156],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-go","category-guide","category-infobip-products","category-sms","tag-developer-docs","tag-sdk"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Get SMS Delivery Reports with Go Infobip SDK and Hooks | Infobip Developers Hub<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get SMS Delivery Reports with Go Infobip SDK and Hooks | Infobip Developers Hub\" \/>\n<meta property=\"og:description\" content=\"When you send an SMS, you can get notified [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks\" \/>\n<meta property=\"og:site_name\" content=\"Infobip Developers Hub\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/infobip\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-17T11:08:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-11T14:35:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk\" \/>\n<meta name=\"author\" content=\"Erick Corona\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InfobipDev\" \/>\n<meta name=\"twitter:site\" content=\"@InfobipDev\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Erick Corona\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks\"},\"author\":{\"name\":\"Erick Corona\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/9e52e4d22fb53cc9a87adc54825c5e5c\"},\"headline\":\"How to get SMS delivery reports with Go Infobip SDK and hooks\",\"datePublished\":\"2022-09-17T11:08:50+00:00\",\"dateModified\":\"2023-09-11T14:35:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks\"},\"wordCount\":377,\"publisher\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#primaryimage\"},\"thumbnailUrl\":\"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk\",\"keywords\":[\"developer docs\",\"SDK\"],\"articleSection\":[\"Go\",\"Guide\",\"Infobip Products\",\"SMS\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks\",\"url\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks\",\"name\":\"Get SMS Delivery Reports with Go Infobip SDK and Hooks | Infobip Developers Hub\",\"isPartOf\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#primaryimage\"},\"thumbnailUrl\":\"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk\",\"datePublished\":\"2022-09-17T11:08:50+00:00\",\"dateModified\":\"2023-09-11T14:35:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#primaryimage\",\"url\":\"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk\",\"contentUrl\":\"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.infobip.com\/developers\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to get SMS delivery reports with Go Infobip SDK and hooks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#website\",\"url\":\"https:\/\/www.infobip.com\/developers\/\",\"name\":\"Infobip Developers Hub\",\"description\":\"Build meaningful customer relationships across any channel\",\"publisher\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.infobip.com\/developers\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#organization\",\"name\":\"Infobip Developers Hub\",\"url\":\"https:\/\/www.infobip.com\/developers\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/03\/Infobip_logo_favicon.png\",\"contentUrl\":\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/03\/Infobip_logo_favicon.png\",\"width\":696,\"height\":696,\"caption\":\"Infobip Developers Hub\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/infobip\/\",\"https:\/\/x.com\/InfobipDev\",\"https:\/\/www.youtube.com\/channel\/UCUPSTy53VecI5GIir3J3ZbQ\",\"https:\/\/github.com\/infobip-community\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/9e52e4d22fb53cc9a87adc54825c5e5c\",\"name\":\"Erick Corona\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/image\/1d096b53aac31da0002a2066ab28c0f1\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c59cdedbf2c066d0ebbb15c5b1da56b1c5b5e7c49e3c4aaf7410dd1462a7b74c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c59cdedbf2c066d0ebbb15c5b1da56b1c5b5e7c49e3c4aaf7410dd1462a7b74c?s=96&d=mm&r=g\",\"caption\":\"Erick Corona\"},\"description\":\"Erick has been in the software industry for more than 10 years. Currently, he works as a Developer Experience Engineer at Infobip. He's interested in software development, writing, and racing car simulators in his free time.\",\"url\":\"https:\/\/www.infobip.com\/developers\/blog\/author\/erick\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Get SMS Delivery Reports with Go Infobip SDK and Hooks | Infobip Developers Hub","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks","og_locale":"en_US","og_type":"article","og_title":"Get SMS Delivery Reports with Go Infobip SDK and Hooks | Infobip Developers Hub","og_description":"When you send an SMS, you can get notified [&hellip;]","og_url":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks","og_site_name":"Infobip Developers Hub","article_publisher":"https:\/\/www.facebook.com\/infobip\/","article_published_time":"2022-09-17T11:08:50+00:00","article_modified_time":"2023-09-11T14:35:08+00:00","og_image":[{"url":"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk","type":"","width":"","height":""}],"author":"Erick Corona","twitter_card":"summary_large_image","twitter_creator":"@InfobipDev","twitter_site":"@InfobipDev","twitter_misc":{"Written by":"Erick Corona","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#article","isPartOf":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks"},"author":{"name":"Erick Corona","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/9e52e4d22fb53cc9a87adc54825c5e5c"},"headline":"How to get SMS delivery reports with Go Infobip SDK and hooks","datePublished":"2022-09-17T11:08:50+00:00","dateModified":"2023-09-11T14:35:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks"},"wordCount":377,"publisher":{"@id":"https:\/\/www.infobip.com\/developers\/#organization"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#primaryimage"},"thumbnailUrl":"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk","keywords":["developer docs","SDK"],"articleSection":["Go","Guide","Infobip Products","SMS"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks","url":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks","name":"Get SMS Delivery Reports with Go Infobip SDK and Hooks | Infobip Developers Hub","isPartOf":{"@id":"https:\/\/www.infobip.com\/developers\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#primaryimage"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#primaryimage"},"thumbnailUrl":"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk","datePublished":"2022-09-17T11:08:50+00:00","dateModified":"2023-09-11T14:35:08+00:00","breadcrumb":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#primaryimage","url":"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk","contentUrl":"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk"},{"@type":"BreadcrumbList","@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-get-sms-delivery-reports-with-go-infobip-sdk-and-hooks#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.infobip.com\/developers\/"},{"@type":"ListItem","position":2,"name":"How to get SMS delivery reports with Go Infobip SDK and hooks"}]},{"@type":"WebSite","@id":"https:\/\/www.infobip.com\/developers\/#website","url":"https:\/\/www.infobip.com\/developers\/","name":"Infobip Developers Hub","description":"Build meaningful customer relationships across any channel","publisher":{"@id":"https:\/\/www.infobip.com\/developers\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.infobip.com\/developers\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.infobip.com\/developers\/#organization","name":"Infobip Developers Hub","url":"https:\/\/www.infobip.com\/developers\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/logo\/image\/","url":"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/03\/Infobip_logo_favicon.png","contentUrl":"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/03\/Infobip_logo_favicon.png","width":696,"height":696,"caption":"Infobip Developers Hub"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/infobip\/","https:\/\/x.com\/InfobipDev","https:\/\/www.youtube.com\/channel\/UCUPSTy53VecI5GIir3J3ZbQ","https:\/\/github.com\/infobip-community"]},{"@type":"Person","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/9e52e4d22fb53cc9a87adc54825c5e5c","name":"Erick Corona","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/image\/1d096b53aac31da0002a2066ab28c0f1","url":"https:\/\/secure.gravatar.com\/avatar\/c59cdedbf2c066d0ebbb15c5b1da56b1c5b5e7c49e3c4aaf7410dd1462a7b74c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c59cdedbf2c066d0ebbb15c5b1da56b1c5b5e7c49e3c4aaf7410dd1462a7b74c?s=96&d=mm&r=g","caption":"Erick Corona"},"description":"Erick has been in the software industry for more than 10 years. Currently, he works as a Developer Experience Engineer at Infobip. He's interested in software development, writing, and racing car simulators in his free time.","url":"https:\/\/www.infobip.com\/developers\/blog\/author\/erick"}]}},"_links":{"self":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":12,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":2545,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/98\/revisions\/2545"}],"wp:attachment":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/tags?post=98"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/coauthors?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}