{"id":117,"date":"2022-09-17T10:54:32","date_gmt":"2022-09-17T10:54:32","guid":{"rendered":"https:\/\/infobip.com\/developers\/?p=117"},"modified":"2023-09-11T14:35:18","modified_gmt":"2023-09-11T14:35:18","slug":"how-to-send-sms-with-php-and-infobip","status":"publish","type":"post","link":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip","title":{"rendered":"How to send SMS with PHP and Infobip"},"content":{"rendered":"\n<img decoding=\"async\" src=\"https:\/\/img.shields.io\/badge\/php-%3E%3D7.2-blue\" alt=\"php\">\n\n\n\n<p>As an outcome of this guide, you will send a simple text message to your handset using Infobip SMS API and PHP.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>\u2022 <a href=\"https:\/\/www.infobip.com\/signup\" target=\"_blank\" rel=\"noopener\">Infobip account<\/a><\/p>\n\n\n\n<p>\u2022 PHP, version 7.2 or greater<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Difficulty level<\/h2>\n\n\n\n<p>This guide assumes very basic knowledge of PHP and basic familiarity with APIs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Summary of the steps<\/h2>\n\n\n\n<p>\u2022 Add Infobip API PHP Client to your project.<br>\u2022 Set up an InfobipConfiguration class and add authentication details.<br>\u2022 Create a SendSMSAPI class and provide details needed to send an SMS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add Infobip API PHP Client to your project<\/h2>\n\n\n\n<p>To use the <a href=\"https:\/\/github.com\/infobip\/infobip-api-php-client\" target=\"_blank\" rel=\"noopener\">Infobip API PHP Client<\/a> in your PHP project, you&#8217;ll need to add it to your project <code>composer.json<\/code> file, either directly or with this convenient command-line shortcut.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>composer require infobip\/infobip-api-php-client<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Create an InfobipConfiguration instance<\/h2>\n\n\n\n<p>You&#8217;ll use the instance to input your credentials and authenticate Infobip SMS API. Before running the code, don&#8217;t forget to replace the placeholders we set in the example below with your account values. You can find your API Key and API Base URL in your <a href=\"https:\/\/portal.infobip.com\/homepage\/\" target=\"_blank\" rel=\"noopener\">Infobip account<\/a> or on the <a href=\"https:\/\/www.infobip.com\/docs\/api\" target=\"_blank\" rel=\"noopener\">Infobip API landing page<\/a>, once logged in.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\n\nconst API_KEY_PREFIX = &#39;App&#39;;\nconst API_KEY = &#39;&lt;your-api-key&gt;&#39;;\nconst URL_BASE_PATH = &#39;&lt;your-base-URL&gt;&#39;;\n\n$configuration = (new InfobipConfiguration())\n    -&gt;setHost(URL_BASE_PATH)\n    -&gt;setApiKeyPrefix(&#39;Authorization&#39;, API_KEY_PREFIX)\n    -&gt;setApiKey(&#39;Authorization&#39;, API_KEY);\n\n$client = new GuzzleHttpClient();<\/code><\/pre><\/div>\n\n\n\n<p>Now that we&#8217;ve got the configuration done, the next step is sending a text message!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Send an SMS<\/h2>\n\n\n\n<p>To send a <a href=\"https:\/\/www.infobip.com\/docs\/api#channels\/sms\/send-sms-message\">single SMS<\/a>, we can configure the <code>SendSMSAPI<\/code> class to provide the required information, such as the destination and the content of the SMS message.<\/p>\n\n\n\n<p><strong>Key points:<\/strong><\/p>\n\n\n\n<p>\u2022 The destination address in the <code>to<\/code> field must be in the international format, e.g. <code>447415774332<\/code>.<br>\u2022 For testing purposes, use the Infobip test sender <code>InfoSMS<\/code>.<br>\u2022 If using a free trial account, the recipient&#8217;s phone number must be the same phone number you&#8217;ve registered on signup.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>use InfobipAPI{ SendSMSApi, SmsDestination, SmsTextualMessage, SmsAdvancedTextualRequest};\n\n$sendSmsApi = new SendSMSApi($client, $configuration);\n$destination = (new SmsDestination())-&gt;setTo(&#39;4412345678910&#39;);\n$message = (new SmsTextualMessage())\n    -&gt;setFrom(&#39;InfoSMS&#39;)\n    -&gt;setText(&#39;This is a dummy SMS message sent using infobip-api-php-client&#39;)\n    -&gt;setDestinations([$destination]);\n$request = (new SmsAdvancedTextualRequest())\n    -&gt;setMessages([$message]);<\/code><\/pre><\/div>\n\n\n\n<p>Once you run the code, you should get an SMS on your handset and see the following <code>200 OK<\/code> response. You can check if the message was a success by heading over to your Infobip account and accessing <a href=\"https:\/\/portal.infobip.com\/analyze\/logs\" target=\"_blank\" rel=\"noopener\">Analyze &gt; Logs<\/a>.<\/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;2034072219640523072&quot;,\n  &quot;messages&quot;: [\n    {\n      &quot;messageId&quot;: &quot;41793026727&quot;,\n      &quot;status&quot;: {\n        &quot;description&quot;: &quot;Message sent to next instance&quot;,\n        &quot;groupId&quot;: 1,\n        &quot;groupName&quot;: &quot;PENDING&quot;,\n        &quot;id&quot;: 26,\n        &quot;name&quot;: &quot;MESSAGE_ACCEPTED&quot;\n      },\n      &quot;to&quot;: &quot;2250be2d4219-3af1-78856-aabe-1362af1edfd2&quot;\n    }\n  ]\n}<\/code><\/pre><\/div>\n\n\n\n<p>For troubleshooting and analytics, Use the auto-generated <code>bulkId<\/code> to fetch the entire bulk of messages, or the <code>messageId<\/code> to fetch one specific message.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">BONUS: Keeping secrets safe<\/h2>\n\n\n\n<p>This example code had the API key written in the PHP source code, but that can lead to tokens being leaked to anyone who has access to Git. Consider using something like <a href=\"https:\/\/github.com\/vlucas\/phpdotenv\">dotenv<\/a> to keep your secret credentials out of Git.<\/p>\n\n\n\n<p>Make a new file called <code>.env<\/code> in the root of your project with the following content:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>API_KEY_PREFIX=&#39;App&#39;\nAPI_KEY=&#39;&lt;your-api-key&gt;&#39;\nURL_BASE_PATH=&#39;&lt;your-base-url&gt;&#39;<\/code><\/pre><\/div>\n\n\n\n<p>Replace the &lt; and &gt; fully with the values you&#8217;ve been using to send SMS in PHP.<\/p>\n\n\n\n<p>Some PHP frameworks like Laravel will use dotenv by default, but if you need to set this up in another environment, install dotenv with Composer.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>composer require vlucas\/phpdotenv<\/code><\/pre><\/div>\n\n\n\n<p>Then in your PHP code, load up <code>.env<\/code> in a bootstrap file somewhere and switch from using the constants we hardcoded to using the <code>$_ENV<\/code> super global variable.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>$dotenv = DotenvDotenv::createImmutable(__DIR__);\n$dotenv-&gt;load();\n\n$configuration = (new InfobipConfiguration())\n    -&gt;setHost($_ENV[&#39;URL_BASE_PATH&#39;])\n    -&gt;setApiKeyPrefix(&#39;Authorization&#39;, $_ENV[&#39;API_KEY_PREFIX&#39;])\n    -&gt;setApiKey(&#39;Authorization&#39;, $_ENV[&#39;API_KEY&#39;]);<\/code><\/pre><\/div>\n\n\n\n<p>If you now put <code>.env<\/code> into <code>.gitignore<\/code>, you can avoid those credentials being committed to git, and potentially getting into the wrong hands.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>echo &#39;.env&#39; &gt;&gt; .gitignore<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>As an outcome of this guide, you will send [&hellip;]<\/p>\n","protected":false},"author":10,"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":[12,255,15,264],"tags":[46,76],"coauthors":[133],"class_list":["post-117","post","type-post","status-publish","format-standard","hentry","category-guide","category-infobip-products","category-php","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 send SMS with PHP and Infobip - 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-send-sms-with-php-and-infobip\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to send SMS with PHP and Infobip - Infobip Developers Hub\" \/>\n<meta property=\"og:description\" content=\"As an outcome of this guide, you will send [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip\" \/>\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-17T10:54:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-11T14:35:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/img.shields.io\/badge\/php-%3E%3D7.2-blue\" \/>\n<meta name=\"author\" content=\"Infobip Devs\" \/>\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=\"Infobip Devs\" \/>\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-send-sms-with-php-and-infobip#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip\"},\"author\":{\"name\":\"Infobip Devs\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/e04a9012051f81b6a2f6976e156f6ce0\"},\"headline\":\"How to send SMS with PHP and Infobip\",\"datePublished\":\"2022-09-17T10:54:32+00:00\",\"dateModified\":\"2023-09-11T14:35:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip\"},\"wordCount\":479,\"publisher\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#primaryimage\"},\"thumbnailUrl\":\"https:\/\/img.shields.io\/badge\/php-%3E%3D7.2-blue\",\"keywords\":[\"developer docs\",\"SDK\"],\"articleSection\":[\"Guide\",\"Infobip Products\",\"PHP\",\"SMS\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip\",\"url\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip\",\"name\":\"How to send SMS with PHP and Infobip - Infobip Developers Hub\",\"isPartOf\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#primaryimage\"},\"thumbnailUrl\":\"https:\/\/img.shields.io\/badge\/php-%3E%3D7.2-blue\",\"datePublished\":\"2022-09-17T10:54:32+00:00\",\"dateModified\":\"2023-09-11T14:35:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#primaryimage\",\"url\":\"https:\/\/img.shields.io\/badge\/php-%3E%3D7.2-blue\",\"contentUrl\":\"https:\/\/img.shields.io\/badge\/php-%3E%3D7.2-blue\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.infobip.com\/developers\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to send SMS with PHP and Infobip\"}]},{\"@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\/e04a9012051f81b6a2f6976e156f6ce0\",\"name\":\"Infobip Devs\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/image\/f61078713800c4e479dce745cd206b82\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f29655934347a5aa15879f9af9ac1f05b87167e0f7ed4074a04132eaa9f631c4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f29655934347a5aa15879f9af9ac1f05b87167e0f7ed4074a04132eaa9f631c4?s=96&d=mm&r=g\",\"caption\":\"Infobip Devs\"},\"url\":\"https:\/\/www.infobip.com\/developers\/blog\/author\/infobip-devs\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to send SMS with PHP and Infobip - 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-send-sms-with-php-and-infobip","og_locale":"en_US","og_type":"article","og_title":"How to send SMS with PHP and Infobip - Infobip Developers Hub","og_description":"As an outcome of this guide, you will send [&hellip;]","og_url":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip","og_site_name":"Infobip Developers Hub","article_publisher":"https:\/\/www.facebook.com\/infobip\/","article_published_time":"2022-09-17T10:54:32+00:00","article_modified_time":"2023-09-11T14:35:18+00:00","og_image":[{"url":"https:\/\/img.shields.io\/badge\/php-%3E%3D7.2-blue","type":"","width":"","height":""}],"author":"Infobip Devs","twitter_card":"summary_large_image","twitter_creator":"@InfobipDev","twitter_site":"@InfobipDev","twitter_misc":{"Written by":"Infobip Devs","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#article","isPartOf":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip"},"author":{"name":"Infobip Devs","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/e04a9012051f81b6a2f6976e156f6ce0"},"headline":"How to send SMS with PHP and Infobip","datePublished":"2022-09-17T10:54:32+00:00","dateModified":"2023-09-11T14:35:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip"},"wordCount":479,"publisher":{"@id":"https:\/\/www.infobip.com\/developers\/#organization"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#primaryimage"},"thumbnailUrl":"https:\/\/img.shields.io\/badge\/php-%3E%3D7.2-blue","keywords":["developer docs","SDK"],"articleSection":["Guide","Infobip Products","PHP","SMS"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip","url":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip","name":"How to send SMS with PHP and Infobip - Infobip Developers Hub","isPartOf":{"@id":"https:\/\/www.infobip.com\/developers\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#primaryimage"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#primaryimage"},"thumbnailUrl":"https:\/\/img.shields.io\/badge\/php-%3E%3D7.2-blue","datePublished":"2022-09-17T10:54:32+00:00","dateModified":"2023-09-11T14:35:18+00:00","breadcrumb":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#primaryimage","url":"https:\/\/img.shields.io\/badge\/php-%3E%3D7.2-blue","contentUrl":"https:\/\/img.shields.io\/badge\/php-%3E%3D7.2-blue"},{"@type":"BreadcrumbList","@id":"https:\/\/www.infobip.com\/developers\/blog\/how-to-send-sms-with-php-and-infobip#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.infobip.com\/developers\/"},{"@type":"ListItem","position":2,"name":"How to send SMS with PHP and Infobip"}]},{"@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\/e04a9012051f81b6a2f6976e156f6ce0","name":"Infobip Devs","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/image\/f61078713800c4e479dce745cd206b82","url":"https:\/\/secure.gravatar.com\/avatar\/f29655934347a5aa15879f9af9ac1f05b87167e0f7ed4074a04132eaa9f631c4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f29655934347a5aa15879f9af9ac1f05b87167e0f7ed4074a04132eaa9f631c4?s=96&d=mm&r=g","caption":"Infobip Devs"},"url":"https:\/\/www.infobip.com\/developers\/blog\/author\/infobip-devs"}]}},"_links":{"self":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/117","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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/comments?post=117"}],"version-history":[{"count":9,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/117\/revisions"}],"predecessor-version":[{"id":2056,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/117\/revisions\/2056"}],"wp:attachment":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/media?parent=117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/categories?post=117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/tags?post=117"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/coauthors?post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}