{"id":1700,"date":"2019-03-01T10:00:16","date_gmt":"2019-02-28T23:00:16","guid":{"rendered":"https:\/\/developers.messagemedia.com\/?p=1700"},"modified":"2019-03-01T10:00:16","modified_gmt":"2019-02-28T23:00:16","slug":"accessing-rest-products-and-features-alongside-legacy-apis","status":"publish","type":"blog","link":"https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/","title":{"rendered":"Accessing REST products and features alongside legacy APIs"},"content":{"rendered":"<p>We\u00a0<a href=\"https:\/\/developers.messagemedia.com\/the-benefits-of-moving-from-soap-to-rest-apis\/\">previously<\/a>\u00a0wrote about the main difference between SOAP and REST APIs and when businesses should choose one over the other. If you are currently integrating with SOAP or other legacy APIs there may be reasons why you want to stick with that integration for your business messaging. However, that doesn&#8217;t mean you can&#8217;t experience the benefits of our latest features. We offer different products and features as separate REST APIs; meaning they can be used in a modular way, and you may find some additional benefits to your toolset. That means you can still use your existing integration for sending messages and then our new REST APIs to enhance your operational efficiency. Additionally, there are many features available that may have been launched subsequent to your core messaging integration. These features may enhance your existing integration and allow you to optimise your usage.<\/p>\n<h2>When to use our new product &amp; features and what\u2019s available<\/h2>\n<p><strong><em>Lookups API<\/em><\/strong><\/p>\n<p>A prime example of when using adjacent REST API features can decrease your messaging load, is using the <a href=\"https:\/\/developers.messagemedia.com\/code\/lookups-api-documentation\/\">Lookups API<\/a>. Regardless of how you eventually send your messages, you want to be periodically ensuring that your data set is clean and useful. Lookups API can help you Validate the phone numbers you\u2019re sending to by checking their validity, type and carrier records. By ensuring your data set is clean, you can reduce costs across your organisation. This will, reduce the number of failed or undeliverable messages sent and enrich your database, helping you to reach customers more efficiently.<\/p>\n<p><em><strong>Webhooks<\/strong><\/em><\/p>\n<p>The main reason and a huge benefit to using some of the REST features is <a href=\"https:\/\/developers.messagemedia.com\/code\/enterprise-webhooks-api-documentation\/\">webhooks<\/a>. If you&#8217;ve been using a legacy API to both send your messages and receive your replies and delivery reports, this means you have to poll the API periodically. This is unnecessarily taxing on your servers. You could be letting us do the work for you and send you the data that you want, rather than requesting info every so often and working out what\u2019s relevant.<\/p>\n<h2>Additional features available to legacy API consumers<\/h2>\n<p>In addition to the above REST APIs, there are many features we have released over the last year that can be turned on for all customers. These include:<\/p>\n<ul>\n<li><a href=\"https:\/\/messagemedia.com\/au\/features\/\">Character Converter:<\/a>\u00a0Automatically remove special characters that can result in excessive charges and garbled messages.<\/li>\n<li><a href=\"https:\/\/messagemedia.com\/au\/features\/dedicated-virtual-numbers\/\">Dedicated Numbers<\/a>:\u00a0A dedicated number (or virtual number) allows you to send and receive messages from the same number, every time.<\/li>\n<li><a href=\"https:\/\/messagemedia.com\/au\/features\/alpha-tag\/\">Alpha Tags<\/a>:\u00a0An alpha tag gives your messages a unique sender name, including digits, text and some special characters.<\/li>\n<li><a href=\"https:\/\/messagemedia.com\/au\/features\/\">Deduplication<\/a>:\u00a0\u00a0Ensure your business does not send duplicate messages to the same customer.<\/li>\n<li><a href=\"https:\/\/messagemedia.com\/au\/features\/\">Familiar Sender<\/a>:\u00a0Deliver SMS to recipients from the same number, without needing a dedicated number.<\/li>\n<li><a href=\"https:\/\/support.messagemedia.com\/hc\/en-us\/articles\/4413634035855-Socially-Aware-Sending\/\">Social Sending:<\/a>\u00a0Avoid accidentally disturbing customers out of hours and limit messaging to between 8:00 am and 6:00 pm.<\/li>\n<\/ul>\n<p>These are features that can be enabled in your account by your account manager. Such features can be simple ways to maximise the value you&#8217;re getting out of your API usage, and are a phone call or email away. Most of these will require no\/minimal code changes to use. Easily enable any of these features by reaching our support team at <a href=\"mailto:support@messagemedia.com\">support@messagemedia.com<\/a><\/p>\n<h2>Tips for using different web services in the same application<\/h2>\n<p>This really depends on your use case, but overall the best way to architect your solution is to prevent \u201cinteraction\u201d between the SOAP API and the REST API. This makes sense in the context of MessageMedia services because of the things you will use them for. For example, on one server you can be running server-side code that cleans your data set using the Lookups API, and then on a separate server, you can be using the SOAP Messaging API to send messages using that dataset. The only thing in common is the database, and each server sets up its own connection. The added benefit is that you can be running both applications simultaneously and not have one slowed down by the weight of the SOAP integration.<\/p>\n<p>Avoid having to wait for a response from one API before triggering an action on another API. This would create a situation where you would need to make \u2018translation\u2019 code to extract things from XML or JSON make it a suitable payload for the other API. This seems obvious for things like reporting and sending messages, which can be done entirely separately. However, this is less obvious for things like Lookups. Clean your data intermittently or as numbers get added rather than looking up before you send.<\/p>\n<p>In conclusion, there&#8217;s no reason you can&#8217;t use your existing legacy integrations in combination with newer RESTful web services to enhance the functionality of the same application. The main thing is to make sure you&#8217;re using the right service for you. Using web services together, when done smartly, can enhance overall operational efficiency and decrease unnecessary costs.<\/p>\n","protected":false},"author":0,"featured_media":8919,"menu_order":194,"template":"page-blog-v2.php","meta":{"_acf_changed":false,"popular":false,"coming_soon":false,"link":"","footnotes":""},"blog_category":[37],"class_list":["post-1700","blog","type-blog","status-publish","has-post-thumbnail","hentry","blog_category-developers"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Accessing REST products and features alongside legacy APIs - Sinch MessageMedia Australia<\/title>\n<meta name=\"description\" content=\"Explore our comprehensive suite of RESTful APIs designed to seamlessly integrate with your existing systems, alongside our legacy APIs. Australia\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Accessing REST products and features alongside legacy APIs - Sinch MessageMedia\" \/>\n<meta property=\"og:description\" content=\"Explore our comprehensive suite of RESTful APIs designed to seamlessly integrate with your existing systems, alongside our legacy APIs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/\" \/>\n<meta property=\"og:site_name\" content=\"Sinch MessageMedia\" \/>\n<meta property=\"og:image\" content=\"https:\/\/messagemedia.com\/wp-content\/uploads\/2019\/03\/denys-nevozhai-100695-unsplash-scaled-e1591848761329.png\" \/>\n\t<meta property=\"og:image:width\" content=\"919\" \/>\n\t<meta property=\"og:image:height\" content=\"291\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/blog\\\/accessing-rest-products-and-features-alongside-legacy-apis\\\/\",\"url\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/blog\\\/accessing-rest-products-and-features-alongside-legacy-apis\\\/\",\"name\":\"Accessing REST products and features alongside legacy APIs - Sinch MessageMedia\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/blog\\\/accessing-rest-products-and-features-alongside-legacy-apis\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/blog\\\/accessing-rest-products-and-features-alongside-legacy-apis\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/messagemedia.com\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/denys-nevozhai-100695-unsplash-scaled-e1591848761329.png\",\"datePublished\":\"2019-02-28T23:00:16+00:00\",\"description\":\"Explore our comprehensive suite of RESTful APIs designed to seamlessly integrate with your existing systems, alongside our legacy APIs.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/blog\\\/accessing-rest-products-and-features-alongside-legacy-apis\\\/#breadcrumb\"},\"inLanguage\":\"en-AU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/messagemedia.com\\\/au\\\/blog\\\/accessing-rest-products-and-features-alongside-legacy-apis\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-AU\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/blog\\\/accessing-rest-products-and-features-alongside-legacy-apis\\\/#primaryimage\",\"url\":\"https:\\\/\\\/messagemedia.com\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/denys-nevozhai-100695-unsplash-scaled-e1591848761329.png\",\"contentUrl\":\"https:\\\/\\\/messagemedia.com\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/denys-nevozhai-100695-unsplash-scaled-e1591848761329.png\",\"width\":919,\"height\":291,\"caption\":\"denys nevozhai 100695 unsplash scaled e1591848761329\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/blog\\\/accessing-rest-products-and-features-alongside-legacy-apis\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/messagemedia.com\\\/us\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Accessing REST products and features alongside legacy APIs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#website\",\"url\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/\",\"name\":\"Sinch MessageMedia\",\"description\":\"Business SMS &amp; Messaging Platform\",\"publisher\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-AU\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#organization\",\"name\":\"Sinch MessageMedia\",\"url\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-AU\",\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/messagemedia.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/logo-mm-sinch.svg\",\"contentUrl\":\"https:\\\/\\\/messagemedia.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/logo-mm-sinch.svg\",\"width\":1,\"height\":1,\"caption\":\"Sinch MessageMedia\"},\"image\":{\"@id\":\"https:\\\/\\\/messagemedia.com\\\/au\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Accessing REST products and features alongside legacy APIs - Sinch MessageMedia Australia","description":"Explore our comprehensive suite of RESTful APIs designed to seamlessly integrate with your existing systems, alongside our legacy APIs. Australia","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:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/","og_locale":"en_US","og_type":"article","og_title":"Accessing REST products and features alongside legacy APIs - Sinch MessageMedia","og_description":"Explore our comprehensive suite of RESTful APIs designed to seamlessly integrate with your existing systems, alongside our legacy APIs.","og_url":"https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/","og_site_name":"Sinch MessageMedia","og_image":[{"width":919,"height":291,"url":"https:\/\/messagemedia.com\/wp-content\/uploads\/2019\/03\/denys-nevozhai-100695-unsplash-scaled-e1591848761329.png","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/","url":"https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/","name":"Accessing REST products and features alongside legacy APIs - Sinch MessageMedia","isPartOf":{"@id":"https:\/\/messagemedia.com\/au\/#website"},"primaryImageOfPage":{"@id":"https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/#primaryimage"},"image":{"@id":"https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/#primaryimage"},"thumbnailUrl":"https:\/\/messagemedia.com\/wp-content\/uploads\/2019\/03\/denys-nevozhai-100695-unsplash-scaled-e1591848761329.png","datePublished":"2019-02-28T23:00:16+00:00","description":"Explore our comprehensive suite of RESTful APIs designed to seamlessly integrate with your existing systems, alongside our legacy APIs.","breadcrumb":{"@id":"https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/#breadcrumb"},"inLanguage":"en-AU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/"]}]},{"@type":"ImageObject","inLanguage":"en-AU","@id":"https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/#primaryimage","url":"https:\/\/messagemedia.com\/wp-content\/uploads\/2019\/03\/denys-nevozhai-100695-unsplash-scaled-e1591848761329.png","contentUrl":"https:\/\/messagemedia.com\/wp-content\/uploads\/2019\/03\/denys-nevozhai-100695-unsplash-scaled-e1591848761329.png","width":919,"height":291,"caption":"denys nevozhai 100695 unsplash scaled e1591848761329"},{"@type":"BreadcrumbList","@id":"https:\/\/messagemedia.com\/au\/blog\/accessing-rest-products-and-features-alongside-legacy-apis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/messagemedia.com\/au\/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https:\/\/messagemedia.com\/us\/blog\/"},{"@type":"ListItem","position":3,"name":"Accessing REST products and features alongside legacy APIs"}]},{"@type":"WebSite","@id":"https:\/\/messagemedia.com\/au\/#website","url":"https:\/\/messagemedia.com\/au\/","name":"Sinch MessageMedia","description":"Business SMS &amp; Messaging Platform","publisher":{"@id":"https:\/\/messagemedia.com\/au\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/messagemedia.com\/au\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-AU"},{"@type":"Organization","@id":"https:\/\/messagemedia.com\/au\/#organization","name":"Sinch MessageMedia","url":"https:\/\/messagemedia.com\/au\/","logo":{"@type":"ImageObject","inLanguage":"en-AU","@id":"https:\/\/messagemedia.com\/au\/#\/schema\/logo\/image\/","url":"https:\/\/messagemedia.com\/wp-content\/uploads\/2024\/03\/logo-mm-sinch.svg","contentUrl":"https:\/\/messagemedia.com\/wp-content\/uploads\/2024\/03\/logo-mm-sinch.svg","width":1,"height":1,"caption":"Sinch MessageMedia"},"image":{"@id":"https:\/\/messagemedia.com\/au\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/messagemedia.com\/au\/wp-json\/wp\/v2\/blog\/1700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/messagemedia.com\/au\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/messagemedia.com\/au\/wp-json\/wp\/v2\/types\/blog"}],"version-history":[{"count":0,"href":"https:\/\/messagemedia.com\/au\/wp-json\/wp\/v2\/blog\/1700\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/messagemedia.com\/au\/wp-json\/wp\/v2\/media\/8919"}],"wp:attachment":[{"href":"https:\/\/messagemedia.com\/au\/wp-json\/wp\/v2\/media?parent=1700"}],"wp:term":[{"taxonomy":"blog_category","embeddable":true,"href":"https:\/\/messagemedia.com\/au\/wp-json\/wp\/v2\/blog_category?post=1700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}