{"id":1218,"date":"2023-01-19T10:49:36","date_gmt":"2023-01-19T10:49:36","guid":{"rendered":"https:\/\/infobip.com\/developers\/?p=1218"},"modified":"2023-09-11T14:32:07","modified_gmt":"2023-09-11T14:32:07","slug":"send-sms-over-a-query-parameter-with-infobip-api-python-sdk","status":"publish","type":"post","link":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk","title":{"rendered":"Send SMS over a query parameter with Infobip API Python SDK"},"content":{"rendered":"\n<p>Infobip SMS API includes a lot of possibilities that you, as a developer, can use. Since the area of application is vast, it&#8217;s worth taking the time to check out this practical example.<\/p>\n\n\n\n<p>If you need to send an SMS message by including everything in the query, this is a post that will get you started. For this example, we&#8217;ll use Python programming language and include some code examples that will get you started in a matter of minutes.<\/p>\n\n\n\n<p>The post is written for the beginner level which means that you can try out all of the examples just by populating them with your data.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"Prerequisites\">Prerequisites<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.infobip.com\/signup\">Infobip Account<\/a> with SMS credits<\/li>\n\n\n\n<li>Working <a href=\"https:\/\/www.python.org\/downloads\/\">Python environment<\/a><\/li>\n\n\n\n<li>Basic understanding of <a href=\"https:\/\/en.wikipedia.org\/wiki\/API\">API<\/a><\/li>\n<\/ul>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"Installing-Python-SDK\">Step 1 &#8211; Installing the Python SDK<\/h1>\n\n\n\n<p>In your IDE, install <code>infobip-api-python-sdk<\/code> by running<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>pip install infobip-api-python-sdk<\/code><\/pre><\/div>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"Starting-with-the-code\">Step 2 &#8211; Starting with the code<\/h1>\n\n\n\n<p>You&#8217;ll need the <code>http.client<\/code> and <code>json<\/code> modules, and a <code>http<\/code> client which will connect to your Base URL. <\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>import http.client\nimport json\n \nconn = http.client.HTTPSConnection(&quot;{BASE_URL}&quot;)<\/code><\/pre><\/div>\n\n\n\n<p><strong>Note:<\/strong> You can find your Base URL in your <a href=\"https:\/\/portal.infobip.com\/login\/\">Infobip Account<\/a>.<img decoding=\"async\" title=\"Base URL on Infobip account\" src=\"img\/infobip-dashboard.png\" alt=\"\"><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png\" alt=\"Infobip dashboard\" class=\"wp-image-1231\" style=\"width:768px;height:148px\" width=\"768\" height=\"148\" srcset=\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png 1024w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-300x58.png 300w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-768x148.png 768w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1536x296.png 1536w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard.png 1743w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\">Infobip dashboard<\/figcaption><\/figure>\n\n\n\n<p>or on the <a href=\"https:\/\/www.infobip.com\/docs\/api\">API Reference page<\/a> (make sure to log in!).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-api-ref-landing-1024x422.png\" alt=\"Infobip API Reference when logged in\" class=\"wp-image-1230\" style=\"width:768px;height:317px\" width=\"768\" height=\"317\" srcset=\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-api-ref-landing-1024x422.png 1024w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-api-ref-landing-300x124.png 300w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-api-ref-landing-768x316.png 768w, https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-api-ref-landing.png 1367w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\">Infobip API Reference when logged in<\/figcaption><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"Payload-example\">Step 3 &#8211; Payload Example<\/h1>\n\n\n\n<p>Payload example is written based on the <a href=\"https:\/\/www.infobip.com\/docs\/api\/channels\/sms\/sms-messaging\/outbound-sms\/send-sms-message\">send SMS message<\/a> part of our API documentation.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>payload = json.dumps({\n    &quot;messages&quot;: [\n        {\n            &quot;destinations&quot;: [\n                {\n                    &quot;to&quot;: &quot;{PHONE_NUMBER}&quot;\n                }\n            ],\n            &quot;from&quot;: &quot;{SENDER_NAME}&quot;,\n            &quot;text&quot;: &quot;{SMS_CONTENT}&quot;\n        }\n    ]\n})<\/code><\/pre><\/div>\n\n\n\n<p>In this code, just replace the placeholders.<\/p>\n\n\n\n<p>For testing, use the phone number with which you signed up (limitation of a trial account) and enter the digits in an international format (e.g., 385992735323).<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"Writing-query-GET-request\">Step 4 &#8211; Writing the Query (GET request)<\/h1>\n\n\n\n<p>Make sure to encode user credentials and special characters when <a href=\"https:\/\/www.infobip.com\/docs\/api\/channels\/sms\/sms-messaging\/outbound-sms\/send-sms-message-over-query-parameters\">sending an SMS through a query parameter<\/a>.<\/p>\n\n\n\n<p>Use a <a href=\"https:\/\/www.w3schools.com\/tags\/ref_urlencode.asp\">URL encoding reference<\/a> as a guide.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>headers = {\n    &#39;Accept&#39;: &#39;application\/json&#39;\n}\nconn.request(&quot;GET&quot;, &quot;\/sms\/1\/text\/query?username={YOUR_UNAME}&password={YOUR_PWD}!&from=InfoSMS&to={PHONE_NUMBER},{PHONE_NUMBER}&text=Message%20text&flash=true&transliteration=TURKISH&languageCode=TR&intermediateReport=true&notifyUrl=https:\/\/www.example.com&notifyContentType=application\/json&callbackData=callbackData&validityPeriod=720&track=URL&trackingType=Custom%20tracking%20type&quot;, payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(&quot;utf-8&quot;))<\/code><\/pre><\/div>\n\n\n\n<p>Again, replace the placeholders with your data.<\/p>\n\n\n\n<p>All the additional query parameters (e.g., transliteration, notify URL, etc.) are listed on the official documentation page.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"Running-the-code\">Step 5 &#8211; Running the code<\/h1>\n\n\n\n<p>After successfully running the code, observe the output:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n  &quot;bulkId&quot;: &quot;36634317509133825176&quot;,\n  &quot;messages&quot;: [\n    {\n      &quot;to&quot;: &quot;{P_NUM}&quot;,\n      &quot;status&quot;: {\n        &quot;groupId&quot;: 5,\n        &quot;groupName&quot;: &quot;PENDING&quot;,\n        &quot;id&quot;: 18,\n        &quot;name&quot;: &quot;PENDING_ACCEPTED&quot;,\n        &quot;description&quot;: &quot;Message sent to next instance&quot;\n      },\n      &quot;messageId&quot;: &quot;36634317509133825177&quot;\n    }\n  ]\n}<\/code><\/pre><\/div>\n\n\n\n<p>Note the <code>bulkId<\/code> and <code>messageId<\/code> values. These can be used to identify the whole bulk of messages or a single message for troubleshooting purposes (e.g., checking delivery reports).<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"Example-of-error-response\">Example of an error response<\/h1>\n\n\n\n<p>The example below demonstrates the output when using the wrong phone number (the trial account allows for just the one you signed up with):<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n  &quot;bulkId&quot;: &quot;36634317509133825176&quot;,\n  &quot;messages&quot;: [\n    {\n      &quot;to&quot;: &quot;41793026834&quot;,\n      &quot;status&quot;: {\n        &quot;groupId&quot;: 5,\n        &quot;groupName&quot;: &quot;REJECTED&quot;,\n        &quot;id&quot;: 18,\n        &quot;name&quot;: &quot;REJECTED_DESTINATION_NOT_REGISTERED&quot;,\n        &quot;description&quot;: &quot;Destination not registered&quot;\n      },\n      &quot;messageId&quot;: &quot;36634317509133825178&quot;,\n      &quot;smsCount&quot;: 1\n    },\n    {\n      &quot;to&quot;: &quot;41793026727&quot;,\n      &quot;status&quot;: {\n        &quot;groupId&quot;: 5,\n        &quot;groupName&quot;: &quot;REJECTED&quot;,\n        &quot;id&quot;: 18,\n        &quot;name&quot;: &quot;REJECTED_DESTINATION_NOT_REGISTERED&quot;,\n        &quot;description&quot;: &quot;Destination not registered&quot;\n      },\n      &quot;messageId&quot;: &quot;36634317509133825177&quot;,\n      &quot;smsCount&quot;: 1\n    }\n  ]\n}<\/code><\/pre><\/div>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"Conclusions\">Conclusions<\/h1>\n\n\n\n<p>After going through this post, you should now be able to send an SMS message with Infobip API using just one query.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Infobip SMS API includes a lot of possibilities that [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_import_markdown_pro_load_document_selector":13,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[28,255],"tags":[43,46,62],"coauthors":[161],"class_list":["post-1218","post","type-post","status-publish","format-standard","hentry","category-blog-post","category-infobip-products","tag-api","tag-developer-docs","tag-tutorial"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Send SMS over a query parameter with Infobip API Python 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\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Send SMS over a query parameter with Infobip API Python SDK - Infobip Developers Hub\" \/>\n<meta property=\"og:description\" content=\"Infobip SMS API includes a lot of possibilities that [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-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=\"2023-01-19T10:49:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-11T14:32:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png\" \/>\n<meta name=\"author\" content=\"Zvonimir Petkovic\" \/>\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=\"Zvonimir Petkovic\" \/>\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\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk\"},\"author\":{\"name\":\"Zvonimir Petkovic\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/de403c20aa0011eb60711f4989789dcb\"},\"headline\":\"Send SMS over a query parameter with Infobip API Python SDK\",\"datePublished\":\"2023-01-19T10:49:36+00:00\",\"dateModified\":\"2023-09-11T14:32:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk\"},\"wordCount\":393,\"publisher\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#primaryimage\"},\"thumbnailUrl\":\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png\",\"keywords\":[\"API\",\"developer docs\",\"tutorial\"],\"articleSection\":[\"Blog Post\",\"Infobip Products\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk\",\"url\":\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk\",\"name\":\"Send SMS over a query parameter with Infobip API Python SDK - Infobip Developers Hub\",\"isPartOf\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#primaryimage\"},\"thumbnailUrl\":\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png\",\"datePublished\":\"2023-01-19T10:49:36+00:00\",\"dateModified\":\"2023-09-11T14:32:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#primaryimage\",\"url\":\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png\",\"contentUrl\":\"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.infobip.com\/developers\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send SMS over a query parameter with Infobip API Python 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\/de403c20aa0011eb60711f4989789dcb\",\"name\":\"Zvonimir Petkovic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/image\/f625751c84eafed1af000cbf6120ed6a\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/52e9d33032af9327b86acb236dd1ef44ef90ce09269f831f5ac4f53c00605c25?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/52e9d33032af9327b86acb236dd1ef44ef90ce09269f831f5ac4f53c00605c25?s=96&d=mm&r=g\",\"caption\":\"Zvonimir Petkovic\"},\"description\":\"Zvonimir is a Senior Software Engineer at Infobip, focused on building apps around GenAI technology and enabling others to do the same in the most efficient way possible.\",\"url\":\"https:\/\/www.infobip.com\/developers\/blog\/author\/zvonimir-petkovic\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Send SMS over a query parameter with Infobip API Python 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\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk","og_locale":"en_US","og_type":"article","og_title":"Send SMS over a query parameter with Infobip API Python SDK - Infobip Developers Hub","og_description":"Infobip SMS API includes a lot of possibilities that [&hellip;]","og_url":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk","og_site_name":"Infobip Developers Hub","article_publisher":"https:\/\/www.facebook.com\/infobip\/","article_published_time":"2023-01-19T10:49:36+00:00","article_modified_time":"2023-09-11T14:32:07+00:00","og_image":[{"url":"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png","type":"","width":"","height":""}],"author":"Zvonimir Petkovic","twitter_card":"summary_large_image","twitter_creator":"@InfobipDev","twitter_site":"@InfobipDev","twitter_misc":{"Written by":"Zvonimir Petkovic","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#article","isPartOf":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk"},"author":{"name":"Zvonimir Petkovic","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/de403c20aa0011eb60711f4989789dcb"},"headline":"Send SMS over a query parameter with Infobip API Python SDK","datePublished":"2023-01-19T10:49:36+00:00","dateModified":"2023-09-11T14:32:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk"},"wordCount":393,"publisher":{"@id":"https:\/\/www.infobip.com\/developers\/#organization"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#primaryimage"},"thumbnailUrl":"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png","keywords":["API","developer docs","tutorial"],"articleSection":["Blog Post","Infobip Products"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk","url":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk","name":"Send SMS over a query parameter with Infobip API Python SDK - Infobip Developers Hub","isPartOf":{"@id":"https:\/\/www.infobip.com\/developers\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#primaryimage"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#primaryimage"},"thumbnailUrl":"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png","datePublished":"2023-01-19T10:49:36+00:00","dateModified":"2023-09-11T14:32:07+00:00","breadcrumb":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#primaryimage","url":"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png","contentUrl":"https:\/\/infobip.com\/developers\/wp-content\/uploads\/2023\/01\/infobip-dashboard-1024x197.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.infobip.com\/developers\/blog\/send-sms-over-a-query-parameter-with-infobip-api-python-sdk#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.infobip.com\/developers\/"},{"@type":"ListItem","position":2,"name":"Send SMS over a query parameter with Infobip API Python 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\/de403c20aa0011eb60711f4989789dcb","name":"Zvonimir Petkovic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/image\/f625751c84eafed1af000cbf6120ed6a","url":"https:\/\/secure.gravatar.com\/avatar\/52e9d33032af9327b86acb236dd1ef44ef90ce09269f831f5ac4f53c00605c25?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/52e9d33032af9327b86acb236dd1ef44ef90ce09269f831f5ac4f53c00605c25?s=96&d=mm&r=g","caption":"Zvonimir Petkovic"},"description":"Zvonimir is a Senior Software Engineer at Infobip, focused on building apps around GenAI technology and enabling others to do the same in the most efficient way possible.","url":"https:\/\/www.infobip.com\/developers\/blog\/author\/zvonimir-petkovic"}]}},"_links":{"self":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/1218","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\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/comments?post=1218"}],"version-history":[{"count":13,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/1218\/revisions"}],"predecessor-version":[{"id":2526,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/1218\/revisions\/2526"}],"wp:attachment":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/media?parent=1218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/categories?post=1218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/tags?post=1218"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/coauthors?post=1218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}