{"id":133,"date":"2022-09-17T14:51:49","date_gmt":"2022-09-17T14:51:49","guid":{"rendered":"https:\/\/infobip.com\/developers\/?p=133"},"modified":"2024-01-09T01:32:57","modified_gmt":"2024-01-09T01:32:57","slug":"how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk","status":"publish","type":"post","link":"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk","title":{"rendered":"How to schedule and manage scheduled SMS with Go Infobip SDK"},"content":{"rendered":"\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk\" alt=\"\" width=\"66\" height=\"20\">\n\n\n\n<p>This guide will show you how to schedule messages to be sent at a specific time, how to manage them, and how to change the sending time and status through the <a href=\"https:\/\/github.com\/infobip-community\/infobip-api-go-sdk\" target=\"_blank\" rel=\"noreferrer noopener\">Infobip Go SDK.<\/a> For detailed information on the full capabilities of the Infobip SMS channel, check the <a href=\"https:\/\/www.infobip.com\/docs\/api#channels\/sms\" target=\"_blank\" rel=\"noreferrer noopener\">API Reference.<\/a><\/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\" target=\"_blank\" rel=\"noreferrer noopener\">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>Install the Infobip SDK.<\/li>\n\n\n\n<li>Import the required packages.<\/li>\n\n\n\n<li>Create an Infobip client.<\/li>\n\n\n\n<li>Schedule some messages.<\/li>\n\n\n\n<li>See your scheduled messages.<\/li>\n\n\n\n<li>Change the sending time.<\/li>\n\n\n\n<li>See the status of your scheduled messages.<\/li>\n\n\n\n<li>Change the status of your scheduled messages.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Install the Infobip SDK<\/h2>\n\n\n\n<p>The SDK can be retrieved as a normal Go library, using the <code>go get<\/code> command as follows:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>go get &quot;github.com\/infobip-community\/infobip-api-go-sdk\/v3&quot;<\/code><\/pre><\/div>\n\n\n\n<p>Note: the string <code>v3<\/code> part of the import may be updated if there is a new release of the library. Newer versions will use the latest Infobip technology and general enhancements to the developer experience! Check for newer versions on our <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/infobip-community\/infobip-api-go-sdk\/releases\" target=\"_blank\">GitHub Releases page.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Import the required packages<\/h2>\n\n\n\n<p>You&#8217;ll need the Infobip client and models imported into your source code:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>import (\n    \/\/..\n    &quot;github.com\/infobip-community\/infobip-api-go-sdk\/v3\/pkg\/infobip&quot;\n    &quot;github.com\/infobip-community\/infobip-api-go-sdk\/v3\/pkg\/infobip\/models&quot;\n)<\/code><\/pre><\/div>\n\n\n\n<p>Note: The <code>v3<\/code> may have changed to a newer version if you updated the library.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Create an Infobip client<\/h2>\n\n\n\n<p>To create the main client, you need to specify your API key, and custom base URL.<br>You can get them by logging into your <a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">I<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">n<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">f<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">o<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">b<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">i<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">p<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\"> <\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">a<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">c<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">c<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">o<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">u<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">n<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">t<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/portal.infobip.com\/\" target=\"_blank\">.<\/a><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>\/\/ Secrets configuration\nbaseURL := &quot;your base URL here&quot;\napiKey := &quot;your api key here&quot;\n\n\/\/ Initialize Infobip client\nclient, _ := infobip.NewClient(baseURL, apiKey)<\/code><\/pre><\/div>\n\n\n\n<p>The next steps can use the same client instance or create a new one. They could even be separate programs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Schedule some messages<\/h2>\n\n\n\n<p>Scheduling messages is very similar to sending a simple SMS. To schedule messages, you need to create bulk. To do that, specify a <code>BulkID<\/code> in the <code>SendSMSRequest<\/code> instance, so you can later check the status of the messages, and make changes (the bulk ID is just a unique string that you can use to refer to your set of messages). Also, specify a <code>SendAt<\/code> attribute in one of the <code>SMSMsg<\/code> instances. This is how you do all 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;523311800428&quot;},\n  },\n  From:   &quot;Cool Gopher&quot;,\n  Text:   &quot;Hello from Infobip Go SDK!&quot;,\n  SendAt: &quot;2022-07-01T16:00:00.000+0000&quot;,\n}\n\nmsg2 := models.SMSMsg{\n  Destinations: []models.SMSDestination{\n    {To: &quot;523311800428&quot;},\n  },\n  From: &quot;Cool Gopher&quot;,\n  Text: &quot;Hello again from Infobip Go SDK!&quot;,\n}\n\nreq := models.SendSMSRequest{\n  BulkID:   &quot;my-bulk-id-1325753&quot;,\n  Messages: []models.SMSMsg{msg, msg2},\n}<\/code><\/pre><\/div>\n\n\n\n<p>After that, send the messages as when sending a single SMS:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>resp, respDetails, _ := client.SMS.Send(context.Background(), req)<\/code><\/pre><\/div>\n\n\n\n<p>Note that messages can only be scheduled six months in advance. Now, let&#8217;s see the scheduled messages.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">See your scheduled messages<\/h2>\n\n\n\n<p>To see your scheduled messages, use your bulk ID as a query parameter and call the <code>GetScheduledMessages<\/code> function.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>queryParams := models.GetScheduledSMSParams{\n  BulkID: &quot;my-bulk-id-1325753&quot;,\n}\n\nresp, respDetails, _ := client.SMS.GetScheduledMessages(context.Background(), queryParams)<\/code><\/pre><\/div>\n\n\n\n<p>After that, you can print the response and status code to see the details:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>fmt.Printf(&quot;Scheduled Messages: %+vn&quot;, resp)\nfmt.Printf(&quot;HTTP response: %sn&quot;, respDetails.HTTPResponse.Status)<\/code><\/pre><\/div>\n\n\n\n<p>You should see something like this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>Scheduled Messages: {BulkID:my-bulk-id-1325753 SendAt:2022-07-01T16:00:00.000+0000}\nHTTP response: 200 OK<\/code><\/pre><\/div>\n\n\n\n<p>Now, let&#8217;s try changing the <code>SendAt<\/code> time for our bulk.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Change the sending time<\/h2>\n\n\n\n<p>To change the time for sending the bulk, you need to create a request with the new time and use query parameters to specify the bulk ID. We will change the date time to the next day, and an hour earlier. Here are the parameters and the request:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>queryParams := models.RescheduleSMSParams{\n  BulkID: &quot;my-bulk-id-1325753&quot;,\n}\n\nreq := models.RescheduleSMSRequest{\n  SendAt: &quot;2022-07-02T15:00:00.000+0000&quot;,\n}<\/code><\/pre><\/div>\n\n\n\n<p>And then call the <code>RescheduleMessages<\/code> function:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>resp, respDetails, _ := client.SMS.RescheduleMessages(context.Background(), req, queryParams)<\/code><\/pre><\/div>\n\n\n\n<p>After that, you can print the response and details like this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>fmt.Printf(&quot;Rescheduled Messages: %+vn&quot;, resp)\nfmt.Printf(&quot;HTTP response: %sn&quot;, respDetails.HTTPResponse.Status)<\/code><\/pre><\/div>\n\n\n\n<p>And you should see the new <code>SendAt<\/code> time for the bulk:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>Rescheduled Messages: {BulkID:my-bulk-id-1325753 SendAt:2022-07-02T15:00:00.000+0000}\nHTTP response: 200 OK<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">See the status of your scheduled messages<\/h2>\n\n\n\n<p>You can check the status of your bulk of scheduled messages by calling the <code>GetScheduledMessagesStatus<\/code> function. Use query parameters to filter your bulk like this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>queryParams := models.GetScheduledSMSStatusParams{\n  BulkID: &quot;my-bulk-id-1325753&quot;,\n}<\/code><\/pre><\/div>\n\n\n\n<p>Then call the function like this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>resp, respDetails, _ := client.SMS.GetScheduledMessagesStatus(context.Background(), queryParams)<\/code><\/pre><\/div>\n\n\n\n<p>Then you can print the response and details like this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>fmt.Printf(&quot;Scheduled Messages Status: %+vn&quot;, resp)\nfmt.Printf(&quot;HTTP response: %sn&quot;, respDetails.HTTPResponse.Status)<\/code><\/pre><\/div>\n\n\n\n<p>And you should get a status like this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>Scheduled Messages Status: {BulkID:my-bulk-id-1325753 Status:PENDING}\nHTTP response: 200 OK<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Change the status of your scheduled messages<\/h2>\n\n\n\n<p>You can also change the status of your bulk to, for example, cancel sending a bulk. To do that, you need to create a request with the new status and use query parameters to filter your bulk. Create the parameters and request like this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>queryParams := models.UpdateScheduledSMSStatusParams{\n  BulkID: &quot;my-bulk-id-1325753&quot;,\n}\n\nreq := models.UpdateScheduledSMSStatusRequest{\n  Status: &quot;CANCELED&quot;,\n}<\/code><\/pre><\/div>\n\n\n\n<p>And then call the UpdateScheduledMessagesStatus function like this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>resp, respDetails, _ := client.SMS.UpdateScheduledMessagesStatus(context.Background(), req, queryParams)<\/code><\/pre><\/div>\n\n\n\n<p>Then you can print the response and details like this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>fmt.Printf(&quot;Scheduled Messages Status: %+vn&quot;, resp)\nfmt.Printf(&quot;HTTP response: %sn&quot;, respDetails.HTTPResponse.Status)<\/code><\/pre><\/div>\n\n\n\n<p>And you should see the <code>CANCELED<\/code> status:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-go\" data-lang=\"Go\"><code>Scheduled Messages Status: {BulkID:my-bulk-id-1325753 Status:CANCELED}\nHTTP response: 200 OK<\/code><\/pre><\/div>\n\n\n\n<p>And that&#8217;s it!<\/p>\n\n\n\n<p>Thanks for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide will show you how to schedule messages [&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-133","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>How to schedule and manage scheduled SMS with Go Infobip SDK - 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-schedule-and-manage-scheduled-sms-with-go-infobip-sdk\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to schedule and manage scheduled SMS with Go Infobip SDK - Infobip Developers Hub\" \/>\n<meta property=\"og:description\" content=\"This guide will show you how to schedule messages [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk\" \/>\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-17T14:51:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-09T01:32:57+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-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk\"},\"author\":{\"name\":\"Erick Corona\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/9e52e4d22fb53cc9a87adc54825c5e5c\"},\"headline\":\"How to schedule and manage scheduled SMS with Go Infobip SDK\",\"datePublished\":\"2022-09-17T14:51:49+00:00\",\"dateModified\":\"2024-01-09T01:32:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk\"},\"wordCount\":637,\"publisher\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#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-schedule-and-manage-scheduled-sms-with-go-infobip-sdk\",\"url\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk\",\"name\":\"How to schedule and manage scheduled SMS with Go Infobip SDK - Infobip Developers Hub\",\"isPartOf\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#primaryimage\"},\"thumbnailUrl\":\"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk\",\"datePublished\":\"2022-09-17T14:51:49+00:00\",\"dateModified\":\"2024-01-09T01:32:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#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-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.infobip.com\/developers\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to schedule and manage scheduled SMS with Go Infobip SDK\"}]},{\"@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":"How to schedule and manage scheduled SMS with Go Infobip SDK - 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-schedule-and-manage-scheduled-sms-with-go-infobip-sdk","og_locale":"en_US","og_type":"article","og_title":"How to schedule and manage scheduled SMS with Go Infobip SDK - Infobip Developers Hub","og_description":"This guide will show you how to schedule messages [&hellip;]","og_url":"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk","og_site_name":"Infobip Developers Hub","article_publisher":"https:\/\/www.facebook.com\/infobip\/","article_published_time":"2022-09-17T14:51:49+00:00","article_modified_time":"2024-01-09T01:32:57+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-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#article","isPartOf":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk"},"author":{"name":"Erick Corona","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/9e52e4d22fb53cc9a87adc54825c5e5c"},"headline":"How to schedule and manage scheduled SMS with Go Infobip SDK","datePublished":"2022-09-17T14:51:49+00:00","dateModified":"2024-01-09T01:32:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk"},"wordCount":637,"publisher":{"@id":"https:\/\/www.infobip.com\/developers\/#organization"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#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-schedule-and-manage-scheduled-sms-with-go-infobip-sdk","url":"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk","name":"How to schedule and manage scheduled SMS with Go Infobip SDK - Infobip Developers Hub","isPartOf":{"@id":"https:\/\/www.infobip.com\/developers\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#primaryimage"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#primaryimage"},"thumbnailUrl":"https:\/\/img.shields.io\/github\/go-mod\/go-version\/infobip-community\/infobip-api-go-sdk","datePublished":"2022-09-17T14:51:49+00:00","dateModified":"2024-01-09T01:32:57+00:00","breadcrumb":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#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-schedule-and-manage-scheduled-sms-with-go-infobip-sdk#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.infobip.com\/developers\/"},{"@type":"ListItem","position":2,"name":"How to schedule and manage scheduled SMS with Go Infobip SDK"}]},{"@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\/133","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=133"}],"version-history":[{"count":12,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/133\/revisions"}],"predecessor-version":[{"id":2949,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/133\/revisions\/2949"}],"wp:attachment":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/media?parent=133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/categories?post=133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/tags?post=133"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/coauthors?post=133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}