{"id":28878,"date":"2019-01-16T21:15:07","date_gmt":"2019-01-16T13:15:07","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=28878"},"modified":"2019-01-16T15:14:40","modified_gmt":"2019-01-16T07:14:40","slug":"custom-slash-command-slack","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/","title":{"rendered":"How to Create Custom Slash Commands in Slack"},"content":{"rendered":"<p><strong><a href=\"https:\/\/slack.com\/\" target=\"_blank\">Slack<\/a><\/strong> is a <strong>team productivity tool<\/strong> that comes with many configurations and services <strong>meant for customization<\/strong>. One of the best of its customizable features are <strong><a href=\"https:\/\/api.slack.com\/slash-commands\" target=\"_blank\">Slash Commands<\/a><\/strong>. Slash Commands <strong>are essentially keywords<\/strong> that perform a certain action when you enter them as messages with a <strong>preceding forward slash symbol (\/)<\/strong> in Slack.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/slack-productivity-tools\/\">10 Useful Slack Tools For Better Productivity<\/a>\n\t\t\t\t<\/p>\n<h2>Built-in Slash commands<\/h2>\n<p>The current set of <a href=\"https:\/\/get.slack.help\/hc\/en-us\/articles\/201259356-Using-slash-commands\" target=\"_blank\">built-in Slash commands<\/a> <strong>performs an array of predefined functions<\/strong> in Slack. For instance, by entering the <code>\/away<\/code> Slash Command into the message input box, <strong>you can toggle the Status of your account<\/strong>, as you can see it on the gif below.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-sc-away.gif\" alt=\"Slack command, away\" width=\"1660\" height=\"452\"><\/figure>\n<h2>Custom Slash commands<\/h2>\n<p>You can also <strong>create custom Slash commands<\/strong> in Slack. Custom Slash commands allow developers to <strong>make secure HTTP requests<\/strong> to web applications or services, and <strong>receive relevant responses<\/strong> from them that are <strong>displayed as new Slack messages<\/strong>.<\/p>\n<p class=\"note\"> <strong>Recommended Reading:<\/strong>\n  <a href=\"https:\/\/www.hongkiat.com\/blog\/send-messages-to-slack\/\">How to Send Customized Messages to Slack from your Application<\/a><\/p>\n<p>As an example, say there is a web service that returns the current score of a football match in plain text. You can create a Slash command to <strong>make a secure HTTP request<\/strong> to that web service, and display the score <strong>received as the response text<\/strong> in the Slack message window.<\/p>\n<h2>Create a Slash command<\/h2>\n<p>To create a Slash command, enter the <strong style=\"white-space: nowrap\">https:\/\/[yourTeam].slack.com\/apps\/build\/custom-integration<\/strong> URL to your browser\u2019s address bar, just <strong>replace the [yourTeam] placeholder<\/strong> with the name of your Slack team, and click the <span class=\"key\">Slash Commands<\/span> option.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-create-new-command.jpg\" width=\"700\" height=\"365\" alt=\"Create new command\"><\/figure>\n<p>On the next screen, <strong>enter the keyword<\/strong> you want to use for your Slack Command (don\u2019t use any space), then click the <span class=\"key\">Add Slash Command Integration<\/span> button. You can <strong>later edit this keyword<\/strong> if you want.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-sc-new.jpg\" alt=\"New Slash command form\" width=\"700\" height=\"163\"><\/figure>\n<p>On the next screen, you can <strong>configure the settings<\/strong> for your Slash command. You need to enter the <strong>URL of the web application<\/strong> you want to send your request to. You can also see a <strong>token value<\/strong> for the Slash command you\u2019ve just created, which you can use in your web server to <strong>validate the request<\/strong> sent by Slack.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-integration-settings.jpg\" alt=\"Slash command integration settings\" width=\"700\" height=\"424\"><\/figure>\n<h2>Display the response<\/h2>\n<p><strong>By default<\/strong>, the responses for the requests made by Slash commands are <strong>shown as plain text<\/strong> in the message window. If you\u2019d rather show the messages <strong>in the Slack message format<\/strong> instead, the responses need to be in <strong>valid <abbr title=\"JavaScript Object Notation\">JSON<\/abbr> format<\/strong>.<\/p>\n<p>Also, by default, the response of a Slash Command is <strong>visible only to the user who entered that command<\/strong>, and not others in the channel. This can only be changed if the response is a valid JSON <strong>carrying the property called <code>\"response_type\"<\/code> with the value <code>\"in_channel\"<\/code><\/strong>, then all users in the channel can see the response. The <code>\"text\"<\/code> property <strong>holds the main text<\/strong> that will be shown in the message.<\/p>\n<pre>\r\n\/\/ Example JSON response\r\n{\r\n\t\"response_type\": \"in_channel\",\r\n\t\"text\": \"...\"\r\n}\r\n<\/pre>\n<p>As an example, I\u2019ll display <strong>an ASCII art chessboard<\/strong> in response to my custom <code>\/lets-play<\/code> Slash command I\u2019ve created in the previous section, so as to demonstrate that you can <strong>display more complicated characters<\/strong> in the response as well. You can read more on <strong>Slack\u2019s message formatting<\/strong> <a href=\"https:\/\/api.slack.com\/docs\/message-formatting\" target=\"_blank\">in the Slack API docs<\/a>.<\/p>\n<p>Below, you can see a screenshot of the <strong>JSON response<\/strong> my example Slash command will display, or you can find the same JSON file <a href=\"https:\/\/rpsthecoder.github.io\/h\/chess.json\" target=\"_blank\">on Github<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-sc-json.jpg\" alt=\"Sample JSON\" width=\"1000\" height=\"100\"><\/figure>\n<p>If you also <strong>want line breaks<\/strong> in your message, use the <strong><code>\\n<\/code> new line character<\/strong> in the value of the <code>\"text\"<\/code> property.<\/p>\n<h2>Run the command<\/h2>\n<p>Go to a channel or to the <abbr title=\"Direct Message\">DM<\/abbr> message window in Slack, and <strong>enter the new Slash command<\/strong> into the message input field. If you had ticked the <em>Show this command in the autocomplete list<\/em> checkbox in your Slash command settings, you\u2019ll <strong>see your command in the suggestion list<\/strong> while typing.<\/p>\n<p>If you hadn\u2019t and you want to update this settings now, you can return to your Slash command settings page, and edit your configurations by clicking on the little pencil icon right to the command.<\/p>\n<p>Below you can see a gif demo that demonstrates how my <strong>custom Slash command<\/strong> with the ASCII art chessboard works in Slack.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-sc-demo.gif\" alt=\"slash command demo\"><\/figure>","protected":false},"excerpt":{"rendered":"<p>Slack is a team productivity tool that comes with many configurations and services meant for customization. One of the best of its customizable features are Slash Commands. Slash Commands are essentially keywords that perform a certain action when you enter them as messages with a preceding forward slash symbol (\/) in Slack. Built-in Slash commands&hellip;<\/p>\n","protected":false},"author":145,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3397],"tags":[3538,4268],"topic":[4521],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Create Custom Slash Commands in Slack - Hongkiat<\/title>\n<meta name=\"description\" content=\"Slack is a team productivity tool that comes with many configurations and services meant for customization. One of the best of its customizable features\" \/>\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.hongkiat.com\/blog\/custom-slash-command-slack\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create Custom Slash Commands in Slack\" \/>\n<meta property=\"og:description\" content=\"Slack is a team productivity tool that comes with many configurations and services meant for customization. One of the best of its customizable features\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-16T13:15:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-sc-away.gif\" \/>\n<meta name=\"author\" content=\"Preethi Ranjit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Preethi Ranjit\" \/>\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.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/\"},\"author\":{\"name\":\"Preethi Ranjit\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e981676afae36d1ff5feb75094950ab3\"},\"headline\":\"How to Create Custom Slash Commands in Slack\",\"datePublished\":\"2019-01-16T13:15:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/\"},\"wordCount\":668,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/custom-slash-command-slack\\\/slack-sc-away.gif\",\"keywords\":[\"slack\",\"slack tips\"],\"articleSection\":[\"Desktop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/\",\"name\":\"How to Create Custom Slash Commands in Slack - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/custom-slash-command-slack\\\/slack-sc-away.gif\",\"datePublished\":\"2019-01-16T13:15:07+00:00\",\"description\":\"Slack is a team productivity tool that comes with many configurations and services meant for customization. One of the best of its customizable features\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/custom-slash-command-slack\\\/slack-sc-away.gif\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/custom-slash-command-slack\\\/slack-sc-away.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/custom-slash-command-slack\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create Custom Slash Commands in Slack\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e981676afae36d1ff5feb75094950ab3\",\"name\":\"Preethi Ranjit\",\"description\":\"A .NET developer with a JavaScript background, Preethi is expert in front-end coding, JavaScript, HTML, and CSS.\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/preethi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Create Custom Slash Commands in Slack - Hongkiat","description":"Slack is a team productivity tool that comes with many configurations and services meant for customization. One of the best of its customizable features","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.hongkiat.com\/blog\/custom-slash-command-slack\/","og_locale":"en_US","og_type":"article","og_title":"How to Create Custom Slash Commands in Slack","og_description":"Slack is a team productivity tool that comes with many configurations and services meant for customization. One of the best of its customizable features","og_url":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2019-01-16T13:15:07+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-sc-away.gif","type":"","width":"","height":""}],"author":"Preethi Ranjit","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Preethi Ranjit","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/"},"author":{"name":"Preethi Ranjit","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e981676afae36d1ff5feb75094950ab3"},"headline":"How to Create Custom Slash Commands in Slack","datePublished":"2019-01-16T13:15:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/"},"wordCount":668,"commentCount":4,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-sc-away.gif","keywords":["slack","slack tips"],"articleSection":["Desktop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/","url":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/","name":"How to Create Custom Slash Commands in Slack - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-sc-away.gif","datePublished":"2019-01-16T13:15:07+00:00","description":"Slack is a team productivity tool that comes with many configurations and services meant for customization. One of the best of its customizable features","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-sc-away.gif","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/custom-slash-command-slack\/slack-sc-away.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/custom-slash-command-slack\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Create Custom Slash Commands in Slack"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e981676afae36d1ff5feb75094950ab3","name":"Preethi Ranjit","description":"A .NET developer with a JavaScript background, Preethi is expert in front-end coding, JavaScript, HTML, and CSS.","url":"https:\/\/www.hongkiat.com\/blog\/author\/preethi\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-7vM","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/28878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/145"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=28878"}],"version-history":[{"count":2,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/28878\/revisions"}],"predecessor-version":[{"id":28880,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/28878\/revisions\/28880"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=28878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=28878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=28878"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=28878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}